The DOIL compiler · shipping in the open

Read .doil. Emit a stack.

The compiler reads a .doil file and emits real, runnable code — vendor-neutral, with rollback safety. No vendor CLIs hard-wired into the pipeline.

What it emits

React / Next.js UI

Generated UI panels for the Cockpit and other surfaces.

LangGraph agents

Stateful agent graphs ready to drop into a runtime.

Docker / K8s

Deployment manifests with the right shape for the runtime.

MCP bindings

Tool surfaces ready for Model Context Protocol consumers.

TMF v5.0 signal flows

Concrete signal wiring against the open TMF API set.

Rollback markers

Every emitted action carries a paired rollback. Vendor-neutral.

Pipeline

.doil  →  Lexer  →  Parser  →  AST  →  Codegen  →  target

DOIL emits with optimisation-constraint comments — the runtime reads those comments to know what it can tune via the autoresearch loop. The comment is the contract, not noise.

One source file, one target flag. The same intent compiles to an agent, a simulator scenario, or a cockpit panel depending only on the target — the language never changes.

Continue