jwmerrill / zox

A Zig implementation of Lox

Home Page:https://raulgrell.github.io/zox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zox

Based on the book Crafting Interpreters - http://craftinginterpreters.com/

Desktop

To build the desktop version, run

$ zig build-exe src/main.zig

To run the repl, run it with no arguments

$ ./main

To run a script, pass the filename as the first parameter

$ ./main example/script.zag

Web

To build the web version, run

$ zig build-exe src/main.zig -target wasm32-freestanding --release-small

About

A Zig implementation of Lox

https://raulgrell.github.io/zox/


Languages

Language:Zig 94.7%Language:HTML 5.3%