Python Engine
Simplest derivation. Readable reference.
The Bilateral Boundary in Python
# Bilateral boundary: htx: namespace = server territory
# Resolution produces pure HTML for the client
def resolve(self, template: str, context: dict) -> str:
parsed = self.parse_directives(template)
return self.emit(parsed, context) # 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 Python implementation is one instance of the form.
Key File
Run It
See engines/python/ in the presto repository for setup and run instructions.