Live playground: the compiler, in your browser

For new readers

Type PatLang code below and press Run to execute it live, entirely in your browser โ€” nothing installed, nothing sent to a server. See the fuller IDE page if you also want to inspect the compiler's intermediate steps (tokens, parsed tree) rather than just run the program.

The self-hosted PatLang compiler (lexer, parser, lowerer) compiled to WebAssembly. Edit the program, press Run: your source is tokenized, parsed, and lowered by PatLang code running in this page, then executed on the runtime VM. No server, no rustc.

(not run yet)