An AM0 Interpreter for Java
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main
.gitignore
AMInterpreter.iml
LICENSE
Neues Textdokument.txt
README.md
pom.xml

README.md

AM0 Interpreter for Java

An (also Just-In-Time) interpreter for AM0, written in Java 8. You can insert your commands in interactive console mode or write an file with your AM0 commands and execute them. Its also possible to use only the core functionality to integrate this interpreter in your own application.

Version: 0.0.10 (Pre-Alpha)

Download: https://github.com/JuKu/java-am0-interpreter/releases

Execution

Java 8 is required. You can download only the .jar file or unzip the zip archive. Execute them in console with "java -jar FILENAME.jar".

Supported AM0 commands:

  • LIT
  • ADD
  • SUB
  • MULT / MUL
  • DIV
  • MOD
  • EQ (equals)
  • NE (not equals)
  • LT (less than)
  • GT (greater than)
  • LE (less or equal)
  • GT (greater or equal)

experimental:

  • LOAD
  • STORE
  • JMP (jump to command number BZ)
  • JMC (jump on condition, if 0 is on top of stack)
  • WRITE
  • READ

Supported AM1 coommands:

  • PUSH
  • INIT

experimental:

  • LOADI
  • STOREI