v0.0.6-alpha.17 was published on 21 November 2026. It is an experimental compiler prerelease with new interpreter behavior, not a stable release or a general native code-generation command.
Array lengths and safe fallback access
array_len(values) returns the length of a fixed array, including an empty one. It can be used as the count in repeat loops. array_get_or(values, index, fallback)returns a matching typed fallback for a negative or out-of-bounds index. The fallback expression is evaluated exactly once, including when the index is valid. Ordinary direct indexing still reports E0063on invalid indices; this helper does not change indexing semantics.
bind readings = [array: 10, 20, 30];
var total = 0;
repeat array_len(readings) as index {
total += readings[index];
}
print("Total:", total);
print("Missing reading:", array_get_or(readings, 3, 0));See the complete release example, expected stdout, and the website's interpreter regression coverage.
Explicit opt-in Boolean input
input_boolean(prompt) reads a Boolean from terminal input when --interactive is enabled. Only the exact lowercase lines true and false are valid. Malformed input reports E0084; end of input before a new line reports E0055. This does not make terminal prompting automatic for every invocation.
scarp exec --interactive examples/interactive/boolean_prompt.srpThe published prompt example includes two Boolean decisions. For unattended automation, prefer explicit, reviewed input fixtures rather than relying on a terminal conversation.
More precise fixed-array diagnostics
Invalid lengths in nested fixed-array type annotations now retain focused repair guidance and a source span for the offending length. This improves diagnosis; it does not imply a new collection memory model.
Compatibility and evidence
The new array and input functions execute with the interpreter. Experimental native APIs retain their previous restricted scalar scope. Prebuilt archives cover Windows x64, Linux x64 and macOS Apple Silicon; source builds require Rust 1.74 or later. The website checks only selected programs in Linux CI, not every platform or compiler feature.
Review the official alpha.17 notes, published source, archive SHA-256 checksums and alpha.16 history.
