dimgigov 92c5cd59f5 refactor: migrate examples to import Std::Io instead of raw extern func
- Create stdlib/Std/Io.bux with extern func declarations
- Rename C shim functions to short names (PrintLine, PrintInt, etc.)
- Update all 9 examples to use import Std::Io::{PrintLine, PrintInt};
- Remove manual extern func Std_Io_* declarations from examples
2026-05-31 02:01:28 +03:00

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

S
Description
No description provided
Readme MIT 12 MiB
Languages
C 74.6%
Nim 23.4%
HTML 1.2%
Makefile 0.3%
Go 0.3%