mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00

This will simplify parsing and make it possible to have a uniform lexer for the language. Previously unquoted package names were allowed to include '-'s, which aren't valid identifiers. In the future, we'll distinguish local paths from packages in the package-manager by looking for a ".roc" suffix, which should only be present in local paths.
7 lines
178 B
Text
7 lines
178 B
Text
platform "foo/barbaz"
|
|
requires {model=>Model} { main : {} }
|
|
exposes []
|
|
packages { foo: "./foo" }
|
|
imports []
|
|
provides [ mainForHost ]
|
|
effects fx.Effect {}
|