Introduction to Scarp
Latest published compiler: v0.0.6-alpha.3. This experimental release adds deterministic Top-K ranking and temperature softmax, not general native compilation; see the release guide. New learners can start with the seven-stage learning path; the alpha.1 installation instructions and alpha.6 project lab remain pinned to their original release.
Scarp is an experimental, Rust-implemented, interpreted programming language. An earlier published compiler is v0.0.5-alpha.5. This general-language overview remains based on the separately verified alpha.1 reference; the historical alpha.4 tagged release, alpha.4 installation, alpha.4 project quickstart, and alpha.3 CLI reference remain historical version-scoped guides. The language is not yet a stable general-purpose alternative to Rust, C++, or Python.
Scarp uses UTF-8 .srp source files, a lexer, a parser, a resolver, and an interpreter. Its implementation emphasizes checked numerical operations, explicit output, bounded evaluation, and increasingly capable numerical utilities. The compiler repository contains runnable .srp examples and expected-output fixtures.
// Valid in v0.0.5-alpha.1
bind message = "Hello, Scarp!";
print(message);
The program prints Hello, Scarp! followed by a newline. bind creates an immutable binding, and print writes to stdout. See variables and output.
Current scope
The interpreter supports checked integer, finite float, string, boolean, numerical vectors, tiles, typed funcra functions, loops, and source modules. It does not have a general-purpose standard library, user-defined types, a package manager, native code generation, or a stable language specification. Review the feature status before relying on a capability.
For quick topic discovery, open search and navigation; the search works within English/Hindi locale documents and keeps release-specific tutorials distinguishable.
How to use these docs
For current onboarding, choose the learning path, published alpha.6 release, and alpha.6 project tutorial. The historical first-program reference remains pinned to alpha.1. The language reference explains implemented syntax; the CLI guide explains how to run and validate files. The compiler repository remains the source of truth when experimental syntax changes.
Verified against: compiler README, reference.