1,548
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Zig
语言
—
创建时间
最近更新
项目能做什么
轻量级静态类型脚本语言。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center">
<img src="https://github.com/buzz-language/buzz/raw/main/logo.png" alt="buzz" width="204" height="204">
</p>
# 👨🚀 buzz
A small/lightweight statically typed scripting language written in Zig
<p align="center">
<img src="https://github.com/buzz-language/buzz/raw/main/example.png" alt="buzz code example">
</p>
<p align="center">
<a href="https://buzz-lang.dev">Homepage</a> — <a href="https://discord.gg/VnMdNSdpNV">Discord</a>
</p>
> [!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](#fibers)
- JIT compilation with [MIR](https://github.com/vnmakarov/mir)
- Tooling
- [VS Code extension](https://marketplace.visualstudio.com/items?itemName=giann.buzz)
- Helix support thanks to [tree-sitter grammar](https://github.com/buzz-language/tree-sitter-buzz)
- 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
```bash
# 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**.
阅读完整原文
项目深度分析 AI 生成
游戏开发嵌入式脚本解决方案(SDK & 引擎绑定套件)
| 产品构想 | 针对Raylib、Godot、Mach/Zig游戏生态,提供Buzz语言的游戏级无缝绑定SDK,提供内存优化、热重载插件和现成的游戏开发模板。 |
| 核心功能 | Raylib/SDL等常用渲染引擎自动代码生成绑定、状态保持热重载(Live Reloading)、面向游戏实体的Fiber并发调度器封装。 |
| 目标用户 | 使用Zig/C语言的独立游戏工作室及独立开发者。 |
| 难度/周期 | 高 · 3-6个月 · 成本:开发机器、跨平台测试设备、构建CI资源。 |
| 收费模式 | 资产商店插件收费(如Itch.io、Unity/Godot商店)、提供双重许可(商业闭源许可扩展)。 |
| 竞争风险 | Buzz仍处于Alpha阶段(官方声明不适合生产环境),底层API频繁变动会导致维护成本极高;目前游戏脚本市场已被Lua/C#统治。 |
| 依据 | 已验证事实 |
Buzz Cloud Native / 边缘计算轻量级沙箱运行时
| 产品构想 | 利用Buzz小体积、JIT、静态类型和Fibers高并发特性,封装成比Node/Python更轻量、比Wasm更容易胶水的边缘规则脚本执行引擎(类似Cloudflare Workers轻量版)。 |
| 核心功能 | 安全沙箱隔离环境、毫秒级冷启动API网关集成、内存上限与执行超时强管控、C/Zig宿主一键接入库。 |
| 目标用户 | 需要轻量级安全脚本沙箱的ToB系统架构师、边缘计算/网关产品团队。 |
| 难度/周期 | 极高 · 6-12个月 · 成本:服务器基础设施费用、安全审计投入。 |
| 收费模式 | 企业级软件授权费、私有化部署支持与技术咨询服务。 |
| 竞争风险 | 语言安全性和沙箱隔离能力未经验证,企业对非主流新语言生产采用顾虑巨大。 |
| 依据 | AI推测 |
开发者高级工具链与IDE生态商业扩展(Pro Tooling)
| 产品构想 | 在现有开源LSP/DAP基础上,打造商业级调试套件与性能分析器(Profiler),以及AI代码补全助手定制插件。 |
| 核心功能 | 内存泄漏检测器、Fiber并发可视化跟踪、热点函数耗时火焰图、IDE增强商业扩展订阅。 |
| 目标用户 | Buzz语言早期采纳者、开发Buzz大型应用的专业开发者。 |
| 难度/周期 | 中等 · 2-4个月 · 成本:VS Code/JetBrains开发者账号年费、CI分发管道。 |
| 收费模式 | VS Code Marketplace / JetBrains 插件订阅收费(如每月 $5-$10/座席)。 |
| 竞争风险 | 用户基数目前极小(虽然有1550 Star但社区活跃度尚处于极早期),付费用户规模难以支撑独立开发者生存。 |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 6 个 Release |
| 社区活跃 | Star 1,548 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。