Astralang

Playground

Write Astra and run it here. The compiler runs in your browser as WebAssembly: nothing to install, and your code never leaves this page.

compiler v0.13.11-alphaThe astra.wasm from the released archive, the same compiler as the native downloads.

Ctrl Enter runs. Esc then Tab leaves the editor.

Input for read_line()

The playground runs astra run, Astra's interpreter. Release tests check it prints exactly what a native build prints. Files, environment variables, command-line arguments and modules are not available here, and recursion stops at 400 nested calls (250,000 natively). To build native binaries, get the alpha.