tlox
is a work-in-progress optimising compiler based on the bytecode interpreter in Crafting Interpreters.
The language implementation has a few minor changes to the Lox language in Crafting Interpreters and I plan to implement bigger changes, so I am renaming it to tlox
.
jloc
just contains the original tree-walking interpreter as implemented in the book, with minor additions such as tenary operator (?:
).
- implement AST in C and construct control-flow graph
- implement local analysis and optimisations
- Run sanitisers to detect and fix memory leaks (e.g.
writeString
) - implement basic type system