Guide
The guide starts with the live prompt, then builds outward through values, definitions, control flow, recovery, hardware, persistence, and FFI.
If you have not installed the maintained CLI and editor path yet, start with Install .
- 01. What Froth Is The core mental model: stable slots, lexical code, and a live image.
- 02. Getting Started Your first live session: connect, evaluate small expressions, inspect names, and make one visible board change.
- 03. Values and Expressions The current replacement for the old stack chapter: values, calls, grouping, and left-to-right evaluation.
- 04. Words and Definitions Define callable Code values, choose a house style, and understand coherent redefinition.
- 05. Locals, Names, and State The current replacement for `perm`: lexical locals, explicit mutation, and top-level Cells.
- 06. Blocks and Control Flow Use blocks as lexical scopes and Code values; choose, repeat, and loop with explicit booleans.
- 07. Errors and Recovery Recoverable runtime errors, interrupts, safe boot, inspection, and getting back to a usable prompt.
- 08. Text and I/O Text literals, byte-oriented indexing, prompt output, and the split between language values and board I/O.
- 09. Talking to Hardware Use the base-image board layer first, then climb to Machine display and input helpers.
- 10. Snapshots and Persistence Save the overlay image, restore it, wipe it, and understand what does not persist.
- 11. Where to Go Next Move from the guide into tutorials, Machine, Workshop, reference, or FFI.