Skip to content

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

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages