Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 459 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 459 Bytes

LoxJava

Java implementation of the Lox programming language from the book Crafting Interpreters

Requirements

Tested with Java 19 & Maven 3.9

Usage

To compile, run the following from this directory:

mvn package

To run the REPL:

java -cp target/src-1.0-SNAPSHOT.jar com.lox.Lox

To run a .lox file:

java -cp target/src-1.0-SNAPSHOT.jar com.lox.Lox <path-to-lox-file>