No description
- Zig 96.4%
- Nix 3.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
This is a work-in-progress bytecode compiler for the Lox programming language
from Crafting Interpreters by Robert Nystrom.
It's based on clox, the bytecode interpreter written in C and described in the book,
but using idiomatic Zig features where possible; e.g. the scanner uses std.Io.Reader/Writer
instead of reading and writing to raw pointers.
I also wrote a tree-walking interpreter for Lox in Janet: https://github.com/pvsr/janet-lox.