Commit graph

3906 commits

Author SHA1 Message Date
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
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
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
Richard Feldman
771570bc3c Update more docs 2020-08-15 10:01:11 -04:00
Chad Stearns
a81504720b Str.concat tests and definition set up 2020-08-15 02:45:52 -04:00
Folkert
b0e4a3fd47 make join points use borrow signature 2020-08-15 00:16:03 +02:00
Folkert
294273283b make shared quicksort work 2020-08-15 00:14:20 +02:00
Richard Feldman
73d826ce36 Update some docs 2020-08-14 09:46:06 -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
Folkert
d8c71c23f4 thread in borrow signature inference 2020-08-13 20:56:33 +02:00
Richard Feldman
295cb00499 wip 2020-08-12 23:18:40 -04:00
Richard Feldman
3f0b08a992 Have Stmt::new accept LayoutCache 2020-08-12 23:14:06 -04:00
Richard Feldman
8751e4bd00 Make pattern_vars be a slice 2020-08-12 23:08:43 -04:00
Richard Feldman
a4f4da7f5a Add Debug to LayoutCache 2020-08-12 23:05:51 -04:00
Richard Feldman
31811410ee cargo fmt 2020-08-12 23:03:09 -04:00
Richard Feldman
2173bc6f6f
Drop commented-out code 2020-08-12 22:48:36 -04:00
Richard Feldman
84789d3077
Drop commented-out code 2020-08-12 22:48:28 -04:00
Richard Feldman
fe0da7a8d7 Appease clippy 2020-08-12 22:33:10 -04:00
Folkert
c52f866d8a fix tests 2020-08-13 01:40:03 +02: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
b05e126d78 add more tests 2020-08-13 00:19:01 +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
2963c44cc6 change tests after branching improvements 2020-08-12 01:36:38 +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
1e9f8e8764 Update test_mono expectations 2020-08-10 23:14:56 -04:00
Richard Feldman
2eab24015c Diff lines on failed test_mono tests 2020-08-10 23:01:37 -04:00
Richard Feldman
b442b9c27a Don't change env.home in specialize_all 2020-08-10 23:01:17 -04:00
Richard Feldman
49a6bd86b4 Procs now store pending specializations by default 2020-08-10 23:00:54 -04:00
Richard Feldman
497a5af72d Avoid a clone 2020-08-10 22:59:14 -04:00
Richard Feldman
8d0c1ddc68 Drop obsolete mono::expr module 2020-08-10 21:25:47 -04:00
Richard Feldman
854f7bb35b Improve an error message 2020-08-10 21:25:47 -04:00
Richard Feldman
c97317789e Improve a comment 2020-08-10 21:25:47 -04:00
Richard Feldman
f4545e8bf7 Expose module thunks 2020-08-10 21:25:47 -04:00
Richard Feldman
35e132e6d7 Fix quicksort benchmark 2020-08-10 21:25:47 -04:00