Commit graph

669 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
Folkert
6f9550d792 update cli example 2022-02-03 22:39:33 +01:00
Folkert
db2d437d78 use new hosted module for benchmarks example 2022-02-03 22:02:18 +01:00
Folkert
a32e0bbd4c use new hosted module for effect example 2022-02-03 21:56:44 +01:00
Richard Feldman
34e9b1b73d
Fix module formatting 2022-02-01 21:22:35 -05:00
Drew
227f06c4a5 Indent + remove old comments 2022-01-29 17:27:17 -06:00
Folkert
3ade77374a Merge remote-tracking branch 'origin/trunk' into add_loop_examples 2022-01-27 16:49:47 +01:00
Jan Van Bruggen
04c2b5e88c Ignore tui executable 2022-01-27 06:48:27 -07:00
Jan Van Bruggen
33e5ecf8ba Manually format echo example to pass tests 2022-01-27 06:48:14 -07:00
Jan Van Bruggen
e36b94fc53 Add emoji to form example 2022-01-26 21:08:45 -07:00
Jan Van Bruggen
78be942918 Add emojis to echo example 2022-01-26 21:08:45 -07:00
Jan Van Bruggen
e1f52057cc Reformat form example for simplicity 2022-01-26 21:08:45 -07:00
Jan Van Bruggen
8e0c2408c7 Make echo example more fun 2022-01-26 21:08:45 -07:00
Folkert
1ccf7f6b34 more formatting 2022-01-26 21:08:45 -07:00
Folkert
ea10c1f665 formatting 2022-01-26 21:08:45 -07:00
Folkert
d3b51ea8ea make echo example work (with loop, not yet with forever) 2022-01-26 21:08:45 -07:00
Folkert
de84698890 use generic mainForHost in false platform 2022-01-26 21:08:44 -07:00
Folkert
accee83a3f cli platform: use generic version of mainForHost 2022-01-26 21:08:44 -07:00
Jan Van Bruggen
3866723e36 Add echo example 2022-01-26 21:08:44 -07:00
Jan Van Bruggen
97149d4530 Add countdown example 2022-01-26 21:08:44 -07:00
Jan Van Bruggen
0079f8f45c Rename name example app to "form" 2022-01-26 18:14:03 -07:00
Folkert
27d960f720 formatting 2022-01-26 20:25:31 +01:00
Folkert
b3d605cade fix failing debug_assert 2022-01-26 20:22:18 +01:00
Folkert
ddf2a09cbf use Task.loop in False 2022-01-26 19:59:50 +01:00
Folkert
4ab9a3302b use Task.loop in Deriv 2022-01-26 19:59:50 +01:00
Folkert
cbdf3f0378 tweaks 2022-01-23 21:41:54 +01:00
Folkert
f6367f72a5 Merge remote-tracking branch 'origin/trunk' into tea-example 2022-01-23 21:25:35 +01:00
Folkert
f76a75b00e formatting fixes 2022-01-23 21:25:20 +01:00
Folkert
616eccb932 make tui example that uses primitive TEA 2022-01-23 21:05:55 +01:00
hafiz
f6126cda69
Revert "Use Task.loop in examples" 2022-01-23 11:56:13 -05:00
Richard Feldman
b42cc3d625
Merge pull request #2392 from rtfeldman/tag-join-points
Improve code gen of tags in join points
2022-01-22 22:42:22 -05:00
Folkert
390a50c537 use mainForHost generic in effect platform 2022-01-23 00:20:28 +01:00
Folkert
1328e4515d use Task.loop in False 2022-01-21 20:57:03 +01:00
Folkert
06d506f63b use Task.loop in Deriv 2022-01-21 20:01:45 +01:00
Folkert
a2cb9035c4 formatting 2022-01-19 23:56:14 +01:00
Folkert
5230c6f6f3 implement Effect.loop 2022-01-19 23:06:32 +01:00
Folkert
859bdf5212 Merge remote-tracking branch 'origin/trunk' into effect-forever 2022-01-19 20:14:24 +01:00
Folkert
aecafe5c80 add Task.forever to platforms 2022-01-19 19:32:18 +01:00
Jan Van Bruggen
1e9d2d1239 Remove accidental trailing spaces 2022-01-18 22:25:46 -07:00
ayazhafiz
2c41c43aea Implement saturated add/subtract 2022-01-10 22:37:08 -05:00
ayazhafiz
4ea91b54eb Fix additional unsigned sub overflow bug 2022-01-10 21:57:29 -05:00
ayazhafiz
b5225c87d8 Make sure quicksort only ever uses non-negative values
`low` can be zero, and so `low - 1` causes an integer overflow for
unsigned ints.
2022-01-10 21:10:35 -05:00
Joshua Warner
e236703c42 Add examples/benchmarks/issue2279 to gitignore 2022-01-03 20:16:38 -08:00
Folkert
fc4cea9f75 don't throw away a jump 2022-01-03 16:50:43 +01:00
Folkert
7044e95df8 fix imported function thunk 2022-01-03 16:18:53 +01:00
Folkert
06be340bee add test for this issue 2021-12-31 21:48:14 +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
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