Manuscript Documentation
v2026.12.0

Guide#

The guide teaches Manuscript through the small command-line programs a business runs on orders: totalling invoices, checking order files, counting rows, merging reports. Each chapter adds a program that does real work and one idea you need to read it. Every program runs as shown.

  1. Values and functions : totalling an invoice.
  2. Data : types, enums, lists, maps and sets for orders.
  3. When things go wrong : parsing order lines that might be wrong.
  4. Who owns what : moving and copying a cart.
  5. Cleaning up : reading a file that always gets closed.
  6. Doing things at once : reading several files together.
  7. Organizing code : interfaces and generics for items that are priced differently.
  8. Testing and shipping : tests, a property test, and a release build.
  9. Working with an agent : installing the skill, the agent’s check loop, and reviewing its change.

Run ms first if you have not: Run your first program . Each chapter ends with a link to the exact rules.