e361b4181ac9e7635a5c1168b37d4ef26eeb6494
- public TemplateSet::render (String sink) and TemplateSet::render_to_write (io::Write sink), synchronous and deterministic, both surfacing the wave-1 Error enum - render-name rule enforced behaviorally: the entry resolves names against the set-level bookkeeping before the substrate is consulted, so a partial's name or an unknown name is a typed Error::Render (substrate TemplateNotFound reason), never a rendered partial - strict-mode missing variable is a typed error in both sinks, never silently-empty output; the write sink's streaming (non-atomic) semantics on mid-render failure documented - determinism pinned by tests: byte-identical repeated renders, byte-identical output across registry rebuilds in opposite registration order, and byte-for-byte agreement between sinks Verification: cargo test (19 passed), cargo clippy --all-targets -- -D warnings, cargo fmt --check, cargo doc --no-deps, and cargo build --target wasm32-unknown-unknown --release all green.
alkgen
Template-based codegen engine for the alk* stack: handlebars-rust
templates rendered over alktype BAST (Binary Abstract Syntax Tree)
documents, producing code artifacts; binary readers, writers, and
validators for alkcall channels, and call-protocol handlers in the
shape of alkhttp's from_openapi / from_jsonschema adapters. Plus
plain HTML generation for alkforge's server-side rendering, the
first real consumer (family ADR-002).
Status: Phase 0 (exploration), unpaused 2026-11-06 for the alkforge
SSR use case. See docs/research/phase-0.md.
Languages
Rust
100%