Language Reference

Practical syntax and semantic notes for the language implemented by the current compiler.

The language reference is the public reference for documented 0.0.0-dev behavior. If the compiler disagrees with a documented rule, treat that as a compiler bug or a documentation bug until resolved.

The pages are organized as focused reference topics: syntax, typing, evaluation, ownership, errors, unsafe code, async, and known limitations. Compiler tests and implementation changes are used as evidence when maintaining these pages; Tree-sitter is editor syntax support, not the public language contract.

Note

0.0.0-dev is unreleased. These pages are normative for current documented behavior, but they are not a compatibility promise for future commits.