Skip to content

A Rust implementation of the Lox programming language. Based on clox, the bytecode virtual machine.

License

Notifications You must be signed in to change notification settings

diegofreijo/rlox-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rust implementation of the Lox programming language. Based on clox, the bytecode virtual machine.

Topics

Resources

License

Stars

Watchers

Forks

Languages