Use ./run.sh
to build, which creates a compiler
executable.
Run it like so: ./compiler -p <path> -i <initial> -f <final> -t
.
<initial>
can bejack
orvm
.<final>
can beasm
orvm
.-t
is an optional flag, which tells the compiler whether or not to save the programs parse tree and tokens in.xml
files
Assembler is in python.
Run by python3 assembler.py
in the Assembler/
directory.