Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

matdexir/buzz

Repository files navigation

buzz

πŸ‘¨β€πŸš€ buzz

A small/lightweight statically typed scripting language written in Zig

buzz code example

Homepage β€” Discord

Features

  • Small in size and complexity (just a bit more than Lua though)
  • Statically typed
  • Unambiguous
  • No nonsense coercion
  • Fibers
  • JIT compilation with MIR
  • Tooling

How to build and install

Latest zig version supported: 0.15.0-dev.764+2e3154428

Requirements

  • Since this is built with Zig, you should be able to build buzz on a wide variety of architectures even though this has only been tested on x86/M1.
  • Linux or macOS (Windows support is coming)
  • libc
  • zig master

Build

  1. Clone the project: git clone https://github.com/buzz-language/buzz <buzz_dir>
  2. Checkout submodules: git submodule update --init
  3. Have fun: zig build run -- <myscript.buzz> to run a script or zig build run to start the REPL

Install

# 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.

About

πŸ‘¨β€πŸš€ buzz, A small/lightweight statically typed scripting language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Zig 99.4%
  • Other 0.6%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /