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.5: tensors, gradients and bounded native executables

Shaped tensors, checked reverse-mode differentiation, optimizers and fixed-width integer types, plus restricted native Linux x86-64 scalar executables.

v0.0.7-alpha.5 was published on 29 November 2026 from e36ad4164244742bdfea65465783e274686dacda. This is a new experimental release, separate from the historical website example baseline.

Shaped tensors in the interpreter

Shaped floating-point tensors support checked indexing, broadcasting, batched matrix multiplication, reshape, transpose, concatenation and reductions. Shapes and operations have explicit execution budgets. No GPU backend is claimed.

Try scarp exec examples/tensor_learning.srp with the source-pinned tensor example for a matrix forward pass, gradient and weight update. The two-layer network example trains using checked tensor adjoints.

Bounded automatic differentiation and optimizers

Supported scalar and tensor expressions can be differentiated using reverse mode. SGD, Adam and AdamW optimizer updates are available in the interpreter. Unsupported operations or exhausted budgets produce diagnostics. Immutable tensor views share storage and bounded scratch space is reused across calls. This is not a claim of unrestricted graphs or production training scale.

Typed fixed-width integers and generic constraints

Source-visible signed and unsigned integers extend through 128 bits. Generic integer operators can be constrained with Integral and Bitwise. Existing float, decimal and BigInt source semantics remain.

Experimental standalone Linux executables

A restricted native backend can emit standalone Linux x86-64 ELF64 executables for bounded pure scalar programs. This differs from scarp native-object relocatable output and from scarp exec, which continues to interpret source. Unsupported constructs, including native tensor operations, are rejected. There is no general native compiler, cross-platform executable guarantee or stable ABI.

Checksummed BigInt files and Lifetime improvements

The experimental BigInt file converter uses the checksummed SCBIGV01 format. The interpreter also releases dead bindings after their last use along the execution path. These changes do not establish unbounded memory or a general cycle collector.

Installing and verifying

Windows x64, Linux x64 GNU and Apple Silicon macOS archives are published. Independently check their SHA-256 digests using the download verification guide and review the website fixture coverage.

Published evidence

Read the official release notes and assets, migration history and historical alpha.4 overview. This prerelease is not a production-readiness certification.