Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazemkrimi/jack-vm-translator
VM Translator from The Jack language VM code to The Hack language assembly code as part of the Nand to Tetris course
https://github.com/hazemkrimi/jack-vm-translator
cpp nand2tetris vm-translator
Last synced: about 5 hours ago
JSON representation
VM Translator from The Jack language VM code to The Hack language assembly code as part of the Nand to Tetris course
- Host: GitHub
- URL: https://github.com/hazemkrimi/jack-vm-translator
- Owner: hazemKrimi
- Created: 2024-03-20T19:23:06.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T22:20:10.000Z (7 months ago)
- Last Synced: 2024-11-05T18:12:53.688Z (about 2 months ago)
- Topics: cpp, nand2tetris, vm-translator
- Language: C++
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
The file will be written next to the source file.