PatLang IDE

For new readers

A real, in-browser code editor for PatLang: write a program, press Run, see it execute โ€” no install required. "Tokens" and "AST" are two extra views showing what the compiler sees internally at earlier stages (its token stream, then its parsed tree structure), useful if you're curious how source text becomes something runnable, but not required to just try writing PatLang code.

The self-hosted compiler (lexer, parser, lowerer), compiled to WebAssembly once and reused for every run in this page. Run executes your program; Tokens and AST show the compiler's own intermediate representations for the same source, with no rustc involved for any of the three. Ctrl+Enter runs. Your code is kept in this browser's local storage.

(not run yet)