Nucleus 0.1 Language Specification
Authoritative source
This reading edition is generated from the Nucleus specification in the standalone Nucleus repository at revision a782cc9dc83c. The repository source is authoritative; this site adds page metadata and reading navigation, with headings and local links adapted to page boundaries. Teaching companion: Programming Nucleus. Technical companion: Nucleus Z80 Runtime and Backend Contract 0.1.
Contents
- Status and conformance
- Design constraints
- Source text and lexical rules
- Program and file structure
- Names and scopes
- Types
- Storage, values, and lifetime
- Constants and declarations
- Expressions
- Statements
- Conditional control
- Loop control
- Routines and calls
- Recoverable errors
- Safety failures and traps
- System boundary
- Complete grammar
- Static semantics
- Runtime semantics
- Feature ledger
- Conformance examples