Skip to content

Rust implementation of the Lox interpreter described in Robert Nystrom's "Crafting Interpreters"

Notifications You must be signed in to change notification settings

rafasumi/rustlox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustlox

This is my implementation of the Lox tree-walk interpreter described in Robert Nystrom's Crafting Interpreters.

Lox is a dynamically typed scripting language and it was made by Nystrom for his book.

The first interpreter described in the book is implemented in Java. However, I decided to implement it in Rust to practice and learn more about this language. A lot of my project and "translation" decisions were heavily inspired by @jeschkies's implementation.

Tests

Almost all of the test samples were taken from the book's GitHub repository.

About

Rust implementation of the Lox interpreter described in Robert Nystrom's "Crafting Interpreters"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages