This website requires JavaScript.
Explore
Help
Sign In
roc-lang
/
roc
Watch
1
Star
1
Fork
0
You've already forked roc
mirror of
https://github.com/roc-lang/roc.git
synced
2024-10-04 14:17:28 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
3137cb30fa
roc
/
examples
/
platform-switching
/
rocLovesRust.roc
4 lines
78 B
Plaintext
Raw
Normal View
History
Unescape
Escape
New `app` header syntax 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] https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/Fewer.2Fdifferent.20keywords.20in.20the.20file.20header/near/418444862
2024-03-05 01:01:16 +03:00
app [main] { pf: platform "rust-platform/main.roc" }
Switch examples to use app modules
2020-04-11 23:17:50 +03:00
Separate hello-world platform switching into its own example
2022-06-21 08:57:24 +03:00
main = "Roc <3 Rust!\n"
Reference in New Issue
Copy Permalink