Source code for the Hack Virtual Machine implementation.
To use the VM-Translator, you need to provide a valid .vm
file (according to the Hack Virtual Machine specification) and use the following command:
python src/Main.py --source path/to/source
Make sure you are using Python 3 to run the virtual machine.