mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-05-01 18:00:27 +00:00
14 lines
470 B
Markdown
14 lines
470 B
Markdown
# Jack VM Translator
|
|
|
|
This is a VM Translator made as the an assignment for the [Nand To Tetris Course: Part 2](https://nand2tetris.org/project07). It assumes that the vm file 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.
|