An interpreter, created as a learning playground for both Zig and interpreter.
The interpreter does the process of tokenization, parses source-code in a REPL, transforms the input into a AST, and evaluates the tree.
To build an executable, run the following cmd:
zig build-exe src/main.zig -O ReleaseSafe --name bin
It'll generate bin
, which you'd want to execute by:
./bin
Repository icon made by Freepik from www.flaticon.com