Skip to content

Releases: HarperZ9/buildlang

v1.2.0

Choose a tag to compare

@HarperZ9 HarperZ9 released this 07 Jul 16:24
580334d

What's Changed

  • feat(units): compile-time dimensional-analysis core + scientific-receipt integration by @HarperZ9 in #15
  • Style: spectrum banner + feature-first README header by @HarperZ9 in #17
  • Release v1.2.0 by @HarperZ9 in #18

Full Changelog: v1.1.0...v1.2.0

buildlang 1.1.0 - accountable scientific compute

Choose a tag to compare

@HarperZ9 HarperZ9 released this 02 Jul 16:23

Minor release. A second, independent receipt family beyond the capability
(check) receipts: the scientific-runtime receipt
(buildlang-scientific-runtime-receipt/v0).

  • buildc run --emit-receipt <path> --invariant <NAME> runs a numeric .bld
    kernel, checks a stated invariant over its output series, and seals a
    re-checkable JSON receipt. buildc receipt verify RE-RUNS the program and
    re-derives the verdict (typed failure_class, verdict-gated exit codes).
  • Six invariants, each a fixed re-checked tolerance with a paired
    positive/negative kernel: energy-monotone, conservation, bounded
    (discrete maximum principle), energy-identity (a quantitative energy-balance
    residual), relation (--columns N, verifier-compared columns), and
    conserved-band (approximate conservation, e.g. a symplectic integrator).
  • buildc receipt export emits witnessed measurement rows.

Backward compatible: run without --emit-receipt is byte-identical to 1.0.x.
Honest scope: the receipt witnesses the observed output series, not model
correctness or any physical law (NOT_A_NEW_PHYSICAL_LAW). C stays the only
production-verified backend. Install: cargo install buildlang. Details:
docs/SCIENTIFIC-RECEIPT.md.

QuantaLang v1.0.0 — The Effects Language

Choose a tag to compare

@HarperZ9 HarperZ9 released this 30 Mar 11:12

QuantaLang v1.0.0

The first release of the QuantaLang compiler.

What's included

  • quantac.exe — Windows x86-64 compiler binary (4.3 MB)
  • Compiles .quanta source files to C, HLSL, GLSL, and experimental backends

Highlights

  • 81K lines of Rust, 604 tests passing, zero unsafe in compiler core
  • 15 programs compile including a 4,559-line SQL database engine
  • Self-verifying color science — CIE 1976 Lab + OKLab output matches published standards
  • CI verified — clippy, rustfmt, cargo test, end-to-end compilation, self-checking binary

Quick start

quantac hello.quanta          # Compile and run
quantac hello.quanta -o out.c # Compile to C
quantac --target hlsl shader.quanta -o shader.fx  # Compile to HLSL

Verified programs

Program LOC Description
db.quanta 4,559 SQL database with lexer, parser, executor, WAL
color.quanta 199 sRGB → XYZ → Lab → OKLab converter
color_test.quanta 121 Self-verifying color science (12/12 pass)
jq.quanta 1,048 JSON query tool
awk.quanta 876 Text processing
codegen.quanta 2,490 Code generator

Requirements

  • Windows 10/11 x86-64
  • A C compiler (MSVC, gcc, or clang) for native binary output