v0.0.6-alpha.18 was published on 22 November 2026. It remains an experimental interpreter prerelease, not a stable language or a general native compiler.
One execution command, with or without input
scarp exec now selects the current directory's validated scarp.project or legacy Scarp.project entrypoint. Without a manifest, it selects src/main.srp first, thenmain.srp. An invalid manifest stops execution instead of silently running a different file. Explicit file paths are still supported. It does not search parent folders or run arbitrary source files.
scarp exec
scarp exec main.srp
scarp exec src/calculator.srpexec automatically enables bounded interactive prompts when the running program asks for input. Terminal and redirected UTF-8 input follow the existing quotas. Legacy run still requires explicit opt-in for terminal prompts. See the alpha.18 CLI migration guide.
Pure updates of fixed arrays
array_set(values, index, replacement) creates a new immutable fixed-array snapshot while the original retains its values. Replacement types must match. Invalid indices report E0063; new array storage counts against the cumulative allocation quota (E0064). In-place indexed assignments remain unsupported.
bind original = [array: 4, 8, 12];
bind updated = array_set(original, 1, 99);
print(original[1]);
print(updated[1]);
print(array_len(updated));The published source example covers immutable and nested array updates. The website also runs a small alpha.18 regression fixtureagainst the pinned compiler commit in Linux CI.
Lifetime: better empty-view memory retention
Scarp Lifetime currently combines compiler-planned scope retirement with safe-Rust immutable reference-counted payloads. New zero-length finite and integer numerical windows detach from their original backing buffers; nonempty windows still share storage and can retain larger allocations. This change does not implement a cycle collector, guarantee operating-system memory reclamation, or measure total process RSS.
Explore the tagged Lifetime example and implementation and verification boundaries. Existing execution budgets still apply.
Packaging and reliability
Interactive ask() now retries interrupted prompt flushes within existing budgets. JSON inspection has more regression coverage for structured types, Unicode and CRLF spans. The release pipeline performs strict archive-member verification and per-platform clean rebuild comparisons; these checks do not establish reproducibility across different operating systems.
Published archives cover Windows x64 MSVC, Linux x64 GNU and macOS Apple Silicon. Source builds require Rust 1.74 or newer. The experimental C11 and ELF64 embedding backends do not expose a general-purpose scarp compile command.
Review official release notes, the exact release source, verified SHA-256 archive downloads, and alpha.17 history.
