RLox is an interpreter for the Lox programming language. The language was designed by Robert Nystrom for his book, Crafting Interpreters. After working my way through the book, I decided to implement a third version of the interpreter, written in Rust. More information about the design of RLox can be found here.
To run the interpreter, simply clone the repository and use cargo to build and run the project.
To run a REPL:
cargo run
To Run a file:
cargo run [filename]
To run with bytecode output
cargo run --features disassemble
Finally, to run unit tests and end to end tests, try
cargo test