Mostly a copy/paste of Implementing a virtual machine in C by Felix Angell.
make && ./a.out
It prints POP: 11
because it adds 5
and 6
.
- Loxy (Lox in C, A Tree-walk Interpreter, from Crafting Interpreters)
- Glox (Lox in Go, A Tree-walk Interpreter, from Crafting Interpreters)
- Xol (Lox in C, A Bytecode Virtual Machine, from Crafting Interpreters)
- Xolg (Lox in Go, A Bytecode Virtual Machine, from Crafting Interpreters)