Rust Engine
Most ambitious derivation. Ownership-driven safety.
The Bilateral Boundary in Rust
// Bilateral boundary: server-side htx: directives resolved
// Client receives pure HTML — no framework required
impl Engine {
pub fn resolve(&self, template: &str, ctx: &Context) -> Result<String> {
let parsed = self.parse(template)?;
Ok(self.emit(&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 Rust implementation is one instance of the form.
Key File
Run It
See engines/rust/ in the presto repository for setup and run instructions.