Home

Awesome

ZLox

A stack-based bytecode Virtual Machine for the Lox Programming Language written in Zig.

Run

Start REPL:

$ zig build run
> print 1+1;
2
>

Test

$ zig build test
All tests passed.

Troubleshoot

Enable tracing:

$ zig build -Denable-tracing

Enable disassembly:

$ zig build -Denable-dump

For more build options use zig build --help