Getting Started
Install Baga, write your first program, and explore the ecosystem.
Prerequisites
The core compiler needs only gcc and make. The optional LLVM backend needs LLVM development libraries. The playground needs Python 3.
Build the Compiler
make builds the C bootstrap. Ecosystem packages (std, app-product, apps) are Baga code built through sandak on top of the baga binary. Submodules are required — app-product packages live in their own GitHub repos.
Your First Program
Save as hello.baga and run ./baga hello.baga. The compiler emits C, gcc builds it, and it runs — one step. Larger projects use sandak.toml.
sandak — Package Manager
sandak.toml is the package manifest. Dependencies can be local paths or git (pin rev for reproducible builds). sandak fetch && sandak build. As in Rust: sandak builds the packages, baga is the compiler.
Canonical Stack
Web apps sit on fmrbaga. HTTP is httpdbaga, auth is jwtbaga, data is ormbaga → pgbaga → Postgres — or boilabaga → boilaDB. The whole stack is written in Baga.
Browser Playground
Try Baga without installing a toolchain. See playground/README.md in the repo.