Spork playground

JavaScript is required to start the browser runtime.

Ctrl/⌘ + Enter to run

output

Definitions remain available between runs. Resetting or stopping the runtime clears them.

about this playground and its browser runtime

The real Spork compiler, runtime, and persistent collections run locally inside browser-hosted CPython and WebAssembly. Your source is not sent to a Spork evaluation server.

Definitions remain available between runs. Stop, timeout, reset, page reload, or a worker failure starts a fresh interpreter and clears them.

The first visit downloads CPython and WebAssembly and can take several seconds. The playground is intended for short experiments and does not provide project files, project commands, subprocesses, nREPL, persistent sessions, or arbitrary package installation.

Code runs in a Web Worker to keep evaluation off the page's main thread. A worker is not a hard security or memory sandbox. Do not run untrusted source.