I-mikan-I / zlox

lox virtual machine implementation in zig!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

lox virtual machine implementation in zig!

License:Mozilla Public License 2.0


Languages

Language:Zig 100.0%