TypeScript Engine

Reference · 1,555 lines · View on GitHub →

Bun runtime. Powers jaredfoy.com. Most complete derivation.

The Bilateral Boundary in TypeScript

// The bilateral boundary: htx: directives are server territory
// Resolution strips them, producing pure HTML
const resolved = this.resolve(template, context);
return new Response(resolved, { headers: { "Content-Type": "text/html" } });

Derived from the Same Seed

This engine was derived from the PRESTO Seed — the same ~2,200-word prose specification that produced all seven conformant implementations. The seed specifies the bilateral boundary, the resolver model, progressive layers, and two-phase mutations. The TypeScript implementation is one instance of the form.

Key File

src/runtime/request-handler.ts

Run It

See engines/ts/ in the presto repository for setup and run instructions.


← All engines · Specification · The Seed