Go Engine

Functional · 2,387 lines · View on GitHub →

Native HTTP server. Full pipeline with middleware.

The Bilateral Boundary in Go

// Bilateral boundary: resolve htx: directives, emit pure HTML
func (e *Engine) Resolve(template string, ctx Context) string {
    resolved := e.processDirectives(template, ctx)
    return e.stripNamespace(resolved)
}

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

Key File

main.go

Run It

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


← All engines · Specification · The Seed