STATIC PREVIEW · LIVE EXECUTION ON THE ROADMAP

The Garnet Playground

Browse real Garnet programs and the output they actually produce. Pick an example to see its source and its recorded garnet run output.

Honest scope: this is a static gallery, not a live editor. The outputs shown are recorded by garnet run (regenerated by scripts/garnet_playground_build.py), not computed in your browser. Live in-browser execution — editing and running your own code — needs a WebAssembly build of the interpreter, which is on the roadmap (see GARNET_WASM_TARGET.md). We are not shipping a fake editor: when it runs in the browser, it will say so here, and not before.

Source

loading…

Recorded output

Run any of these locally in about a minute:

curl --proto '=https' --tlsv1.2 -sSf https://garnet-lang.org/install.sh | sh

← Install Garnet  ·  Source on GitHub

Calibrated expectations are part of the project: a static preview is honest; a fake live editor would not be.