Java implementation of Lox from the book Crafting Interpreters.
mvn package
./jlox.sh
- Scanner is called Lexer
- Generate AST is written in Groovy and executed during the
generate-sources
stage print
is a builtin function, not a statement- Resolver is called ResolverPass to indicate it's a pass
- Added
Qualifier
enum for function/method qualifiers likestatic
- Inheritance uses
:
instead of<