PUBLISHED SCARP v0.0.6-alpha.20
Exact decimals and tuple snapshots
Five runnable programs with exact expected outputs, independent of the 60 numbered lessons.
Immutable compiler source: b1a9347f93540fdf95b0ddecba4adc55a3b4bb98 · Published prerelease
Run locally
The website does not execute code in your browser. Use the released compiler or build the exact pinned source.
python scripts/verify_alpha20_exact_values.py --compiler /path/to/scarp --compiler-source /path/to/pinned/scarp
Decimal precision is bounded. Tuple replacement is not in-place array assignment. The native ELF64 API is Rust-host only.
Exact decimal arithmetic
Explicit constructors, typed arrays and rounded division.
Open lesson →ALPHA.20Decimal literals versus float
The d suffix selects exact base-ten arithmetic.
Open lesson →ALPHA.20Mutable tuple member replacement
A constant index replaces a member of a var binding.
Open lesson →ALPHA.20Numeric tuple ordering
Compare compatible numeric tuples lexicographically.
Open lesson →ALPHA.20Tuple snapshot independence
Keep the old tuple while replacing a member in a mutable binding.
Open lesson →हिन्दी में अभ्यास
पहले परिणाम का अनुमान लगाएँ, फिर अपने कंप्यूटर पर Scarp से जाँचें। पुराने संस्करणों में इन नए literals और tuple assignments को समर्थित न मानें।