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 v0.0.7-alpha.3: generics, strings and native aggregate locals

Published generic functions, bounded strings and private aggregate locals in the experimental native integer subset.

v0.0.7-alpha.3 was published on 27 November 2026 from 44a3bb0a91e67570e46ce058a3f6211f8e5db0f5.

Bounded generic functions

Generic funcra declarations support bounded specialization, explicit type arguments and contextual inference. Generic Option and Result payloads extend the supported function signatures. The experimental native integer entry can call concrete integer specializations.

String operations and literals

Strings support bounded concatenation and repetition, raw literals and multiline literals. These are interpreter capabilities; they do not imply a general native string ABI.

Native object emission and aggregate locals

Alpha.2 introduced scarp native-object, an experimental x86-64 ELF64 relocatable object emitter for use with an external linker. Alpha.3 adds private flat fixed-array, tuple and record stack locals with integer or Boolean components, and preserves subscript source spans for bounds errors.

Checked constant folding retains errors, source spans and work accounting. The existing integer entry calling convention remains in use; this does not establish a general executable toolchain or stable ABI.

Interpreter function completion

Function completion retires unneeded values and transfers the result without duplicating ownership for contract evaluation. This is a targeted improvement, not a claim of complete native memory management or a total process-memory bound.

Upgrade and verification

Use scarp exec for ordinary interpreted execution and scarp verify for static checks. Review the migration guide and website fixture coverage. Download the matching archive and verify its checksum from Downloads.

Published evidence

See the official release and archive assets, the alpha.2 release notes, and the historical alpha.1 overview. All three releases remain experimental.