GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - buzz-language/buzz: 👨‍🚀 buzz, A small/lightweight statically typed scripting language

BranchesTags
Open more actions menu

Latest commit

 

History

1,359 Commits
1,359 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
build
build
 
 
examples
examples
 
 
src
src
 
 
tests
tests
 
 
vendors
vendors
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.zig
build.zig
 
 
build.zig.zon
build.zig.zon
 
 
buzz.code-workspace
buzz.code-workspace
 
 
example.png
example.png
 
 
logo.png
logo.png
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

buzz

👨‍🚀 buzz

A small/lightweight statically typed scripting language written in Zig

buzz code example

Homepage — Discord

Warning

buzz is in alpha and is not ready for any professional or production use

Features

  • Small in size and complexity
  • Statically typed
  • Unambiguous
  • No nonsense coercion
  • Fibers
  • JIT compilation with MIR
  • Tooling
    • VS Code extension
    • Helix support thanks to tree-sitter grammar
    • LSP
    • DAP
    • Formatter
    • Package manager

How to build and install

Requirements

  • Zig 0.17.0
  • 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.
  • Supports linux, macOS or windows
  • libc

Build

  1. Clone the project: git clone https://github.com/buzz-language/buzz <buzz_dir>
  2. Checkout submodules: git submodule update --init
  3. Build it zig build -Doptimize=safe
  4. Have fun (with BUZZ_PATH=./zig-out)
    • buzz launches the REPL
    • buzz <script.buzz> to run a lone script
    • buzz <directory> to run a buzz package
    • buzz init to start a buzz package

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=fast.

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 buzz <directory>. Or you can simply run buzz to start the REPL.

AI policy

The fact that this repo as a AGENTS.md file is not an invitation to submit AI generated code. I make a important distinction between, "AI assisted coding" where AI is used as a helper to better understand, debug and improve your code vs "AI generated code" where the understanding of the author ends at the prompt. Blatant slope PRs will be rejected.

About

👨‍🚀 buzz, A small/lightweight statically typed scripting language

buzz-lang.dev

Topics

languagezig

Resources

Readme
MIT license
Activity
Custom properties

Stars

1.5k stars

Watchers

14 watching

Forks

40 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.