Codebase / Compiler-facing language reference

Compiler-facing language reference

Compiler changes should start from the language contract. docs/language-overview.md remains the complete reference for syntax, semantics, edge cases and deferred language surface.

Focused references

Smaller detailed references are being prepared without changing the active authority during the migration.

Foundations:

Functions and control flow:

Data and compile-time construction:

Names and static abstraction:

UI state:

Projects and imported content:

Each route combines a Basic teaching layer with detailed Advanced references. The unsuffixed Moth template files remain replacements under parity review and do not supersede docs/language-overview.md yet.

Reference map

docs/src/docs/codebase/language/overview.mtf lists the detailed files completed so far and points back to the consolidated authority.

Related design

More documentation

See All documentation for tutorials, examples and feature-focused language pages.