Manuscript Documentation
v2026.12.0

Language reference#

These chapters define how Manuscript programs behave. New readers should start with your first program and the guide , then return here for exact rules, in this order:

  1. Basics : source files, variables, numbers, text, and expressions.
  2. Functions : parameters, calls, and closures.
  3. Types : named types, enums, collections, and interfaces.
  4. Control flow : conditions, loops, and matching.
  5. Error handling : results, propagation, and faults.
  6. Modules : imports, exports, and public boundaries.
  7. Managing resources : closing files and connections when their scope ends.
  8. Concurrent tasks : running work at once with promises.

Two short pages cover change: what is frozen and removed spellings .

Find declarations in the generated standard-library API reference .