mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 11:22:19 +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] 418444862
8 lines
160 B
Text
8 lines
160 B
Text
platform "test-platform"
|
|
requires {} { main : * }
|
|
exposes []
|
|
packages {}
|
|
provides [mainForHost]
|
|
|
|
mainForHost : {} -> {}
|
|
mainForHost = \{} -> {}
|