Commit Graph

680 Commits

Author SHA1 Message Date
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
Anton-4
df8d4cd270 increased quicksort list size to 10k 2021-06-05 17:10:42 +02:00
Anton-4
960a4fddc5 added quicksort benchmark 2021-06-04 19:23:44 +02:00
Anton-4
d1948d99d0 Merge branch 'trunk' of github.com:rtfeldman/roc into benchmarks 2021-06-02 10:56:30 +02:00
Anton-4
05645088b7 run benchmarks with input 2021-05-28 15:08:46 +02:00
Richard Feldman
e8c3ff042c Remove examples/balance 2021-05-27 18:08:35 -04:00
Folkert
9bbed89e6a speed up cfold 2021-05-26 20:24:31 +02:00
Anton-4
6db9247509 setup for all benchmarks except quicksort 2021-05-26 19:51:18 +02:00
Richard Feldman
c8018a12fc
Merge pull request #1326 from rtfeldman/zig-list-set
Zig list set
2021-05-25 07:03:35 -04:00
Folkert
db9edda98b fix problem, host was not updated 2021-05-25 09:13:10 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Richard Feldman
a72af28004 Fix custom-malloc example 2021-05-24 21:55:56 -04:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Folkert
aa97abcdea prevent decrement in quicksort 2021-05-24 19:42:33 +02:00
Folkert
91b49ecf98 Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set 2021-05-24 18:25:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert de Vries
513a624d28
Merge branch 'trunk' into roc_alloc 2021-05-24 18:22:47 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
b60988d63e
Merge branch 'trunk' into morphic-lib 2021-05-24 07:18:59 -04:00
Richard Feldman
18df7fd24f Make alignment be a u32 2021-05-23 23:46:09 -04:00
Richard Feldman
24e22bc31b Have roc_alloc return a nullable pointer 2021-05-23 23:46:09 -04:00
Richard Feldman
c89d022242 Fix custom-malloc example 2021-05-23 23:46:09 -04:00
Richard Feldman
9474e6c262 Drop some obsolete stuff 2021-05-23 23:46:09 -04:00
Richard Feldman
bfd8187d97 Try to specify roc_alloc etc in example Rust hosts
...but they're all broken for other reasons, so who knows
if it actually worked?
2021-05-23 23:46:09 -04:00
Richard Feldman
175115ee4e Have examples with zig hosts use roc_alloc etc 2021-05-23 23:46:09 -04:00
Richard Feldman
3ea991f5a3 Fix typo in comment 2021-05-23 23:46:09 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
40c405c67b don't generate code for decrement in Quicksort 2021-05-23 16:22:43 +02:00
Richard Feldman
7a408e44da s/Pkg-Config/Package-Config/g 2021-05-22 15:29:18 -04:00
Folkert
180d162b13 Revert "update hosts"
This reverts commit 0bcedb53a3.
2021-05-15 00:33:11 +02:00
Folkert
0bcedb53a3 update hosts 2021-05-15 00:32:42 +02:00
Folkert
8f95647c00 fix host.zig 2021-05-14 23:34:24 +02:00
Folkert
89ad21145b get scratchpad to run 2021-05-14 20:53:47 +02:00
Folkert
4e57b3b0d7 refactor quicksort example 2021-05-08 23:18:59 +02:00
Folkert
1ac66a8fee attempt to make examples more generic 2021-05-05 16:00:30 +02:00
Richard Feldman
5ca3423ade Fix custom free 2021-05-01 21:27:47 -04:00
Richard Feldman
3058cdd50a Add custom-malloc example 2021-05-01 20:59:56 -04:00
Folkert
7b3fa2b57b we can import aliases now! 2021-04-25 17:44:09 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Richard Feldman
688216955e Drop extraneous printing in CLI example 2021-04-15 18:32:57 -04:00
Richard Feldman
b0748b47d8 Make Echo.roc example executable 2021-04-15 18:32:57 -04:00
Richard Feldman
da7dffe0e9 roc run passes through arguments and exit code 2021-04-15 18:32:57 -04:00
Folkert de Vries
3b23cda370
Merge branch 'trunk' into parse-platform-rigids 2021-04-14 22:04:18 +02:00
Folkert
c68cd2fb2d fix and test 2021-04-14 22:03:03 +02:00
Folkert
64bc92c746 basic parsing 2021-04-14 13:03:31 +02:00
Richard Feldman
4310bc2962
Merge branch 'trunk' into task_write_file 2021-04-13 08:37:34 -04:00
Folkert de Vries
2115994f4b
Merge branch 'trunk' into parse-expr-underscore 2021-04-12 20:52:01 +02:00
Folkert
791fda0270 update cli example 2021-04-12 20:49:48 +02:00
rvcas
f984cbad89 feat(examples): implement writeUtf8 2021-04-11 23:43:37 -04:00
Richard Feldman
f16d1619ea
Merge pull request #1175 from rtfeldman/task_file_adjustments
Use Str.fromUtf8 in Task example
2021-04-11 12:43:03 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
rvcas
f65978d7d0 feat(examples): match on Err in Task example 2021-04-10 17:19:29 -04:00
rvcas
40251b5f28 fix(examples): Task example use Str.fromUtf8 2021-04-10 16:43:08 -04:00
Richard Feldman
a3c7dc494b Add HTTP error handling to CLI example 2021-04-06 22:45:04 -04:00
Richard Feldman
dba526bb3e Add Task.onFail and Task.attempt 2021-04-06 22:44:39 -04:00
Richard Feldman
4bb0852bd8 Add RocResult 2021-04-06 22:44:25 -04:00
Richard Feldman
80446a5dfb
Make HttpGet.roc print things a little more nicely 2021-04-05 22:26:46 -04:00
Richard Feldman
da75c3e4a1 Make use of tag literals being usable as functions
Thanks @rcvas!
2021-04-05 22:21:18 -04:00
Richard Feldman
61ae65905c Fix incorrect Http.getUtf8 type 2021-04-05 22:21:04 -04:00
Richard Feldman
aff8df814d Actually print the HTTP response 2021-04-05 22:12:03 -04:00
Richard Feldman
490427f730 Use ureq over reqwest 2021-04-05 22:11:48 -04:00
Richard Feldman
e052938837 Use reqwest::blocking::get in cli host 2021-04-05 21:19:08 -04:00
Richard Feldman
2d0f8482e9 Rename Http.getStr to Http.getUtf8 2021-04-05 21:18:49 -04:00
Richard Feldman
e96a799a01 Fix some warnings 2021-04-05 20:23:59 -04:00
Richard Feldman
30db822051 Add basic Http.roc 2021-04-05 20:15:47 -04:00
Richard Feldman
2c03303494 Update .gitignore 2021-04-05 20:15:39 -04:00
Richard Feldman
9e71f83cf5 Drop unused Task function 2021-04-05 20:15:16 -04:00
Richard Feldman
bd9e93f5ed Add initial Http module to cli example 2021-04-05 20:15:06 -04:00
Richard Feldman
5e2c4bdda4 Add reqwest and openssl deps to cli example 2021-04-05 20:14:43 -04:00
Richard Feldman
7b70e9b0e4 Update cli example platform 2021-04-03 22:14:25 -04:00
Richard Feldman
6dcea4f151 Use backpassing and await in task example 2021-04-03 22:03:00 -04:00
Richard Feldman
1de0918ba9 Echo example in CLI 2021-04-03 21:20:45 -04:00
Richard Feldman
659966c878 Revise CLI example 2021-04-03 21:20:45 -04:00
Richard Feldman
b944798fda Add a TODO about a bug 2021-04-03 21:20:45 -04:00
Richard Feldman
fd06781954 Add CLI example 2021-04-03 21:20:45 -04:00
Richard Feldman
b1c7e4c3a9 Update task example 2021-04-03 21:20:45 -04:00
Folkert
3c78fae8dc add putInt to the benchmark platform 2021-03-30 22:59:03 +02:00
Folkert
ce435c9437 make zig show runtime errors thrown by roc 2021-03-23 22:01:46 +01:00
Folkert
eef1cb2a69 use multi-backpassing in base64 example 2021-03-19 00:27:34 +01:00
Folkert
ecc689e84b Merge remote-tracking branch 'origin/trunk' into expression-move 2021-03-15 23:18:48 +01:00
Folkert
6da792c62d remove test executables from repo 2021-03-15 21:50:32 +01:00
Folkert
41bfb0b69a all tests working again 2021-03-15 21:49:19 +01:00
Richard Feldman
1f29fc4358
Merge branch 'trunk' into singleton-to-single 2021-03-15 00:42:59 -04:00
Richard Feldman
ce6969d31f Only do the compiler_rt workaround on macOS 2021-03-14 22:31:32 -04:00
Richard Feldman
58cf08349e Don't check in binaries in examples 2021-03-14 22:31:32 -04:00
Chadtech
7d78de110b Added comptime import compiler_rt to several host.zig files 2021-03-14 22:31:32 -04:00
Chadtech
b22672fb0e Changed singleton to single 2021-03-14 21:57:10 -04:00
Eric Henry
7354f0e8ea final test fix 2021-03-13 08:31:48 -05:00
Folkert
145aec8d78 fix logic 2021-03-03 22:39:09 +01:00
Folkert
d6499e5fa2 formatting 2021-03-03 22:37:44 +01:00
Folkert
76c9a15e37 refactor base64 example 2021-03-03 22:30:51 +01:00
Folkert
aca50dbd7c fully test closure things 2021-03-03 00:09:41 +01:00
Folkert
553e7145e5 start on bytes encode 2021-03-02 15:29:42 +01:00
Folkert
469bbae2f1 make type aliases unqualified importable 2021-03-02 14:48:44 +01:00
Folkert
3537fa57d2 decrement when the input is invalid utf8 2021-02-24 21:46:58 +01:00
Folkert
a6edc58323 make fromUtf8 do RC 2021-02-24 21:25:14 +01:00
Folkert
17a44aab02 fix whitespace 2021-02-24 16:40:56 +01:00
Folkert
aff8266f0f move astar test 2021-02-24 16:40:46 +01:00
Folkert
1c1c53ba95 flip map argument order 2021-02-24 16:38:49 +01:00
Folkert
c4972f45ba bit shift tests 2021-02-21 21:12:47 +01:00
Folkert
86cf7cd983 move file 2021-02-21 20:52:06 +01:00
Folkert
ad96d1ae24 trim comment 2021-02-21 20:45:26 +01:00
Folkert
e218279f42 add example files 2021-02-21 19:54:32 +01:00
Folkert
0f5500b564 add Quicksort.roc for use in AStar 2021-02-20 16:46:20 +01:00
Folkert
b60421c13f add Closure.roc 2021-02-19 23:01:27 +01:00
Folkert
ff20ab76ce put closure tests into one file 2021-02-19 21:29:33 +01:00
Folkert
9cfadb1b5a modify example code 2021-02-19 17:07:27 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00
Folkert
34007651ac fix Closure3 2021-02-18 20:27:37 +01:00
Folkert
0d64d5ac1b wrap by-pointer functions so they own all arguments 2021-02-18 19:11:02 +01:00
Richard Feldman
fe98229aa3
Merge branch 'trunk' into dict-more 2021-02-17 23:47:13 -05:00
Folkert
3be7df1cac fix tests 2021-02-17 22:56:37 +01:00
Folkert
b2e96be736 add closure tests 2021-02-16 23:20:30 +01:00