REAL COMPILER WORKFLOW · 0.0.6-alpha.3
Your first Scarp project
Create a project, verify it without running runtime statements, and execute the declared entrypoint using the published Scarp interpreter.
Create
scarp create hello-worldVerify
scarp verify hello-worldLaunch
scarp launch hello-worldRun create only with a new, nonexistent directory. To try this course's checked-in sample, use tutorials/first-project without creating it again.
Scarp.project
scarp-project: 1
name: first-project
entry: src/main.srp
src/main.srp
print("Hello from Scarp!");
Expected output
Hello from Scarp!
UNDERSTAND PROJECTS
Explanation & practice
What do these commands actually do?
create makes a new directory with a three-line, version-1 manifest and one starter source file. It refuses existing destinations. verify DIRECTORY validates the manifest and program statically. launch DIRECTORY runs the selected source using the interpreter, not a native compiler.
Run the checked-in sample
scarp verify tutorials/first-project
scarp launch tutorials/first-project
Practice: Create a fresh project with a different name. In that new project's src/main.srp, write print(6 * 7);. Predict the output, verify it and launch it.
ये कमांड क्या करते हैं?
create नया प्रोजेक्ट फ़ोल्डर और उसमें Scarp.project तथा src/main.srp बनाता है। पहले से मौजूद फ़ोल्डर पर यह काम नहीं करता। verify DIRECTORY बिना प्रोग्राम चलाए static जाँच करता है। launch DIRECTORY असली interpreter से प्रोग्राम चलाता है।
तैयार प्रोजेक्ट चलाएँ
scarp verify tutorials/first-project
scarp launch tutorials/first-project
अभ्यास: अलग नाम से अपना नया प्रोजेक्ट बनाएँ। उसके src/main.srp में print(6 * 7); लिखकर पहले आउटपुट सोचें, फिर verify और launch करें।
Scarp source, manifest and output come from the checked-in sample; the exact interpreter behavior is tested against the pinned compiler. Read detailed constraints ↗
IMPORTANT LIMITS
Interpreter projects, not native builds
The development manifest is limited to 4,096 bytes and three ordered fields. Project entrypoints cannot escape the project root. These commands do not provide native executable generation, package downloads, lockfiles, a registry or a stable workspace format.
Inspect a project's modules → Trace symbols and references →
Pinned published compiler: Scarp v0.0.6-alpha.3 · source ceff07d9014f. No browser execution or fabricated output.