1 unstable release
0.1.0 | Oct 9, 2022 |
---|
#728 in Programming languages
83KB
2.5K
SLoC
lox-one
This is simple tree-walking interpreter for the Lox language.
This repo implements the jlox interpreter from the great Crafting Interpreters book by the awesome Bob Nystrom.
Progress
- Scanner
- Parser
- Environment
- Variables
- Conditionals
if/else
- Loops (
for
andwhile
loops) - Functions (first-class, closures)
- Resolver
- Classes
- Inheritance
Later Ideas
I think if I can get done with the book I will add:
- Lists
- Hashmaps
- Operator Overloading
- TypeScript style type-checking
Dependencies
~4–15MB
~144K SLoC