mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-10-30 00:14:21 +00:00
46b9abfc8631c0f6465289475d20a42e17364632
Jack Compiler
This is a compiler made as the an assignment for the Nand To Tetris Course: Part 2. It assumes that the jack file does not have errors for now.
To compile the program run the following command:
g++ main.cpp -Isrc -std=c++17
To run the executable against jack vm files run the following command with the path of the file:
./a.out <path>
The file will be written next to the source file.
Description
VM Translator from The Jack language to The Hack platform (Nand2Tetris Part 2).
Readme
81 KiB
Languages
C++
97.2%
Makefile
2.8%