Commit graph

264 commits

Author SHA1 Message Date
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
Folkert
d821a17413 fix recursive tag unions too 2020-11-24 23:47:57 +01:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
1e4f0e8b07 correct alignment in records! 2020-11-24 21:28:53 +01:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Folkert
2691ec7998 fix offset calculation 2020-11-17 15:06:15 +01:00
Folkert
c11d97f3e7 Merge remote-tracking branch 'origin/trunk' into recursive-tag-segfault 2020-11-17 02:52:13 +01:00
Folkert
2082d6e57f add alignment_bytes 2020-11-17 02:33:17 +01:00
Richard Feldman
346248a7c0
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
2020-11-15 12:04:43 -05:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Folkert
154b5cc29f get RBTree.balance to compile 2020-11-14 02:49:28 +01:00
Folkert
8db74298a2 Merge remote-tracking branch 'origin/trunk' into red-black-tree 2020-11-13 01:45:31 +01:00
Folkert
a431af660d give better debug info for unresolved type variables 2020-11-12 22:28:58 +01:00
lrosa007
5c69fd1205 start Layout::Union case 2020-11-09 20:21:44 -05:00
Folkert
c20b40a7d2 fix zero-sized closures 2020-11-08 03:08:13 +01:00
Folkert
2267a1174a introduce PhantomEmptyStruct 2020-11-08 03:08:12 +01:00
Folkert
3d092cb9b7 in theory allow non-function effects values
this does not work due to limitations with functions in tag unions
2020-11-08 03:07:59 +01:00
Folkert
2a872f180a some foundations for zero-sized values in closures 2020-11-08 01:55:06 +01:00