de.projectory.addingmachine
Class Main

java.lang.Object
  extended by de.projectory.addingmachine.Main

public class Main
extends java.lang.Object

Example for a machine that customizes KoiViMa. This class starts the machine and interpretes program files using the adding machines instruction set.


Constructor Summary
Main()
           
 
Method Summary
 void evaluateFile(java.lang.String filename)
          Compiles and interprets a piece of assembly code.
static void main(java.lang.String[] args)
          Starts a program that is able to read programs from file and execute them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

evaluateFile

public void evaluateFile(java.lang.String filename)
Compiles and interprets a piece of assembly code.


main

public static void main(java.lang.String[] args)
Starts a program that is able to read programs from file and execute them.

Parameters:
args - First argument should be the name of the file containing the program to be executed.