| Crates.io | jack_compiler |
| lib.rs | jack_compiler |
| version | 1.0.0 |
| created_at | 2025-10-07 05:11:03.157319+00 |
| updated_at | 2025-10-07 05:11:03.157319+00 |
| description | A Rust implementation of the Jack compiler for the nand2tetris course |
| homepage | |
| repository | https://gitee.com/eshangrao/nand2tetris_rust |
| max_upload_size | |
| id | 1871216 |
| size | 116,202 |
A Rust implementation of the jack compiler for the nand2tetris course
Usage: jack_compiler [OPTIONS] <JACK_FILE>
Arguments:
<JACK_FILE> the path of jack file
Options:
-t, --target <TARGET> compile target [default: vm] [possible values: vm, token, grammar]
-h, --help Print help (see more with '--help')
-V, --version Print version
1.general the Jack syntax token
Usage: jack_compiler -t token <JACK_FILE>
2.general the Jack syntax grammar
Usage: jack_compiler -t grammar <JACK_FILE>
compile the Jack file
Usage: jack_compiler <JACK_FILE>