|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.projectory.addingmachine.Main
public class Main
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 |
|---|
public Main()
| Method Detail |
|---|
public void evaluateFile(java.lang.String filename)
public static void main(java.lang.String[] args)
args - First argument should be the name of the file containing the program to be executed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||