Zig Engine
Comptime-optimized. HTTP server, CLI, conformance tests.
The Bilateral Boundary in Zig
// Bilateral boundary in Zig: comptime template resolution
pub fn resolve(self: *Engine, template: []const u8, ctx: *Context) ![]u8 {
const parsed = try self.parse(template);
return try self.emit(parsed, ctx); // pure HTML out
}
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 Zig implementation is one instance of the form.
Key File
Run It
See engines/zig/ in the presto repository for setup and run instructions.