Commit Graph

794 Commits

Author SHA1 Message Date
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
Anton-4
51d86f101f
display example text on screen 2022-02-11 20:15:09 +01:00
Richard Feldman
9efd352d43
Add Http.roc to examples/gui 2022-02-07 23:51:26 -05:00
Richard Feldman
f81fbabf12
Avoid stack overflow in the compiler
(reverting this reproduces a stack overflow in the compiler!)
2022-02-07 00:13:24 -05:00
Richard Feldman
5a9d76e16f
Add Elem.translate, Elem.list, and Elem.lazy 2022-02-07 00:09:45 -05:00
Richard Feldman
38145b363f
s/tea/gui 2022-02-06 10:49:12 -05:00
Richard Feldman
9871065a3a
Add hello-gui to .gitignore 2022-02-06 08:41:15 -05:00
Richard Feldman
720d727873
Cover missing variant in match 2022-02-06 08:40:38 -05:00
Richard Feldman
d74499c356
Don't use obsolete effects syntax 2022-02-06 08:29:40 -05:00
Richard Feldman
c786d3c855
Reproduce outstanding Arc references panic
To reproduce: cargo run examples/gui/Hello.roc
2022-02-06 07:43:37 -05:00
Richard Feldman
4668a6a1b2
Move Elem and Action to examples/gui 2022-02-06 07:39:16 -05:00
Richard Feldman
26e018c45c
Reproduce a monomorphization panic 2022-02-06 07:39:16 -05:00
Richard Feldman
f8fc9cf577
Reproduce code gen crash 2022-02-06 07:39:16 -05:00
Richard Feldman
ff8937b142
s/hello-rust/hello-gui 2022-02-06 07:39:15 -05:00
Richard Feldman
ff082cb98d
wip 2022-02-06 07:39:15 -05:00
Richard Feldman
8f91574629
give TEA example graphics 2022-02-06 07:38:32 -05:00
Richard Feldman
c59aa22402
Reproduce mono::ir panic 2022-02-06 07:38:32 -05:00
Richard Feldman
bfd95d4627
Add TEA example 2022-02-06 07:38:32 -05:00
Richard Feldman
48bd267892
Merge branch 'trunk' into cleanup-cli-example 2022-02-05 20:53:55 -05:00
Richard Feldman
881bae7267
Merge branch 'trunk' into fix-module-formatting 2022-02-04 23:03:52 -05:00
Richard Feldman
f49ae01d06
Drop an obsolete comment 2022-02-04 18:41:36 -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
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
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
Joshua Warner
8038758c99 Move comment in RBTreeChk.roc to _also_ not cause an internal compilation :face-palm: 2021-12-03 12:08:32 -08:00
Joshua Warner
7e70b3ecf9 Move comment in RBTreeChk.roc to not run afoul of formatting-idempotency bug (pre-req to auto-formatting all examples) 2021-12-02 20:16:42 -08:00
rvcas
023f7f44a7 chore: update examples that reference fromInt 2021-11-30 14:55:08 -05:00
Richard Feldman
48826c79f3
Add README to examples/cli 2021-11-29 09:24:58 -05:00
Folkert
c925613cdc swap argument order 2021-11-26 23:16:47 +01:00
Folkert
b873cb0e01 update hello zig platform 2021-11-26 22:48:22 +01:00
Richard Feldman
414bad5b28
Delete executable that was accidentally checked in 2021-11-19 09:06:55 -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
Nathan Bleigh
2dd86b1f18 Updates zig9 to zig
Referenced in https://github.com/rtfeldman/roc/pull/1905
2021-11-09 21:18:18 -06:00
Kevin Sjöberg
f6d055dc62 Correct minor spelling mistakes 2021-11-06 15:29:08 +01:00
Kevin Sjöberg
fa8f0bfae2 Ensure we return 0 in main 2021-11-03 19:45:43 +01:00
Folkert de Vries
416a143a7d
Merge branch 'trunk' into shritesh/hello-swift 2021-11-03 12:12:42 +01:00
Shritesh Bhattarai
d7262d4320 Add small RocStr support 2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
bc63536938 A lot of todos but big RocStr works 2021-11-02 20:28:10 -04:00
Richard Feldman
ac42470c81 Drop unused libc deps 2021-11-02 19:37:38 -04:00
Richard Feldman
0bc3ff4ca5 Use std and core over libc where equivalent 2021-11-02 19:37:05 -04:00
Brendan Hansknecht
9798a27606 Merge branch 'trunk' into false-cleanup 2021-10-29 15:48:27 -07:00
Brendan Hansknecht
ecf22516fc Switch to correct c ffi in false 2021-10-29 15:48:07 -07:00
Dan Knutson
6f7a26895a handle small strings correctly 2021-10-25 20:22:37 -05:00
Brendan Hansknecht
056b10b36b Merge branch 'trunk' into false-cleanup 2021-10-24 11:49:30 -07:00
Brendan Hansknecht
8f3254bee0 Stop dropping filename 2021-10-24 11:19:20 -07:00
Folkert
da3787feb8 Merge remote-tracking branch 'origin/trunk' into remove-call-result-again 2021-10-22 12:57:36 +02:00
Folkert
83de4b55ef remove another instance of RocCallResult 2021-10-22 12:26:04 +02:00
Brendan Hansknecht
31651c6962 Fix minor typo 2021-10-21 20:21:20 -07:00
Folkert
0a12ce896f Revert "make list inc/dec non-recursive (except when freeing the list)"
This reverts commit 19eadbfe70.
2021-10-21 20:28:32 +02:00
Folkert
84950366b0 Merge remote-tracking branch 'origin/trunk' into false 2021-10-21 20:20:56 +02: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
0d4ef43470 Merge branch 'trunk' into false 2021-10-16 11:23:59 -07:00
Folkert
19eadbfe70 make list inc/dec non-recursive (except when freeing the list) 2021-10-14 19:57:23 +02:00
Folkert
94e8c62613 make things compile, base64 has a memory leak 2021-10-06 22:57:11 +02:00
Richard Feldman
13a855f8dd Fix Bytes in benchmarks 2021-10-05 21:08:11 -04:00
Richard Feldman
81b6160815 Fix List.walk in Base64.Encode 2021-10-05 20:58:48 -04:00
Brendan Hansknecht
200e823ae6 Switch to List.dropAt 2021-10-05 14:15:53 -07:00
Brendan Hansknecht
86699eda90 Merge branch 'trunk' into false 2021-10-05 13:23:31 -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
Brendan Hansknecht
d9e28ed4b1 Merge branch 'trunk' into test-linker 2021-09-25 12:21:05 -07:00
Brendan Hansknecht
e6c137889a Just disable gc-sections with surgical linker for rust hosts for now 2021-09-25 12:19:56 -07:00
Folkert
a6bc37ecca handle small strings 2021-09-25 15:16:17 +02:00
Folkert
45d3438b3d Merge remote-tracking branch 'origin/trunk' into hello-web 2021-09-25 14:59:27 +02:00
Brendan Hansknecht
411ed58eec Fix rust host with surgical linking 2021-09-24 21:37:58 -07:00
Brendan Hansknecht
eae8a2ea37 Add surgical linker to cli_run tests that don't use rust 2021-09-24 13:43:00 -07:00
Folkert
45774df2db fix hello-web platform 2021-09-24 10:00:33 +02:00
Brendan Hansknecht
7d1b88b3fb Merge branch 'trunk' into integrate-linker 2021-09-23 21:12:40 -07:00
Folkert
e278b820ef Merge remote-tracking branch 'origin/trunk' into hello-web 2021-09-22 21:30:27 +02:00
Folkert de Vries
9fd5ad53b5
Merge pull request #1724 from rtfeldman/gen-dev/joinpoint
Gen dev/joinpoint
2021-09-22 14:16:41 +02:00
Folkert
a4adf8f07f Merge remote-tracking branch 'origin/trunk' into hello-web 2021-09-22 14:16:11 +02:00
Folkert
faf07e65f9 Merge remote-tracking branch 'origin/trunk' into hello-web 2021-09-21 23:08:41 +02:00
Folkert de Vries
693869336d
Merge branch 'trunk' into direct-return-known-types 2021-09-21 23:01:09 +02:00
Brendan Hansknecht
d710e78ab3
Merge branch 'trunk' into integrate-linker 2021-09-21 09:39:47 -07:00
Brendan Hansknecht
16d098da5e Add join points and tail call optimization to the dev backend. 2021-09-20 23:13:30 -07:00
Folkert
879038fae6 Merge remote-tracking branch 'origin/trunk' into hello-web 2021-09-20 23:11:54 +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
Folkert
e319d1e758 make roc main return values, instead of write them into pointer 2021-09-19 22:05:48 +02:00
Folkert
f13e65ff8e more removal of roccallresult 2021-09-19 20:54:32 +02:00
Folkert
f3bf9bdbd0 add comment to fib host.zig 2021-09-19 18:50:52 +02:00
Folkert
c5eeaab2c2 remove callresult from cli examples 2021-09-19 18:34: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
Richard Feldman
cda29d0706 memcpy and memset are byte-aligned 2021-09-18 23:40:36 -04:00
Richard Feldman
fa8aa20112
Merge branch 'trunk' into integrate-linker 2021-09-18 23:17:52 -04:00
Brian Carroll
c20a2e5740 Hello web is working!! 2021-09-18 23:52:18 +01:00
Folkert
712dfb2702 simplify alignment calculation 2021-09-19 00:35:09 +02:00
Folkert
8429325eed make main have callconv C 2021-09-19 00:27:57 +02:00
Brian Carroll
e0af849518 Create hello-web example 2021-09-18 22:56:33 +01:00
Brendan Hansknecht
d8d147375d update fib gitignore 2021-09-16 20:19:28 -07:00
Brendan Hansknecht
8a30b4803a Merge branch 'trunk' into integrate-linker 2021-09-16 16:27:50 -07:00
Folkert
539d90b62e make gen tests expose mainForHost like LLVM backend 2021-09-16 21:41:23 +02:00
Folkert
692ddc4c2e fix comments 2021-09-16 21:33:42 +02:00
Brendan Hansknecht
e4b3402369 Create dummy lib as libapp.so 2021-09-15 15:16:39 -07:00
Folkert
d390239577 add cli test 2021-09-15 23:35:29 +02:00
Folkert
2de9856576 add fibonacci example 2021-09-15 23:34:27 +02:00
Brendan Hansknecht
da28b669bb Get zig host working 2021-09-15 11:45:44 -07:00
Brendan Hansknecht
e2411ea83f Add surgical linking to frontend with simple dummy lib creation 2021-09-14 23:06:22 -07:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Richard Feldman
e00c8b6837 Update effects example to reproduce bug 2021-09-12 10:17:56 -04:00
Folkert
1496ee2e70 use zig allocator, not libc, in host 2021-09-10 10:15:41 +02:00
Folkert
3ace5c7660 fix invalid usize 2021-09-09 21:36:25 +02:00
Folkert
8eb032aa62 fix lints in quicksort platform 2021-09-09 21:03:08 +02:00
Folkert
f8c3351c08 better debug messages from bench host 2021-09-04 13:26:31 +02:00
Folkert
0ba91f885c make benchmark host.o more 32-bit compatible 2021-09-04 01:38:35 +02:00
Folkert de Vries
fc8fafbac8
Merge branch 'trunk' into wasm-gen-test 2021-08-30 21:53:50 +02:00
Richard Feldman
e3292cff4e Drop some more references to needing C++ 2021-08-29 16:59:15 -04:00
Folkert
904861a1e2 ignore .ll and .bc in benchmarks 2021-08-28 18:01:11 +02:00
Folkert
8fa4e55c74 Merge remote-tracking branch 'origin/trunk' into wasm-cli-option 2021-08-27 09:35:34 +02:00
Richard Feldman
5fe620f9b7
Merge pull request #1620 from rtfeldman/cli
Re-add `cli` example
2021-08-26 21:03:14 -04: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
Folkert
fb6131488c update platforms for the nightly zig + wasm C abi requirements 2021-08-26 21:22:44 +02:00
Folkert
4b6c3319d4 comment a definition, makes wasm32 backend work for AStar
weird...
2021-08-26 21:09:11 +02:00
Folkert
8846841a95 follow the C abi for effect functions the host exposes 2021-08-25 20:47:03 +02:00
Folkert
12fb36d1df unused variables 2021-08-25 20:47:03 +02:00
Folkert
f04547e27e 32-bit memory safety in benchmark host 2021-08-25 20:47:03 +02:00
Folkert
b01309ea7f revert some host changes; they cause weird segfaults for TestBase64 2021-08-25 00:19:23 +02:00
Folkert
c2b43c30d6 try to fix host 2021-08-25 00:14:49 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
5a7a9e9520 fix alignment problems in zig hello host 2021-08-24 20:55:23 +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
Folkert
a12e18ca70 add roc_panic to all hosts 2021-08-16 22:46:00 +02:00
Folkert
b9431187f7 remove c++ stuff 2021-08-16 20:33:55 +02:00
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
bc952641eb Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
Anton-4
a6b6525f88 minor readme tweaks 2021-08-04 18:09:51 +02:00
Anton-4
c4beb5e585 improved main README, added README in examples folder 2021-08-04 18:04:44 +02:00
Richard Feldman
fbc7984818 Drop libc dependency from roc_std 2021-08-02 22:29:23 -04:00
Folkert
894ef2b7b2 Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality 2021-07-30 23:34:16 +02:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
b186ccc370 disable Nat for now 2021-07-29 14:41:22 +02:00
Richard Feldman
437eb1b9b7 Revert "Remove QuicksortApp benchmark for now"
This reverts commit f1233bb491.
2021-07-27 00:09:40 -04:00
Richard Feldman
5ac3990ce5 Revert "Remove RBTreeCk benchmark for now"
This reverts commit 250635c843.
2021-07-27 00:09:40 -04:00
Richard Feldman
3ecdc7f553 Move benchmarks back to examples/benchmarks 2021-07-26 23:00:21 -04:00
Richard Feldman
537b71d258 Move benchmarks/ up a directory 2021-07-26 22:38:55 -04:00
Richard Feldman
2bdd137ef5 Merge remote-tracking branch 'origin/trunk' into run-all-examples 2021-07-21 01:06:54 -04:00
Richard Feldman
1bc1b1c502
Merge pull request #1488 from rtfeldman/hello-rust-example
add a "hello-rust" example
2021-07-20 20:42:20 -04:00
Brian Hicks
45887b6d1a add a "hello-rust" example 2021-07-20 09:22:40 -05:00
Richard Feldman
78e762a270 Remove examples/shared-quicksort for now 2021-07-20 07:15:42 -04:00
Richard Feldman
37e67e58a3 Remove examples/task for now 2021-07-20 07:14:39 -04:00
Richard Feldman
660faa3bf1 Remove examples/custom-malloc for now 2021-07-20 07:12:25 -04:00
Richard Feldman
3a575d1c9d Make examples/hello-zig like examples/hello 2021-07-19 22:47:18 -04:00
Richard Feldman
10166d5fc3 rm -rf examples/tea 2021-07-19 22:47:18 -04:00
Richard Feldman
a675d61a74 rm -r examples/cli 2021-07-19 22:47:18 -04:00
Richard Feldman
c4616b6da8
Merge branch 'trunk' into run-all-examples 2021-07-19 22:29:25 -04:00
Richard Feldman
043b0f0077 Fully qualify Task 2021-07-19 22:27:47 -04:00
Richard Feldman
6eaf2c7f80 Use fx.Effect instead of Effect 2021-07-19 22:24:05 -04:00
Richard Feldman
db69ae1db1 Move model/msg Package-Config code to examples/tea
examples/effect has no need for this!
2021-07-19 22:23:39 -04:00
Folkert
b70ecf6351 make Effect simpler 2021-07-19 22:28:19 +02:00
Folkert
8eb0c6fbb8 fix example 2021-07-19 22:19:55 +02:00
Richard Feldman
c9703e34fe Merge remote-tracking branch 'origin/trunk' into examples 2021-07-17 20:08:47 -04:00
Richard Feldman
cabbe3c424 Remove obsolete multi-module example 2021-07-17 19:26:34 -04:00
Richard Feldman
0d3fabc76f Have examples/task write thing.txt to its own dir 2021-07-17 19:26:34 -04:00
Folkert
b28b6b89c0 update RBTreeDel.roc 2021-07-13 23:41:27 +02:00
Folkert
3bf46ff662 restore cfold 2021-07-13 00:42:02 +02:00
Folkert
048326f9a3 build reset WIP 2021-07-04 14:20:44 +02:00
Richard Feldman
66bdb210ed Have Hello World write to a fd
This is a much nicer host to read than the one that does
all the gymnastics to convert to a null-terminated string
just to call printf!
2021-06-21 19:05:12 -04:00
Richard Feldman
f8f8233f19 Add hello-fast example 2021-06-20 23:02:02 -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
Folkert
79b44b2dc5 fix UD 2021-06-19 00:51:19 +02:00
Folkert
474a0747cd use MaybeUninit 2021-06-19 00:46:47 +02:00
Richard Feldman
8e526631c2 Shrink buffer for RocStr path conversion 2021-06-18 15:21:11 -04:00
Richard Feldman
a12b421e9a Drop roc_fx_readAll
It's really not doing anything significant that roc_fx_open
and roc_fx_read aren't already.
2021-06-18 15:21:11 -04:00
Richard Feldman
804c00c899 Implement some file I/O stuff in cli host 2021-06-18 15:21:11 -04:00
Folkert
19db7515da fix shadowing of layout 2021-06-14 21:03:17 +02:00
Folkert
8cbc8b0334 Merge remote-tracking branch 'origin/trunk' into name-functions-with-morphic 2021-06-13 17:21:47 +02:00
Richard Feldman
2fc3305423 Have hello-world example use C 2021-06-13 10:49:18 -04:00
Richard Feldman
3683f20838 Add hello-zig (clone of hello-world) example 2021-06-12 22:40:13 -04:00
Folkert
86f35c33cd work on higher order lowlevels 2021-06-12 23:05:06 +02:00
Folkert
3c8d675378 get most cli tests to pass 2021-06-09 19:05:37 +02:00
Folkert
4151dac452 Merge branch 'update_zig' into name-functions-with-morphic 2021-06-09 14:57:25 +02:00
Folkert
20f6e03cfb Merge remote-tracking branch 'origin/trunk' into name-functions-with-morphic 2021-06-09 14:57:09 +02:00
Folkert
e85ddc3506 fix examples 2021-06-07 20:29:16 +02:00
Folkert
0754b8e3ce WIP 2021-06-07 18:17:45 +02:00