This is my submission for CodeCrafter's "Build your own interpreter" challenge. It is a fully functional interpreter for the Lox language and implements a complete language pipeline, from raw source text to runtime execution.
- Expressions & Control Flow: Support for arithmetic operations, logical operators, and standard control structures (if/else, while/for loops).
- First-Class Functions: Full support for function declarations, calls, and Higher-Order Functions.
- Lexical Scoping & Closures: Implements persistent local environments, allowing functions to "capture" variables from their surrounding scope.
- Object-Oriented Programming: Supports class declarations, instance instantiation, method dispatch, and Single Inheritance.
- Error Handling: Reports compilation and runtime errors.