Skip to content

Buildlang 1.4.0: checked arithmetic and portable stdio

Latest

Choose a tag to compare

@HarperZ9 HarperZ9 released this 10 Sep 22:39
12014e2

Buildlang 1.4.0 defines checked fixed-width integer arithmetic and ships the merged portable stdio, match-result lowering, and VS Code dependency-lock repairs.

  • Plain fixed-width integer addition, subtraction, multiplication, and compound assignments use checked semantics. Constant overflow is diagnosed; runtime overflow uses the arithmetic panic path. Explicit checked, wrapping, and saturating operations remain distinct.
  • Option/Result match expressions obtain concrete result types from context or arm payloads. C and Rust print lowering preserve stdout versus stderr intent.
  • The compiler manifest and lockfile identify version 1.4.0. Two intentionally retained scientific-runtime report fields have focused dead-code annotations for strict-warning builds.

The C path remains primary. Rust, LLVM, WASM, SPIR-V, and native experimental backends retain their documented limitations. LLVM function-style formatting is unsupported and fails closed. This release does not establish performance superiority or complete backend parity.

Validation: the local full strict-warning test suite passed with 1,818 passed, zero failed, and 11 ignored. Formatting, repository-art verification, and the strict-warning optimized build passed. The release commit also passed CI lint, art, Windows/Ubuntu tests and optimized builds, plus the workflow's compile and negative-program checks.

This GitHub source release does not publish a package registry artifact or a prebuilt compiler binary.

Full changes

Release commit: 12014e291bb1e7233caf4d23d49d78b2270c5332. Main CI and reviewed PR #52.