Commit graph

816 commits

Author SHA1 Message Date
Richard Feldman
50251c678b
Merge branch 'trunk' into str-concat 2020-08-19 23:05:13 -04:00
Chad Stearns
8b582d4835 Fix some names and some comments 2020-08-19 20:04:00 -04:00
Folkert
0e5283efd2 Merge remote-tracking branch 'origin/trunk' into infer-borrow 2020-08-19 23:56:29 +02:00
Folkert
bfa11cf6b0 appease the clipman 2020-08-19 23:46:56 +02:00
Folkert
fa5e5ab201 back to a working version 2020-08-19 23:42:45 +02:00
Chad Stearns
72558c61f1 Implemented Str.concat 2020-08-19 02:00:49 -04:00
Chad Stearns
2f2763351d Change parameters to List.concat. Now it is less dependent on &args 2020-08-19 02:00:40 -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
4d4379ae2d Put str literal implementation under if statement checking if its empty 2020-08-17 03:26:18 -04:00
Richard Feldman
504d7b65e2 Str and List have the same layout now 2020-08-16 16:37:25 -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
Folkert
294273283b make shared quicksort work 2020-08-15 00:14:20 +02: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
Folkert
5ca843822f implement optional fields in let bindings and when 2020-08-13 01:39:59 +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
Chad Stearns
6e4c24735b Use allocate_list in List.concat for combined_list_ptr 2020-08-11 19:04:59 -04:00
Chad Stearns
29c0bfa65d Use allocate_list in clone_nonempty_list 2020-08-11 19:01:18 -04:00
Chad Stearns
77b4c5d8b6 Merge in remote trunk and resolve conflicts 2020-08-11 18:18:05 -04: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
84a8b69437 generate IR that uses uniqueness 2020-08-11 14:47:14 +02:00
Richard Feldman
8803cb9523 Remove an unnecessary newline diff 2020-08-10 23:22:47 -04:00
Richard Feldman
35e132e6d7 Fix quicksort benchmark 2020-08-10 21:25:47 -04: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
Chad Stearns
76a31fb945 Comply with clippyg 2020-08-10 02:10:04 -04:00
Chad Stearns
331695b85c Rename some indices 2020-08-10 00:53:50 -04:00
Chad Stearns
e65c0cafbb Incrementing index loop helper, deleted some comments, refactored List.concat to avoid some duplicate code work 2020-08-10 00:45:29 -04:00
Chad Stearns
9662ca6bd6 Use bounds_check_comparison more widely 2020-08-09 13:31:39 -04:00
Folkert
d927f1e83c fix merge conflicts 2020-08-09 11:47:44 +02:00
Chad Stearns
8b315d8e4a Moved list code gen into build_list module 2020-08-09 02:30:41 -04:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount 2020-08-08 19:54:10 -04:00
Folkert
f8143e3e53 perform copy propagation 2020-08-09 00:48:53 +02:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +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
4e906a5156 No phi node at all, just an conditional branch 2020-08-08 01:26:25 -04:00
Chad Stearns
e47c847118 Entire inner loop happens in phi2 node, rather than phi2 node happening inside loop 2020-08-08 00:44:15 -04:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00
Folkert
55eff50e36 good progress on Lean-based inc/dec 2020-08-07 23:22:59 +02: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
0fbcfc7431 fix clippy complaints 2020-08-06 21:39:55 +02:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Chad Stearns
c73e77b5ef Bring up variables out of inner loop 2020-08-05 23:23:40 -04:00