Skip to content

trevarj/roxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Lox interpreter/bytecode compiler written in Rust.

Quick attempt at a Lox interpreter - Crafting Interpreters

The coolest thing about this is the Pratt parsing. Otherwise, it's a good example of how not to implement an interpreter in Rust.

I don't know why, but I ignored the Visitor pattern and slopped together something by following the book, up until chapter 12 (classes). I would have done this in Java, but I felt like I would just end up copy/pasting code and I didn't want that.

Working on bytecode compiler.

About

A Lox interpreter written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages