THE PRACTICAL SCARP HANDBOOK

Learn Scarp.
One real program at a time.

From your first line of code to numerical computing. Every lesson has its own page with real Scarp source, verified output, English and Hindi explanations, and a practice question.

52 runnable lessons 6 chaptersEnglish + हिन्दी explanations
01-hello.srpScarp
// My first Scarp program
print("Hello from Scarp!");
Verified outputHello from Scarp!

FIND A TOPIC

Find your next example

Search English/Hindi lessons and real Scarp source. Filter by chapter.

Press / to focus search. Press Esc in the search box to clear both filters.

Browse the chapters below. Instant search is available with JavaScript.

LEARNING PATH

Explore by chapter

Six structured chapters: read real code, answer bilingual checkpoints, then solve a coding lab.

NOW SUPPORTED IN ALPHA.4

Go beyond a single file.

Learn how the real Scarp compiler creates a project, validates its manifest without running code and launches its declared entrypoint.

Build your first project →
Terminal · Scarp v0.0.6-alpha.3
scarp create hello-world
scarp verify hello-world
scarp launch hello-world

REPRODUCIBLE BY DESIGN

Real code. Exact output.

Every example is checked with the official compiler. This site displays examples but does not execute code inside your browser.

Target: Scarp v0.0.6-alpha.3 (prerelease) · pinned commit ceff07d9014f