Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 569 Bytes

File metadata and controls

13 lines (10 loc) · 569 Bytes

Rust Implementation of a Lox Language Tree Walk Interpreter

Lox Rust Current Features

  • Variable assignment and expression
  • If statements
  • Looping (for/while statements)
  • Functions
  • Classes with SuperClass support

The implementation of this Lox Rust Interpreter is based of the book Crafting Interpreters. This projects contains a scanner that produces tokens from an input file, a parser which constructs an AST (Abstract Syntax Tree) and a tree walk interpreter. Unit tests are also included.