Rlox is an almost one-to-one copy of the Jlox interpreter from Crafting Interpreters, but written in Rust.
Because Rlox is a tree-walking interpreter, it takes a shortcut, following the path of scanning -> parsing -> interpreting, skipping over analysis and code generation.
| Process | Input | Output |
|---|---|---|
| Scanning | Source code | Tokens |
| Parsing | Tokens | Syntax Tree |
| Interpreting | Syntax Tree | State & Effects |
- Scanning
- Representing Code
- Parsing
- Evaluating Expressions
- Statements and State
- Control Flow
- Functions
- Resolving and Binding
- Classes
- Inheritance
