Jack compiler implemented in Ruby
- clone this repository
- make sure that Ruby (~> 2.5) is installed
- install bundler gem (and bundle)
$ gem install bundler
$ bundle install
- compile
- with *.jack files
$ ./bin/run path/to/source_code.jack
- or with a directory (,which must contain Main.jack)
$ ./bin/run path/to/dir_name
Origial ideas of Jack laungage, and HACK architecture are introduced in:
and its Japanese translation
Specifications of Jack language are provided in the above book at chapter 9-11.
- basic ideas/tools are introduced at:
- see the publisher's link for datails:
http://mitpress.mit.edu/books/elements-computing-systems https://www.oreilly.co.jp/books/9784873117126/