Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Compiler project for the Jack language as specified in The Elements of Computing Systems book.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
jackcompiler: a toy compiler for the Jack programming language ============================================= As part of the projects in the book The Elements of Computing Systems, a compiler is implemented for the Jack programming language. The Jack compiler and code generator is used as part of the projects while building the computer. The tokenizer and parser generate xml files as an intermediate representation and for testing purposes. Sample Jack programs are also included in the repo. I tried to follow the book as much as possible to help other readers, but when it made more sense I did my own thing. Feedback is always welcome. Installation ------------ The only requirement is a python installation. Any python 2.X > 2.5 should do. Wishlist ---------- - better error reporting while tokenizing and parsing - regular expression don't exactly follow the defined grammar, they're too general