/golox

A full go implementation of craftinginterpreters' interpreter

Primary LanguageGo

Golox

A full go implementation of craftinginterpreters's tree-walk interpreter (chapter4 - 13).

How to use it

sh test.sh can run all test cases. Put your lox codes(language spec) into simple.lox and run it with sh build.sh && ./main simple.lox.