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.16: order statistics and Unicode utilities

Scarp v0.0.6-alpha.16 adds interpreter median and quantile functions, bounded Unicode transforms, signed integer utilities and optional Rust embedding improvements.

v0.0.6-alpha.16 was published on 20 November 2026. It expands Scarp's interpreter-backed numerical and text facilities. These APIs are experimental, not a stable language or native compilation toolchain.

Median and quantiles on finite vectors

Pure median(vector) and quantile(vector, fraction)operate on finite vectors and visible vector windows. Quantiles use type-7 interpolation. The interpreter creates a bounded immutable sorted copy, charges execution work, and leaves the original vector unchanged.

order_statistics.srp · alpha.16+
bind samples = [4.0, 1.0, 7.0, 2.0];
print(median(samples));
print(quantile(samples, 0.25));
print(quantile(samples, 0.75));

The release-tagged program and exact expected output demonstrate the calculation. This website also keeps a published-only CI fixture for the example.

Unicode text utilities

text_lower, text_upper, text_reverse,text_from_codepoint, text_rfind andtext_count provide bounded Unicode-aware operations. Case mapping is locale-independent. Reversal moves Unicode scalars, not entire grapheme clusters, so combining marks can move independently. Matching is exact rather than normalized or locale-sensitive.

Checked integer and bit-pattern helpers

This release also introduces integer_abs,integer_sign, integer_gcd,integer_lcm, bits_count_ones,bits_reverse, bits_swap_bytes and 64-bit rotate/count operations. Overflow remains checked, and invalid rotate counts are rejected. Read the version-pinned utility reference for limits and exact semantics.

Rust-only runtime and kernel maintenance

Rust embedding hosts gain live ConstantCache retention limits; already compiled programs remain usable when old entries are evicted. The restricted experimental Linux x86-64 ELF64 integer kernels gain large stack-frame probing. Deterministic map tests cover output rollback under work limits. None of this adds a public native compilation CLI or an LSP.

Review the official release, source commit, current download and test scope. The website's Linux CI tests specific Scarp programs, not Rust embedding behavior or all prebuilt operating-system archives.