Skip to content

About

training repository for Jack compiler implemented in Ruby

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

55 Commits

Folders and files

Repository files navigation

Build Status

Hack Jack Compiler

Jack compiler implemented in Ruby

How to use:

  1. clone this repository
  2. make sure that Ruby (~> 2.5) is installed
  3. install bundler gem (and bundle)
  $ gem install bundler
  $ bundle install
  1. 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

Jack language and Hack VM

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:

https://www.nand2tetris.org/

  • see the publisher's link for datails:

http://mitpress.mit.edu/books/elements-computing-systems https://www.oreilly.co.jp/books/9784873117126/

About

training repository for Jack compiler implemented in Ruby

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages