Nothing on this page is maintained by hand. Each file is produced by a command in the compiler repository and copied here from a pinned checkout, so the catalogue you read is the catalogue that build ships. The two markdown files are served as plain text, which is what they are.
Catalogues
- Diagnostics (161 codes, 248 KiB of text)
- Every error the compiler can emit, with the explanation
wolf --explain E0001prints. Each code ships with that explanation and at least one reviewed snapshot fixture, and CI enforces both, so a code cannot exist without a documented meaning and a test that pins its wording. - Warnings (34 codes, 26 KiB of text)
- Every warning, with the severity contract in front of the catalogue: an
error rejects meaning and cannot be configured away, and a warning marks a
program that is legal and inadvisable. The file also covers the level
hierarchy, what an escape hatch is for, and which fixes
wolf fixwill apply on its own.
Both are generated by cargo xtask diag-catalog from the
compiler's diagnostic registry. The reference interpreter chooses some of its
own codes for the phases it implements, and it publishes those choices rather
than leaving them to be discovered in a divergence report.
Standard library reference
Browse the standard library by module, with signatures, documentation, source links and a contents list. The reference follows a pinned library checkout paired with the site's compiler.
The plain-text edition lists the complete public surface for tools and agents. Each module also has a text download.
Elsewhere in the repository
Two files that are not copied here are worth knowing about. The lint triage
ledger records every case of the language permitting something that turned out
to be wrong or confusing, each with a verdict, and it is the evidence behind
the warning catalogue. The release audit is the criteria table the v0.1.0 tag
shipped against, red row and all; the releases since tell their story in the
repository's CHANGELOG. Both files live under docs/ in
wolf-lang.