Concept: Application Surfaces
Ricochet uses the same postfix language across several program shapes.
| Surface | What it feels like | First chapter |
|---|---|---|
| Script | Run one .rco file. |
Chapter 01 |
| CLI tool | Parse arguments, read/write data, print reports. | Chapter 35 |
| TUI | Draw terminal frames and respond to keys. | Chapter 21 |
| GUI | Use a desktop webview for local app UI. | Chapter 22 |
| MVC app | Define routes, controllers, views, models, and data. | Chapter 23 |
| Package | Share reusable Ricochet code. | Chapter 29 |
The learning trick is to separate the surface from the language. A controller action, a CLI report, and a TUI render function can all use the same stack, binding, collection, and result habits.