Releases
grayscale-v0.7.0
Compare
Sorry, something went wrong.
No results found
0.7.0 (2026-09-05)
Features
stdlib: add strings.Builder for amortized string assembly (#2637 ) (e7500f8 )
typechecker: propagate a struct-field arena destroy across a call, and a mem-alloc buried in a returned literal (#2655 ) (3c84f3f )
typechecker: trace @mem arena destroy/reset across a function call (#2655 ) (1b71c2a )
typechecker: track a @mem pointer buried in a struct/array/map field (#2655 ) (25cb03f )
typechecker: track a @mem pointer buried in a tagged-enum payload (#2655 ) (fa0baf5 )
typechecker: track a @mem pointer read back out of a multi-return temp (#2655 ) (4324597 )
typechecker: track a mem-allocated pointer returned across a call, and an arena reached via a struct field (#2655 ) (4874b9c )
Bug Fixes
codegen: [f32]/[f64] arrays accept float literals and use packed float storage (#2645 ) (2dcb701 )
codegen: arrays.append of an inline imported tagged-enum value emits valid C (#2618 ) (4fc102a )
codegen: bind wide-integer for_each loop variables as the bigint type (a95eadb )
codegen: cast multi-return func-typed callback calls to a matching anonymous struct (4effc92 )
codegen: defer/ensure only runs for returns that reach it (#2619 ) (88d99f7 )
codegen: derive the for_each map key binding's C type from the key type (#2624 ) (4e47e8f )
codegen: emit a literal string extern argument as a C string literal (#2682 ) (6492774 )
codegen: emit tagged-enum union types in dependency order with structs and parenthesize payload literals (#2654 ) (6e8435e )
codegen: file-scope empty array literal uses the declared element size (#2620 ) (14e3e49 )
codegen: guard field reads on a nil Error (239f5e5 )
codegen: lower ErrorCode.<Variant> qualified selector to GrayErrorCode_<V> (482c746 )
codegen: make a map index an lvalue so field/nested writes through it work (#2622 ) (33d8a10 )
codegen: nil-check indirect func-field calls and fix pointer-deref field call cast (#2652 ) (c63ccf1 )
codegen: non-empty integer/byte array literals use the annotated element width (#2644 ) (715ac71 )
codegen: parenthesize struct-literal compound literals to survive macro argument splitting (#2632 ) (7f9bd66 )
codegen: prefix entry-module file-scope globals to avoid libc name collisions (#2643 ) (9831f5d )
codegen: render #error_code enum values by variant name (2affdfd )
codegen: report source location for panics from stdlib and builtin C code (#2659 ) (2a30dd9 )
codegen: size map key/value slots to the annotated width for sized-int and f32 types (#2646 ) (94b88b7 )
codegen: stop emitting C const for scalar const-declared variables (628ff34 )
codegen: stop treating a user-module import as a stdlib import for caller-arena wrapping (#2630 ) (eb8d21d )
imports: preflight extern import C headers with a Grayscale diagnostic (#2677 ) (c5dc32a )
mem: catch a @mem pointer dereferenced after an untraceable arena destroy (2001467 )
module-system: resolve struct names inside func(...) type signatures (#2623 ) (8157d14 )
parser: derive reserved-word check from lexer keyword table (#2674 ) (0117821 )
parser: empty index expression 'arr[]' emits one diagnostic (#2615 ) (c6dc106 )
parser: reject trailing tokens after the expression in ${...} (#2628 ) (199a726 )
stdlib: flush stdout for subprocesses, prompts, and add flush() builtin (#2639 ) (2e562c9 )
stdlib: forward stdlib headers that shadow a system header (#2676 ) (7109760 )
stdlib: stop regex.find_all reading past its truncated text buffer (#2608 ) (29e4b5b )
typechecker: accept literals up to UINT64_MAX for uint and u64 targets (616e279 )
typechecker: allow a concrete #error_code enum as a normal when subject (5edc3d5 )
typechecker: arity-check or_return bindings against the call's non-error slots (#2621 ) (e1e5642 )
typechecker: compute escape summary for wildcard-return functions (5108bde )
typechecker: distinct diagnostic for #strict on 'when err.code' (9a3b431 )
typechecker: enforce the signed-to-unsigned guard in every value position (#2625 ) (9bf8bbf )
typechecker: flag duplicate when/is branches on enum subjects (#2629 ) (d2dcaf4 )
typechecker: guard assignment RHS and struct-literal fields against multi-value calls (e2a6966 )
typechecker: guard for_each collection and index positions against multi-value calls (361888c )
typechecker: guard while condition and map-literal keys against multi-value calls (#2617 ) (d894eaf )
typechecker: imported #error_code enum joins the ErrorCode value space (322337e )
typechecker: keep distinct #error_code enums from unifying with each other (3851558 )
typechecker: loop premark misses a helper-mediated arena destroy (#2655 ) (78983ce )
typechecker: range-check arrays.append/prepend/insert_at element values against the element type (#2647 ) (541eff1 )
typechecker: range-check integer literals in struct fields, map values, default params, return, and index assignments (#2640 ) (430dbd9 )
typechecker: reject #error_code enum that is also #flags (56cb2d3 )
typechecker: reject a C interop constant as an error() code (99f5b56 )
typechecker: reject a local's address escaping through pointer parameters and returned heap-object fields (#2650 ) (bb94b8c )
typechecker: reject addr()/raw()/ref() of a string index expression (#2651 ) (e1b5f08 )
typechecker: reject addr()/ref()/raw() of a stack variable passed to a C call (#2657 ) (ecfda90 )
typechecker: reject enum/int mismatches in when/is patterns (1306369 )
typechecker: reject Error as an array element or map key/value (6192220 )
typechecker: render pointer/array/map types correctly in func-ref signatures (4a3a13b )
typechecker: require an explicit cast for unsigned-to-signed in every position (#2625 ) (d1b6a2d )
typechecker: resolve aliases before the E3153 container check (e94034c )
typechecker: resolve Error fields in any member-expr position (ac55be8 )
typechecker: resolve func-ref calls in escape checks; fix scope bug from unresolvable-call fallback (#2655 ) (39a8cc4 )
typechecker: run the param-escape check after instance-dispatch rewrite (f06b8a8 )
typechecker: run the signedness-crossing check on call-initialized mut declarations (#2649 ) (f531c00 )
typechecker: see through a func-ref call declared inside a helper's own body (#2655 ) (030e7bf )
typechecker: stop loop premark from double-flagging its own destroy as E3166 (#2655 ) (f8c887c )
typechecker: track ensure mem.destroy(a) in the within-function arena tracker (3957c56 )
typechecker: track pointer origin through any unresolvable call, not per-shape (795ce32 )
typechecker: track pointer origin through copy() and bare aggregate reads (0b420f5 )
typechecker: track pointer origin through multi-return destructuring (de1a860 )
typechecker: track pointer origin through tagged-enum variant construction (b737891 )
typechecker: type-check non-primary return slots (68c85a6 )
types: diagnose a local shadowing a C function called via extern. (#2683 ) (3694c73 )
types: give extern. C call results a checked type instead of TYPE_UNKNOWN (ca8c7d6 )
types: propagate multi-return arity for a func-typed callback destructure (ecf9276 )
types: reject a C interop value bound to a wildcard ? parameter (#2679 ) (4ecc142 )
types: reject named arguments in extern C interop calls (#2681 ) (9c9b7de )
types: run signedness guard for instance-dispatch call arguments (#2642 ) (90eb7c0 )
types: type extern C constant access as a C interop value (#2673 ) (f3e06ac )
You can’t perform that action at this time.