Choose a validated example, edit the DCL source, and use the stable
compiler adapter boundary that will host browser compilation.
Current language: DCL v0.9. Compiler:
dcl 0.1.0.
The website is statically hosted on GitHub Pages. The compiler runs in
your browser through Go WASM; no backend compile service is used.
Validated exampleCompiler 0.1.0
A minimal capability with one actor, one input shape, and one outcome.
Source: website/src/examples/hello-world.dcl
Editor help
Autocomplete: macOS Option+Escape, Windows/Linux
Ctrl+Space, or the Show suggestions button.
Format source with Shift+Option+F on macOS,
Shift+Alt+F on Windows/Linux, or the Format button.
Compiler diagnostics appear after pressing Compile. Red and yellow markers come from the DCL compiler.
Monaco editor could not load. The fallback editor is available below.
Architecture View
Visuals
Compile DCL source to generate visuals.
Compile DCL source to generate visuals.
Compile DCL source to generate visuals.
Compile DCL source to generate visuals.
Browser compiler status
The Compile button calls compileDcl(source), which loads
the static WASM compiler from /compiler/dcl.wasm. If the
WASM runtime cannot load, the adapter reports that clearly in
diagnostics.
Next extension points
Editor diagnostics and completion suggestions.
Compiler WASM loading behind the existing adapter.