An implementation of the Lox programming language Interpreter written in C. This interpreter is based on the book "Crafting Interpreters" by Robert Nystrom and tested via Codecrafters.
Lox is a dynamically-typed scripting language that supports object-oriented programming with classes and inheritance. This implementation follows the bytecode interpreter pattern.
Here's what's currently implemented in this interpreter:
Feature | Status |
---|---|
Scanner | 🚧 |
Basic Arithmetic | 🚧 |
Variables | 🚧 |
Control Flow (if/else) | 🚧 |
Loops (while, for) | 🚧 |
Functions | 🚧 |
Closures | 🚧 |
Classes | 🚧 |
Inheritance | 🚧 |
Standard Library | 🚧 |
Error Handling | 🚧 |
I will be glad to receive any of your questions/suggestions/contributions to this project! Feel free to open a PR or contact me via:
For more information about the Lox language, visit Crafting Interpreters.
Note: This implementation is for educational purposes and may not be suitable for production use.