b177e8fbce34516d77300af31722363be894f604
- Parse range expressions in expressions (0..5, 0..=5) - Add ekRange AST node, hRange HIR node - Lower for-range to while loop with alloca counter - Add hBlock.isScope flag for C scope emission - Update C backend to emit scope blocks only when isScope is set
Bux Programming Language
Status: Bootstrap phase — compiler written in Nim, targeting self-hosting.
Bux is a fast, compiled, strongly-typed systems programming language inspired by Rux. The long-term goal is a self-hosted compiler with a minimal runtime, native x86-64 backend, and modern tooling.
Quick Start
# Build the bootstrap compiler (Nim)
make build
# Create a new project
bux new hello
# Build and run
bux run
Syntax Preview
import Std::Io::PrintLine;
func Main() -> int {
let message: *char8 = c8"Hello, Bux!";
PrintLine(message);
return 0;
}
Roadmap
See PLAN.md for the full roadmap to self-hosting.
License
MIT
Languages
C
74.6%
Nim
23.4%
HTML
1.2%
Makefile
0.3%
Go
0.3%