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.
- Values and functions : totalling an invoice.
- Data : types, enums, lists, maps and sets for orders.
- When things go wrong : parsing order lines that might be wrong.
- Who owns what : moving and copying a cart.
- Cleaning up : reading a file that always gets closed.
- Doing things at once : reading several files together.
- Organizing code : interfaces and generics for items that are priced differently.
- Testing and shipping : tests, a property test, and a release build.
- 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.