Official website

Quick search

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

Top 6 website pages

v0.0.6-alpha.3Latest published alpha

The Scarp Programming Language

Build beyond
boundaries.

A language taking shape.
A new space for your ideas.

Explore clear syntax, typed functions, and numerical foundations in an open, experimental language.

Early alpha. Try it, question it, help shape it.

Ideas into expressions

The basics example

hello.srp
// A small start. An open-ended journey.
bind language = "Scarp";
print("Hello from", language);

var total = 0;
repeat 5 as index { total += 2; }
print("Total:", total);
Expected output
Hello from Scarp
Total: 10

Functions example

functions.srp
pure funcra square(value: integer) -> integer {
    return value * value;
}

bind result = square(value: 7);
print(result);
Expected output
49

Numerics example

numerics.srp
bind weights = tile([1.0, 2.0, -1.0, 3.0], 2, 2);
bind input = [2.0, 1.0];

print(matvec(weights, input));
print(norm([3.0, 4.0]));
Expected output
[4.0, 1.0]
5.0
Scarp v0.0.5-alpha.1 · also checked with alpha.4

Real syntax. Expected output. Verified on two releases ↗

Rust interpreter implementationApache-2.0 language sourceOpen development from the beginning

Built from the fundamentals

Small language.
Serious foundations.

Explore what you can use today.
Every capability here is part of the published alpha.

Explore the language features

An honest look at the present

Early days.
Real progress.

Scarp is a working interpreter with a growing numerical core. Its syntax and APIs are evolving, and the path to a stable language is still ahead.

Explore the current state
Reviewed alpha.1v0.0.5-alpha.1

Source modules

The verified website baseline brings relative imports and explicit public exports to multi-file programs.

  1. Available nowFunctions, numerical values & source modules
  2. Next prioritiesModule tooling, conformance & navigation
  3. Further aheadTypes, compiler backend & domain libraries
Follow the roadmap

Your first few lines

Curiosity is
all you need.

Start with a small program. Learn the fundamentals in English or Hindi, then explore functions and numerical examples.

01 / Get the interpreter

For this tested example, use the v0.0.5-alpha.1 interpreter. The latest alpha downloads use newer CLI commands.

02 / Save hello.srp

hello.srp
print("Hello from Scarp!");

03 / Run from its folder

terminal
./scarp run hello.srp

Verified against v0.0.5-alpha.1. Windows PowerShell: use ./scarp.exe. Newer versions offer exec and project commands; see the current setup guide.

Beyond the compiler

Explore the Scarp ecosystem.

Documentation, a browser playground, tested examples, and editor support are growing alongside the language. Find the right tool and check its prerelease status.

Explore all tools

From the project

The latest chapter.

All project news
Language release

Scarp alpha.6.3: deterministic Top-K and temperature softmax

The published prerelease adds typed Top-K score ranking and stable temperature-aware probabilities, plus internal scalar IR verification.

Read the update
Language release

Scarp alpha.6.2: optional compiler caches and invalidation

The new experimental prerelease adds opt-in Rust token, syntax and semantic caches with conservative dependency planning and source-scoped eviction.

Read the update
Language release

Scarp alpha.6: symbol navigation and vector RMS

The published alpha.6 adds static, cross-file symbol/reference inspection and a finite-vector rms builtin, with explicit prerelease limits.

Read the update
Language release

Scarp alpha.5: project inspection and experimental C11 emitter

Inspect explicit Scarp projects from the CLI and explore restricted scalar C11 code generation through a Rust embedding API.

Read the update
Language release

Scarp alpha.4: projects you can create and launch

Create offline Scarp projects, verify them statically, and launch a manifest entrypoint with the published prerelease.

Read the update
Language release

Source modules arrive in v0.0.5-alpha.1

Relative imports, explicit exports, and a verified three-platform prerelease.

Read the update
Project

A home for the language, and the work ahead

Introducing the official project hub and its connection to Scarp Docs.

Read the update
Made in the open

A language grows
with its community.

Bring a question, a test case, or a different perspective.
There’s room to help shape what comes next.