C implementation of Lox from Crafting Interpreters.
Example usage: make && ./clox ./test/chap29_superclasses.lox
Pratt Parser
FNV-1a Hashing:
Inspiration:
- The Implementation of Lua 5.0 (very similar to Lox)
- Other languages: Forth, Lisp \ Lisp with GC in 436 bytes io Language
Profiling on a Mac:
xctrace record --template 'Time Profiler' --launch ./clox ./test/chap30_benchmark_zoo.lox --output ./clox.trace
open ./clox.trace