jeschkies / lox-rs

A Lox Interpreter in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lox-rs Build Status

A Lox Interpreter in Rust based on the Crafting Interpreters book.

Run the interpreter with cargo run -p interpreter -- examples/class.lox. The bytecode VM is run with cargo run -p bytcode -- examples/class.lox.

Each commit corresponds to one chapter in the book:

Part II: A Tree-Walk Interpreter

Part III: A Bytecode Virtual Machine

About

A Lox Interpreter in Rust

License:Apache License 2.0


Languages

Language:Rust 100.0%