Commit Graph

87 Commits

Author SHA1 Message Date
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Richard Feldman
ef28dbad84
Drop unnecessary extern declaration 2022-02-27 21:08:08 -05:00
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Jan Van Bruggen
f47dbb5171
Swap List.mapWithIndex arg1 args order to put the element first 2022-02-11 16:10:29 -07: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
48bd267892
Merge branch 'trunk' into cleanup-cli-example 2022-02-05 20:53:55 -05:00
Richard Feldman
f49ae01d06
Drop an obsolete comment 2022-02-04 18:41:36 -05:00
Folkert
a44a99c6cf add new Effect.roc files 2022-02-04 20:06:47 +01:00
Folkert
885500712c remove old Effect module things 2022-02-03 23:55:02 +01:00
Folkert
6f9550d792 update cli example 2022-02-03 22:39:33 +01:00
Drew
227f06c4a5 Indent + remove old comments 2022-01-29 17:27:17 -06: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
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
a2cb9035c4 formatting 2022-01-19 23:56:14 +01:00
Folkert
5230c6f6f3 implement Effect.loop 2022-01-19 23:06:32 +01:00
Folkert
aecafe5c80 add Task.forever to platforms 2022-01-19 19:32:18 +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
Brendan Hansknecht
8a45b1eed8 use ManuallyDrop instead of forget for rust host fx functions 2021-12-10 17:09:49 -08:00
Richard Feldman
48826c79f3
Add README to examples/cli 2021-11-29 09:24:58 -05:00
Richard Feldman
1bfbd36662
Delete binary that was accidentally checked in 2021-11-19 08:52:45 -05:00
Richard Feldman
ef7052540f
Delete binary that was accidentally checked in 2021-11-19 08:52:34 -05:00
Richard Feldman
ac42470c81 Drop unused libc deps 2021-11-02 19:37:38 -04:00
Brendan Hansknecht
e6c137889a Just disable gc-sections with surgical linker for rust hosts for now 2021-09-25 12:19:56 -07:00
Brendan Hansknecht
411ed58eec Fix rust host with surgical linking 2021-09-24 21:37:58 -07:00
Folkert
f13e65ff8e more removal of roccallresult 2021-09-19 20:54:32 +02:00
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34:42 +02:00
Folkert
8a2baaf0cf remove debug prints 2021-08-27 00:05:13 +02:00
Folkert
03c21add77 don't touch the refcount in putLine 2021-08-26 23:35:15 +02:00
Folkert
84b5f0c91e free allocated buffer 2021-08-26 23:28:11 +02:00
Richard Feldman
1c481d7345 Add some tracing to reproduce double free 2021-08-22 16:23:56 -04:00
Richard Feldman
368ced972d Implement echo example 2021-08-22 16:12:54 -04:00
Richard Feldman
6b6c439d6a Update Stdin/Stdout in CLI example 2021-08-21 21:16:41 -04:00
Richard Feldman
dd4fec589e Update Task in CLI example 2021-08-21 21:14:30 -04:00
Richard Feldman
7069046aaf Add examples/cli 2021-08-21 20:54:15 -04:00
Richard Feldman
a675d61a74 rm -r examples/cli 2021-07-19 22:47:18 -04:00
Richard Feldman
96e96f7e5d Drop obsolete comment 2021-06-18 22:11:04 -04:00
Folkert
c44ed3ec79 remove annotation 2021-06-19 00:52:02 +02:00