Skip to content

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

License

Notifications You must be signed in to change notification settings

mcbattirola/buzz

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

buzz

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

A small/lightweight statically typed scripting language written in Zig

buzz code example

Homepage β€” Discord

Features

How to 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

Then, you can run buzz with buzz <myscript.buzz>. Remember to modify PATH to include the bin directory where it is installed. For example, export PATH=PATH:/home/xxx/.local/bin.

Additionally, install the VS Code extension to get syntax highlighting. If you don't use VS Code but your editor supports TextMate grammar files, you can use that.

How to build/develop

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 (not much work is needed to make it work on Windows)
  • libpcre (not libpcre2)
  • libc
  • mimalloc (can be turned off by building buzz with -Dmimalloc=false)
  • zig master

Steps

  1. Clone the project: git clone https://github.com/buzz-language/buzz <buzz_dir>
  2. Checkout submodules: git submodule update --init
  3. Build MIR:
cd mir
make
  1. Have fun: zig build run -- <myscript.buzz>

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 99.3%
  • Other 0.7%