README.md | Table of contents | Only when adding new chapters |
01-getting-started.md | First look, _builtin directory listing | New _builtin files or subdirectories |
02-program-structure.md | Top-level structure, _builtin overview | New top-level constructs |
03-types.md | Type system: primitives, unions, special | New primitive types or type syntax |
04-declarations.md | let, var, _, scoping | New declaration forms |
05-expressions.md | All expression forms, operators, precedence | New operators, expression syntax |
06-control-flow.md | if, while, for, match, raise, when | New control flow constructs |
07-functions.md | Functions, methods, operators, ref, overloading | New function features |
08-classes-and-objects.md | Class definitions, fields, constructors | New class features |
09-shapes.md | Structural types / interfaces | New shape features |
10-generics.md | Type parameters, monomorphization, inference | Generics changes |
11-tuples.md | Tuple construction, destructuring, splat | Tuple changes |
12-arrays.md | Array creation, indexing, iteration, literals | Array changes |
13-lambdas.md | Lambdas, closures, free variables | Lambda changes |
14-partial-application.md | _ placeholders, partial application | Partial application changes |
15-concurrency.md | Cowns, when blocks, FAQ | Concurrency features, external resources |
16-modules.md | use, imports, namespaces | New modules, namespaces, import forms |
17-ffi.md | FFI: use blocks, builtins, callbacks, init | Most FFI changes go here |
18-type-inference.md | Inference rules, refinement, backward refinement | Inference algorithm changes |
19-memory-model.md | Regions, ownership, ref[T], runtime errors | Memory model changes, new runtime errors |
20-compiler-pipeline.md | Pass descriptions, AST, WF, debugging | New passes or pass changes |
21-toolchain-usage.md | CLI flags, build commands | New CLI options |
22-builtin-types.md | All _builtin types with method tables | New builtin types go here |
23-grammar-summary.md | Formal grammar rules | Any syntax changes go here |
24-error-handling.md | Error patterns, raise, else | Error handling changes |
25-compile-time-execution.md | # operator (placeholder) | Compile-time execution features |
26-gotchas.md | Common surprises and pitfalls | New pitfalls for the feature |
27-common-patterns.md | Idiomatic patterns and recipes | New usage patterns go here |