Commit graph

654 commits

Author SHA1 Message Date
Chad Stearns
72558c61f1 Implemented Str.concat 2020-08-19 02:00:49 -04:00
Chad Stearns
e71e33c34e Merge branch 'trunk' of github.com:rtfeldman/roc into str-concat 2020-08-18 19:54:41 -04:00
Chadtech
485626ce61
Merge branch 'trunk' into remove-nul-terminator-str-literal-implementation 2020-08-17 03:26:49 -04:00
Chad Stearns
eb89367159 Comment in str test 2020-08-17 03:24:00 -04:00
Chad Stearns
8960c0e0a0 Comment out llvm error messages 2020-08-17 03:23:28 -04:00
Richard Feldman
608c4eebd9 Drop unnecessary arg_basic_types 2020-08-16 16:17:10 -04:00
Chad Stearns
4ded732a09 Implement String literals as lists of bytes instead of null terminating c-strings 2020-08-16 04:38:24 -04:00
Chad Stearns
a81504720b Str.concat tests and definition set up 2020-08-15 02:45:52 -04:00
Chad Stearns
0a725eff3c Base definition of List.map, but not real implementation, and the tests fail 2020-08-14 02:10:20 -04:00
Richard Feldman
3f0b08a992 Have Stmt::new accept LayoutCache 2020-08-12 23:14:06 -04:00
Folkert
5ca843822f implement optional fields in let bindings and when 2020-08-13 01:39:59 +02:00
Folkert
3e12f1a309 Merge remote-tracking branch 'origin/tail-call-elimination' into gen-optional-field 2020-08-13 00:21:21 +02:00
Folkert
20ddbeb528 implement optional fields in function pattern matches 2020-08-13 00:09:57 +02:00
Folkert
380e34d296 Merge remote-tracking branch 'origin/trunk' into tail-call-elimination 2020-08-12 15:46:50 +02:00
Folkert
8c86836101 add TCE 2020-08-12 14:03:55 +02:00
Folkert
bdd8751107 start work on tail recursion 2020-08-12 12:57:20 +02:00
Folkert
8444c1fe6d always implicitly leak memory in tests (never free on the roc side) 2020-08-12 01:38:42 +02:00
Folkert
7603225fca generate return earlier, causing more TCE 2020-08-11 22:30:34 +02:00
Richard Feldman
12ed20b5cd Use fast calling convention internally 2020-08-11 09:02:26 -04:00
Folkert
25e96fcade fix stack overflow in inc/dec 2020-08-10 22:31:20 +02:00
Folkert
ac6d72d077 fix some test failures 2020-08-10 21:41:47 +02:00
Folkert
79ea62b9d4 make uniqueness change codegen 2020-08-10 21:13:57 +02:00
Folkert
8f7d842d41 apply optimization passes 2020-08-10 13:34:28 +02:00
Folkert
4caef70668 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-09 13:49:13 +02:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount 2020-08-08 19:54:10 -04:00
Richard Feldman
3fe2a4e3fd Drop unused jump_counter 2020-08-08 19:53:21 -04:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Folkert
5082d40ff5 clean up test imports 2020-08-08 21:56:43 +02:00
Folkert
a015dad566 hook up list inc/dec 2020-08-08 21:42:14 +02:00
Folkert
a248a92d9f generate inc/dec in procs 2020-08-08 18:54:28 +02:00
Chad Stearns
0f717ac45a Merge branch 'list-join' of github.com:rtfeldman/roc into list-join 2020-08-08 01:07:52 -04:00
Chad Stearns
12c0cfca21 Comment back in the optimized code gen evaluation 2020-08-08 01:07:08 -04:00
Chadtech
b219125892
Merge branch 'trunk' into list-join 2020-08-08 00:50:13 -04:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00
Richard Feldman
c8e647ccfc Use is_zero_sized to remove lots of ptr_bytes 2020-08-07 20:08:06 -04:00
Folkert
2467815cef rework how values from a pattern are assigned 2020-08-07 00:16:17 +02:00
Folkert
f31c116f7c fix warnings in test files 2020-08-06 21:50:22 +02:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
5ff5def504 rename test macros 2020-08-06 18:42:28 +02:00
Folkert
dab6621127 opt tests 2020-08-06 17:05:18 +02:00
Folkert
40b68f7e99 all gen tests are passing 2020-08-06 14:08:33 +02:00
Chad Stearns
910389cef2 Fully developed list_join tests 2020-08-05 23:24:04 -04:00
Folkert
db0bed2fe7 mostly fix issues with patterns/guards/switch/cond 2020-08-06 01:09:42 +02:00
Folkert
c18bbe9a63 join points with arguments 2020-08-05 22:33:07 +02:00
Folkert
b22fa7c9cd gen empty list correctly 2020-08-05 16:48:06 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Chad Stearns
450c36e3c5 List.join loops implemented, but not working 2020-08-02 15:03:12 -04:00
Chad Stearns
a9ab550c10 List.join builtin and unification 2020-08-01 22:28:09 -04:00
Folkert
5548bf136d conditionally leak memory 2020-08-01 21:37:54 +02:00
Folkert
5d22b6a9cf ensure list elements are aligned 2020-08-01 17:38:59 +02:00