The runtime renders compiled template trees into HTML. It takes a tree structure where every expression is already a callable function, plus a data context, and walks the tree to produce output.
Two implementations are provided with identical behavior. Both are streaming-first: rendering is done via generators that yield string chunks, so HTML can be emitted incrementally.
js/— JavaScript runtime. Seedocs/runtime-js.mdfor the usage API.php/— PHP runtime. Seedocs/runtime-php.mdfor the usage API.
Runtime tests run via Deno from the repo root:
deno task testPHP integration tests require php (8.1+) in PATH.