Skip to content

Rust implementation of the Java tree-walk interpreter for Lox object-oriented programming language

License

Notifications You must be signed in to change notification settings

danieldidiobalsamo/lox_interpreter_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project is a Rust implementation of the Java tree-walk interpreter for Lox object-oriented programming language, featured in the book "Crafting Interpreters".

Unsafe code is forbidden in the whole crate.

How to launch

Make sure Rust is installed.

Then you can launch the following Lox code, which computes the 70th Fibonacci number :

cargo run --release test_lox_scripts/optimized_fibonacci.lox

How to launch unit tests

cargo test

About

Rust implementation of the Java tree-walk interpreter for Lox object-oriented programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages