Home /Modules/impl/ANNOTATION_PRESERVATION.md

ANNOTATION_PRESERVATION.md

impl/nordshrift/ANNOTATION_PRESERVATION.md · 24 line(s) · markdown

Nordshrift Annotation Preservation

Nordshrift consumes the same Program AST used by the SLeeLa compiler. Document annotations are therefore preserved as part of the language model rather than being treated as comments by the front end.

Targets

The authoritative semantic interpretation remains in the SLeeLa front end and runtime. Nordshrift does not become a second annotation routing engine.

Round-trip invariant

For a Sleela → Nordshrift(Sleela) → Sleela round trip, the annotation names and values must remain unchanged. Semantic validation occurs again after reparsing.

Max Rupplin — MEARVK LLC — 2026