buzz-language/buzz
👨🚀 buzz, A small/lightweight statically typed scripting language
e47028deaefc2fb396d3d9e9f7bd776ae0b2a43a
fe16f27f41ca5ad7ffb4e3d73e9e2a5ed42b0cc9
A small/lightweight statically typed scripting language written in Zig
Latest zig version supported: 0.15.0-dev.764+2e3154428
git clone https://github.com/buzz-language/buzz <buzz_dir>
git submodule update --init
zig build run -- <myscript.buzz>
to run a script or zig build run
to start the REPL# install locally at ~/.local
zig build -Doptimize=ReleaseSafe install -p ~/.local
# install globally at /usr/local
sudo zig build -Doptimize=ReleaseSafe install -p /usr/local
If you're usage if performance critical (game dev for example), you can build using -Doptimize=ReleaseFast
.
Remember to modify PATH to include the bin
directory where it is installed. For example, export PATH=PATH:/home/xxx/.local/bin
. You can then run buzz with buzz <myscript.buzz>
. Or you can simply run buzz
to start the REPL.