Skip to content

grayscale: v0.8.3

Choose a tag to compare

@github-actions github-actions released this 09 Sep 03:31
afea5b3

0.8.3 (2026-09-09)

Bug Fixes

  • cc: suppress incompatible-pointer-types and pointer-sign for C interop (ee7dd25)
  • codegen: coerce a literal needle/fill value for wide-int arrays (c44e750)
  • codegen: compare wide-int elements in arrays.contains/index_of/count (302c3ff)
  • handle wide-integer elements in arrays sort/query functions (c24df4d)
  • main: pass -iquote for local extern C header directories (2ee6b14)
  • parser: stop struct field-name error recovery from consuming the next field's type (80562e3)
  • typechecker: accept a mutable pointer dereference as a & argument (3359ee0)
  • typechecker: dispatch struct functions on index and nested-field receivers (#2626) (4e828f9)
  • typechecker: fold const bindings in the E3002 zero-divisor check (31fc172)
  • typechecker: preserve wildcard through array/map literal inference (a9605e5)
  • typechecker: range-check integer literal call arguments (E3036) (bbfdc6f)
  • typechecker: reject a const field or element passed to a mutable param (d17fd07)
  • typechecker: reject a const-pointee field/element passed to a & param (4a2492a)
  • typechecker: reject pointer-param Grayscale functions passed as C callbacks (1edfa9a)

Performance Improvements

  • cli: bake the embedded-runtime hash at build time, skip the re-walk (f67f719)
  • codegen: lower string interpolation to a single N-ary join (e465404)
  • codegen: shrink checked-arithmetic and panic-location emission (c665516)
  • codegen: skip arena management for non-allocating loop bodies (e5e2f65)
  • codegen: skip the per-call function arena for non-allocating scalar functions (41719eb)
  • codegen: watermark enclosing arena for if blocks inside loops (59b5609)
  • compiler: resolve the C compiler by PATH lookup, not a --version spawn (3efc88d)
  • driver: dead-strip unused runtime and stdlib from generated programs (dca6b78)
  • runtime: format into a stack buffer in gray_string_format (66b73ec)
  • runtime: mask instead of modulo in the map probe loop (7059e4e)
  • stdlib: branchless ASCII case and classification in strings (6276ec7)
  • stdlib: fill exact-size result arrays with memcpy, not a push per element (be839e9)
  • stdlib: type-specialized introsort for arrays.sort_* (ff072bd)
  • typechecker: finalize the identifier hashes before masking (170deea)
  • typechecker: grow the type pool instead of aborting at 4096 (3eb1879)
  • typechecker: index module-level vars and struct decls for the &mut checks (1079cb5)