mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
8b58d5cbc7
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. |
||
---|---|---|
.. | ||
platform | ||
.gitignore | ||
Echo.roc | ||
README.md |
Command Line Interface (CLI) Example
This is an example of how to make an extremely basic CLI in Roc.
There's not currently much documentation for the CLI platform (which also doesn't support many operations at this point!)
but you can look at the modules it includes - for example,
multiple other modules use the Task
module, including the
Stdin
and Stdout
modules.