An implementation of the Lox programming language base on Robert Nystrom's book Crafting Interpreters in Rust.
- Arithmetic
- Variable declarations
- Local scopes
- Control flow
- If statements
- Loops
- For
- While
- Functions
- Normal functions
- Closures
- Classes
- Data holding structure
- Methods (instance and static)
- The number 0 is considered falsy in this implementation rather than truthy as in the book's implementation.
- Only allows a block, a print statement, or an expression statement as the loop body rather than any statement.