Commit graph

16 commits

Author SHA1 Message Date
Folkert
885500712c remove old Effect module things 2022-02-03 23:55:02 +01:00
Folkert
a98635ed06 update other examples 2022-02-03 22:45:15 +01:00
Joshua Warner
8b58d5cbc7 Switch to always encoding package names / paths as strings
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.
2021-12-23 20:11:14 -08:00
Joshua Warner
8b967f1ea8 Run formatter on all examples 2021-12-21 17:17:31 -08:00
Jan Van Bruggen
d03a51c75b Rename base package to pf everywhere, to match tutorial 2021-12-12 05:57:39 -07:00
Folkert
c925613cdc swap argument order 2021-11-26 23:16:47 +01:00
Nathan Bleigh
2dd86b1f18 Updates zig9 to zig
Referenced in https://github.com/rtfeldman/roc/pull/1905
2021-11-09 21:18:18 -06:00
Folkert
a6bc37ecca handle small strings 2021-09-25 15:16:17 +02:00
Folkert
45774df2db fix hello-web platform 2021-09-24 10:00:33 +02:00
Folkert
a25d6c82b5 provide roc_panic from javascript 2021-09-20 23:11:24 +02:00
Folkert
8bab0f4637 emit *.wasm files if the backend is wasm32 2021-09-20 23:07:07 +02:00
Folkert
fe0746951d add dummy test for the hello-web example 2021-09-20 22:59:42 +02:00
Brian Carroll
874bf80321 README corrections 2021-09-19 11:59:24 +01:00
Brian Carroll
11f8652ff6 Refactor hello-web example for possible future automated testing
For now there's a Node.js test that works, but we're not actually running it in CI,
and Node is not a dependency of the project.
2021-09-19 11:48:31 +01:00
Brian Carroll
c20a2e5740 Hello web is working!! 2021-09-18 23:52:18 +01:00
Brian Carroll
e0af849518 Create hello-web example 2021-09-18 22:56:33 +01:00