AttoLang Playground / subset compiler v0.3 preview Source on GitHub ↗
WASM-NATIVE · SERVERLESS

Write Atto. Run anywhere.

A real Atto compiler and the canonical Rust formatter run locally in your browser using WebAssembly. Your code compiles into executable Wasm without a compilation server.

Explore the Language showcase in the program picker: each featured Atto program is compiled and executed by the pinned Rust/Wasm toolchain. Experimental syntax is kept in separate preview groups.

main.atto
Local draft recovery (experimental)

Checkpoints stay in this browser. They are separate from saved programs. Automatic checkpoints are off until explicitly enabled for this page.

Recovery is off.
Transactional saved-program storage (preview)

Check readiness before migrating saved programs. Migration is experimental: export backups, preserve unsaved code, and close all other playground tabs first. Older tabs may not honor the storage lock. Migration retains the original legacy data; reload manually to use the new library.

No bundle selected.Not checked. No migration performed.
OutputReady
COMPILER & EXECUTION OUTPUT
Ready to compile.
Target wasm32-browserArtifact —
Ready
Compiled on-device, no remote execution · Supported subset · Architecture & evidence ↗

Real compiler. Explicit scope.

Compiler identity: The playground runs the Rust atto-source.rs compiler as WebAssembly, and executes generated guest Wasm using your browser's WebAssembly engine—not Wasmtime. The separate Oreslang LLVM/Wasm, native Rust/Cranelift and JavaScript/ESM backends are not the deployed browser compiler. See compiler contract and backend boundary.

The playground compiles a subset of AttoLang, not the full language. It supports functions, recursion, int (checked 64-bit) and bool, val/const/let bindings, if … then … fi, while … do … done, for, loop, and stdio.println. Syntax follows the reference compiler. Advanced syntax in the preview dropdown (including generators, tasks, is, using, pipelines, and supervisors) is illustrative and not yet lowered by this pinned browser compiler. Preview code is never evaluated as JavaScript. A failed compilation never produces a guest Wasm artifact.