C Engine

Proof of Concept · 4,209 lines · View on GitHub →

Minimal. Compiles on Raspberry Pi 5. Zero dependencies.

The Bilateral Boundary in C

/* Bilateral boundary: htx: directives are server territory */
/* Resolution strips them — output is pure HTML */
char* resolve(Engine* e, const char* tmpl, Context* ctx) {
    char* parsed = parse_directives(e, tmpl);
    return emit_html(e, parsed, ctx);
}

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 C implementation is one instance of the form.

Key File

engine.c

Run It

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


← All engines · Specification · The Seed