mirror of
https://github.com/hazemKrimi/jack-compiler.git
synced 2026-10-29 23:54:21 +00:00
d8d49997282ba011e6b5c62579b44ff00a24f660
Jack Compiler
Compiler from The Jack language to The Hack platform (Nand2Tetris Part 2)
Requirements
You need Go to develop, build, and run this project.
Installation
- Clone this repo:
git clone https://github.com/hazemKrimi/jack-compiler
- To run this against Jack files, run the following command with the path of the
.jackfile (or directory):
./out/jack-compiler <path_to_jack_file_or_directory>
The result .vm file will be written in the same location as the source file.
Build
- To build this project run the following command:
go build -o out
You will find the executable in the out directory.
Description
Compiler from The Jack language to The Hack platform (Nand2Tetris Part 2).
66 KiB
Languages
Go
100%