A Rust implementation of the Lox programming language. Based on clox
, the bytecode virtual machine.
Blog post describing the interesting bits of this: https://www.diegofreijo.com/blog/rlox-vm_rust-interpreter_part1/
Clone the repo and run the repl
with
cargo run
You can also run a lox
file with
cargo run ./examples/fact.lox
Check the /examples
folder for more sample files.