Official website

Quick search

Search pages in English or हिंदी. Detailed language reference is in Scarp Docs.

Top 6 website pages

Language prerelease · Published source

Scarp alpha.14: precise patterns and checked native arithmetic

Scarp v0.0.6-alpha.14 improves nested pattern diagnostics, live editor cache resizing and a restricted Rust-only checked integer ELF64 object emitter.

v0.0.6-alpha.14 was published on 18 November 2026. Source syntax, Scarp CLI commands, JSON schemas and the original experimental ELF64 API remain compatible with alpha.13. This is a prerelease, not a stable compiler.

More actionable destructuring diagnostics

The parser now identifies missing and duplicate commas and the expected closing delimiter in nested tuple, array and record patterns. Compiler regression tests also exercise nested nominal payloads, immutable arm bindings, exact source spans and deterministic map projections. Pattern guards and refutable nested patterns are not introduced by this release.

Live editor cache quota changes

Rust hosts can call EditorCompilationCache::set_limits to update all five cache retention limits on a live cache. Eviction follows insertion order. Previously issued compiled programs and static editor snapshots preserve their original data and revisions. Tests compare cold and warm editor results after changes to shared dependencies, including navigation, execution and diagnostic locations.

These are optional embedding APIs. Scarp does not ship an integrated language server or a new cache-control CLI in alpha.14. Applications must still discard stale results when their workspace generation or document revision changes.

A narrowly scoped checked ELF64 object emitter

The experimental Rust API emit_elf64_checked_integer_kernelsupports checked addition, subtraction, multiplication, negation, division and remainder for a restricted linear integer-binding subset. A Linux x86-64 System V result reports a status and UTF-8 source operator span on failure. The verifier also rejects a repeat operation whose count and index improperly share a slot.

The emitted object is not a standalone executable or evidence of a general-purpose native compiler. The prebuilt Windows x64, Linux x64 and macOS Apple Silicon CLI archives still run Scarp programs through the interpreter. Read the release-pinned ELF64 ABI reference for exact host contracts and restrictions.

Versioned evidence and next steps

Review the official alpha.14 release and tagged source commit. The website compatibility page describes the specific CLI source fixtures tested in Linux CI; those tests do not verify the Rust embedding API or claim cross-platform behavior. Install matching archives and verify checksums on the downloads page.