mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +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
7 lines
192 B
Text
7 lines
192 B
Text
app [main] { pf: platform "rust-platform/main.roc" }
|
|
|
|
main =
|
|
msg = "Roc <3 Rust, also on stderr!\n"
|
|
StdoutWrite "Roc <3 Rust!\n" \{} ->
|
|
StderrWrite msg \{} ->
|
|
Done
|