https://github.com/pygeek03/jack2vm
Jack to VM compiler for Nand2Tetris course
https://github.com/pygeek03/jack2vm
Last synced: 9 months ago
JSON representation
Jack to VM compiler for Nand2Tetris course
- Host: GitHub
- URL: https://github.com/pygeek03/jack2vm
- Owner: PyGeek03
- License: gpl-3.0
- Created: 2020-01-19T12:29:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-15T09:16:37.000Z (over 6 years ago)
- Last Synced: 2025-04-07T12:46:53.297Z (over 1 year ago)
- Language: Haskell
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jack2VM
Jack to VM compiler for Nand2Tetris course
## Quick start:
After cloning this repo, compile the project using:
`ghc -O JackCompiler.hs`
To compile a single `[filename].jack` (in Nand2Tetris' Jack code) to `[filename].vm` (in Nand2Tetris' VM code:
`JackCompiler [filename].jack`
To compile all `.jack` files in `[directory]` to `.vm` files:
`JackCompiler [directory]`