An implementation of the Lox programing language, from the book Crafting Interpreters by Bob Nystrom.
- This version of jlox is a tree-walk interpreter, written test first.
- Currently, only a scanner has been implemented, and the compiler simply displays the scanned tokens as strings.
- For this implementation of jlox, we are using Maven for project management tasks.
- With no argument, the program will act as a Lox REPL.
- With one argument, a path to a file, the program will interpret the file.
- A script, that can be extended, to build the abstract syntax tree.
- Usage:
generate_ast <output_directory>
- Generates:
lox/Expression.java