Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 502 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 502 Bytes

JackTranslators

Running the compiler

Use ./run.sh to build, which creates a compiler executable.
Run it like so: ./compiler -p <path> -i <initial> -f <final> -t.

  • <initial> can be jack or vm.
  • <final> can be asm or vm.
  • -t is an optional flag, which tells the compiler whether or not to save the programs parse tree and tokens in .xml files

Running the assembler

Assembler is in python.

Run by python3 assembler.py in the Assembler/ directory.