mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-03 16:46:37 +00:00
Implements the new app header syntax as discussed in Zulip [1].
app [main] {
cli: platform "../platform/main.roc",
json: "../json/main.roc"
}
Old headers still parse and are automatically upgraded to the new
syntax by the formatter.
[1]
|
||
|---|---|---|
| .. | ||
| effects-platform | ||
| false-interpreter | ||
| tui-platform | ||
| argsBROKEN.roc | ||
| countdown.roc | ||
| echo.roc | ||
| effects.roc | ||
| env.roc | ||
| fileBROKEN.roc | ||
| form.roc | ||
| http-get.roc | ||
| ingested-file-bytes.roc | ||
| ingested-file.roc | ||
| README.md | ||
| tui.roc | ||
CLI examples
Note: You probably will want to use the basic-cli platform. This folder will be removed soon.
These are examples of how to make basic CLI (command-line interface) and TUI (terminal user interface) apps in Roc.