This is an implementation of the Lox programming language. It follows the book Crafting Interpreters by Robert Nystrom.
cargo run --release -p lox-cli -- <program>- Basic Expression Evaluation
- Arithmetic operations
- Boolean operations
- Comparison operators
- Variables and State
- Variable declaration and assignment
- Block scoping
- Static scoping
- Control Flow
- If statements
- While loops
- For loops
- Block statements
- Functions
- Function declarations
- Return statements
- Function calls
- Closures
- First-class functions
- Lexical scoping
- Closure creation and usage
- Classes
- Class declarations
- Method declarations
- Inheritance
- Class methods
- Getters
- Bytecode Compiler
- Bytecode VM