/rlox

An interpreter for the Lox programming language, written in Rust

Primary LanguageRust

RLox

RLox is an interpreter for the Lox programming language. The language was designed by Robert Nystrom for his book, Crafting Interpreters.

Running the interpreter

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]

unit tests

cargo test --verbose