Skip to content

eightbitraptor/rlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rlox

Rlox is the tree walking interpreter for the programming language Lox, fromt Part 1 of Robert Nystrom's Crafting Interpreters book book, written in Rust.

Building

Nothing particularly odd. the standard cargo build should sort you out. You'll need the nightly toolchain.

testing

unit tests are run using cargo test as usual. to run rlox against Bob's canonical Lox test suite follow the instructions here.

The summary is: Go here and install Dart, and then

git clone git://github.com/munificent/craftinginterpreters && cd craftinginterpreters
make get
dart tool/bin/test.dart chap04_scanning --interpreter ../rlox/target/debug/rlox

About

A tree walking interpreter of Lox, the language from Robert Nystrom's Crafting Interpreters book, implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages