the playground

Write CX+AI. Press Run. It executes in this tab.

Your source is sent to a server that compiles it and nothing else — the same cx binary from the public release, invoked as cx --emit-risc. The bytecode comes back and the CX+AI register VM, compiled to WebAssembly, runs it on your own machine. Nothing you write is executed on the server.

loading…

source — play.cx

output

Press Run.

What runs here, and what does not

This is the real CX+AI register VM — the same one a native cx build uses — compiled to wasm32 and running inside your browser's sandbox. The rule is simple, and it is the only one you need: whatever CX+AI can do in a browser, it does. What a browser genuinely cannot do, CX+AI refuses by name — it never fakes a result.

Everything else is the language as shipped. Every builtin you can call here is in the manuals and the builtins reference, and for the full toolchain — native builds, _C{}, files, networking, graphics, the module system — the releases are on GitHub.