Commit graph

333 commits

Author SHA1 Message Date
Folkert
418be685ad store tag id in closure unions 2021-02-18 02:50:07 +01:00
Folkert
6d6c7a294a improved debug printing of layouts 2021-02-17 00:39:34 +01:00
Folkert
57e8d5b4c3 implement Set inclusion functions 2021-02-14 23:57:35 +01:00
Folkert
bacc7a9c6b fuse RC operations on records/closures 2021-02-13 02:03:36 +01:00
Folkert
0ed87828e5 Merge remote-tracking branch 'origin/trunk' into dict 2021-02-10 15:02:53 +01:00
Folkert
dc5eec189c report unexposed values 2021-02-07 01:17:46 +01:00
Chadtech
69fcbf70ea
Merge branch 'trunk' into dict 2021-01-31 15:46:22 -05:00
Folkert
936bf459eb initial version of rc optimization 2021-01-28 13:14:54 +01:00
Chadtech
d787d3ef7b
Merge branch 'trunk' into dict 2021-01-25 20:25:37 -05:00
Folkert
54fb482b79 Merge remote-tracking branch 'origin/trunk' into list-empty-record 2021-01-23 15:24:05 +01:00
Folkert
513d7cd78f groundwork for RoseTree 2021-01-23 01:39:04 +01:00
Chadtech
609bb21fad Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-21 22:46:47 -05:00
Chadtech
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05:00
Folkert
cf0b1ba206 clippy 2021-01-17 02:29:52 +01:00
Folkert
c1cf43eda3 simple implementation of NullableUnwrapped 2021-01-17 00:38:30 +01:00
Folkert
2ce35cca28 fix block_of_memory creation for recursive layouts 2021-01-17 00:38:30 +01:00
Folkert
c8970bbe45 remove field 2021-01-17 00:38:30 +01:00
Folkert
0cac94d11d add comments 2021-01-17 00:38:30 +01:00
Folkert
de666c575f refactor union layout 2021-01-16 16:31:43 +01:00
Folkert
c85fa58648 a working state again 2021-01-16 01:55:38 +01:00
Folkert
c4e2b4f5cc clippy 2021-01-15 21:18:11 +01:00
Folkert
167858ef06 reach the unreachable 2021-01-15 02:09:36 +01:00
Folkert
51cad15399 create NullableUnion in some cases 2021-01-15 01:02:34 +01:00
Folkert
b47ccb20fd add NullableUnion layout 2021-01-15 00:25:28 +01:00
rvcas
56ff1fe463 feat: recursive tag unions store head on heap not stack 2021-01-09 10:54:53 -05:00
Folkert
5256b1aa5c also default to i64/f64 for rigid vars 2021-01-04 23:36:17 +01:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
Jared Ramirez
faa8f66b6c Add gen support for Nat 2021-01-01 17:40:47 -06:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Folkert
bcf1c46afe be more specific about int/float precision 2020-12-31 22:46:29 +01:00
Jared Ramirez
791a0e9404 Use precision in mono/ir to determine which number to generate 2020-12-29 09:33:55 -06:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Jared Ramirez
5e332cbad9 [WIP] F32 gen 2020-12-28 14:50:01 -06:00
Jared Ramirez
9b1769b3fb Add basic tests for number gen 2020-12-28 14:50:01 -06:00
Folkert
29e726591f make empty tag union compile 2020-12-27 01:01:18 +01:00
rvcas
c9308c0662 add new layer to the Num types 2020-12-21 09:56:11 -05:00
Chadtech
cd6e6e6e4f
Merge branch 'trunk' into rename-map-to-dict 2020-12-11 23:39:10 -05:00
Chadtech
61728fd1d1 Merge branch 'trunk' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 20:21:40 -05:00
Folkert
539f173472 set correct closure tag_id 2020-12-11 20:25:15 +01:00
Chadtech
224823eb93 EmptyMap renamed to EmptyDict 2020-12-10 21:00:36 -05:00
Folkert
f5c267acf4 fix problem with empty closures still considered closures 2020-12-10 23:58:53 +01:00
Folkert
84421ad06d fix bug in closure argument unpacking 2020-12-10 20:45:59 +01:00
Folkert
a9b3c74f2e don't drop empty records from layouts 2020-12-10 15:04:42 +01:00
Chadtech
2a068941b2 Resolve conflicts 2020-12-08 16:56:52 -05:00
Chadtech
b24933324a Changed Map to Dict in many tests 2020-12-08 16:55:33 -05:00
Folkert
fc85761783 fix issue with one-element records containing a union in the closure argument 2020-12-08 16:05:51 +01:00
Chadtech
4dbd4fa893 More instances of Map renamed to Dict 2020-12-08 01:40:08 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Folkert
0a8415b48e fix closure not decremented 2020-12-02 22:51:16 +01:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00