Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 447 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 447 Bytes

rlox-vm

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/

Getting started

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.