Commit graph

39 commits

Author SHA1 Message Date
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Jan Van Bruggen
92e0f8714f
Swap List.repeat args order to put the list first 2022-02-11 16:10:29 -07:00
Richard Feldman
881bae7267
Merge branch 'trunk' into fix-module-formatting 2022-02-04 23:03:52 -05:00
Folkert
43066dcd50 fix formatting 2022-02-04 22:26:31 +01:00
Folkert
a44a99c6cf add new Effect.roc files 2022-02-04 20:06:47 +01:00
Folkert
35efa3462d fix my mistakes 2022-02-04 00:04:08 +01:00
Folkert
885500712c remove old Effect module things 2022-02-03 23:55:02 +01:00
Richard Feldman
34e9b1b73d
Fix module formatting 2022-02-01 21:22:35 -05:00
Folkert
3ade77374a Merge remote-tracking branch 'origin/trunk' into add_loop_examples 2022-01-27 16:49:47 +01:00
Folkert
de84698890 use generic mainForHost in false platform 2022-01-26 21:08:44 -07:00
Folkert
ddf2a09cbf use Task.loop in False 2022-01-26 19:59:50 +01:00
hafiz
f6126cda69
Revert "Use Task.loop in examples" 2022-01-23 11:56:13 -05:00
Folkert
1328e4515d use Task.loop in False 2022-01-21 20:57:03 +01:00
Jan Van Bruggen
1e9d2d1239 Remove accidental trailing spaces 2022-01-18 22:25:46 -07: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
6786acb939 Remove redundant space in aliases 2021-12-21 18:16:58 -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
Brendan Hansknecht
8a45b1eed8 use ManuallyDrop instead of forget for rust host fx functions 2021-12-10 17:09:49 -08:00
rvcas
023f7f44a7 chore: update examples that reference fromInt 2021-11-30 14:55:08 -05:00
Kevin Sjöberg
f6d055dc62 Correct minor spelling mistakes 2021-11-06 15:29:08 +01:00
Brendan Hansknecht
ecf22516fc Switch to correct c ffi in false 2021-10-29 15:48:07 -07:00
Brendan Hansknecht
8f3254bee0 Stop dropping filename 2021-10-24 11:19:20 -07:00
Brendan Hansknecht
31651c6962 Fix minor typo 2021-10-21 20:21:20 -07:00
Brendan Hansknecht
b4be6da3a4 Add cli test for false interpreter 2021-10-19 11:27:05 -07:00
Brendan Hansknecht
0ca6a3d723 Add readme to false interpreter 2021-10-19 11:15:37 -07:00
Brendan Hansknecht
fcbc4ef206 Clean up extra print outs 2021-10-19 09:33:16 -07:00
Brendan Hansknecht
ddef6ab0f8 Make happy again with trunk 2021-10-16 11:41:14 -07:00
Brendan Hansknecht
200e823ae6 Switch to List.dropAt 2021-10-05 14:15:53 -07:00
Brendan Hansknecht
75eccf5bac Switch loading file chunks to list of bytes instead of string 2021-10-03 14:56:09 -07:00
Brendan Hansknecht
3943ff9ffd remove giant log file 2021-10-02 19:51:16 -07:00
Brendan Hansknecht
21d978bab8 Switch to 32bit number representation and fix cksum 2021-10-02 19:50:18 -07:00
Brendan Hansknecht
9920d5e6b8 Rewrite interpreter into state machine to reduce nested lambda calls 2021-10-02 15:35:24 -07:00
Brendan Hansknecht
88069b679a Fix withOpen 2021-10-02 10:40:16 -07:00
Brendan Hansknecht
f412ffd2d0 Remove '*'s and make error union nice 2021-10-02 10:22:32 -07:00
Brendan Hansknecht
e7cba9fb88 Switch to custom cksum script from old crc32. use constants to make it faster 2021-09-30 22:08:14 -07:00
Brendan Hansknecht
157a04d1ac Fix bug and comment more on the pains of recursion 2021-09-29 21:05:36 -07:00
Brendan Hansknecht
414f3a0438 Add info about stack overflows 2021-09-29 18:59:49 -07:00
Brendan Hansknecht
0cd288f623 Add false lang interpreter example 2021-09-29 16:01:54 -07:00