/vm

Primary LanguageC

vm

Following along with bytecode virtual machine from Crafting Interpreters by Bob Nystrom.

I'm diverging from the book slightly and trying to support some small subset of Python instead of Lox. I'll do this when I have some more moving parts in place - otherwise it makes following the book too confusing.

make
./vm examples/foo.lox

For debugging

make DEBUG_FLAGS="-DDEBUG_PRINT_CODE -DDEBUG_TRACE_EXECUTION"