Skip to content
/ jlox Public

Java Lox interpreter as outlined in the first part of "Crafting Interpreters" by Robert Nystrom

Notifications You must be signed in to change notification settings

lpahlavi/jlox

Repository files navigation

jlox

Java Lox interpreter as outlined in the first part of Crafting Interpreters by Robert Nystrom.

Author: Louis Pahlavi
Date: 30.05.2023

Building the interpreter

./gradlew build

Generating the Abstract Syntax Tree (AST)

The AST is generated automatically by running ./gradlew build, it may also explicitly be generated by running:

./gradlew :generateAst

Running the interpreter

Run interactive prompt:

./build/install/jlox/bin/jlox

Run Lox file:

./build/install/jlox/bin/jlox <lox file>

About

Java Lox interpreter as outlined in the first part of "Crafting Interpreters" by Robert Nystrom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published