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
The naming mechanism has changed.
Instead of adding a test for this example now I'm going to make a good-first-issue to move this to the examples repo and add a test there.
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
Fixes an error when hello.js is run: "LinkError: WebAssembly.Instance(): Import #2 module="wasi_snapshot_preview1" function="random_get" error: function import requires a callable"
Signed-off-by: Vladimir Zotov <azuresplash@gmail.com>