Commit graph

6629 commits

Author SHA1 Message Date
Folkert
9d756a3b2c generate unpacked tags in Crane 2020-03-17 15:26:21 +01:00
Folkert
c3d550116b make patterns store their bound variables 2020-03-17 14:04:26 +01:00
Folkert
6310341b7e Merge remote-tracking branch 'origin/trunk' into pattern-compilation 2020-03-17 12:49:30 +01:00
Richard Feldman
9d950389f5 Implement list cloning and List.set in Cranelift 2020-03-17 00:45:07 -04:00
Richard Feldman
c0d0675919 Clean up some comments and names 2020-03-17 00:44:35 -04:00
Richard Feldman
97d084e224 Reproduce List.set on a shared list failing 2020-03-16 21:55:38 -04:00
Richard Feldman
77bf2547ac Add sfe_to_memcpy 2020-03-16 21:55:24 -04:00
Richard Feldman
e7b391cd6b Improve some docs 2020-03-16 21:55:12 -04:00
Richard Feldman
f9e013793c Drop unused mono::Expr::Pointer 2020-03-16 21:47:08 -04:00
Richard Feldman
bfe7c1b330 Update a comment 2020-03-16 21:27:49 -04:00
Richard Feldman
ae0d2f09d1 Some more Str docs revisions 2020-03-16 20:55:31 -04:00
Folkert
c20f777dba comment tests that fail for llvm 2020-03-17 00:36:58 +01:00
Folkert
ab332a37c3 take the maximum of all tags when calculating layout 2020-03-17 00:36:58 +01:00
Folkert
444e3063e0 reserve tag union as array of bytes in llvm 2020-03-17 00:36:58 +01:00
Folkert
6ff22de9dd store/define tags in llvm 2020-03-17 00:36:58 +01:00
Folkert
72ca6d675c further tag support in Cranelift 2020-03-17 00:36:58 +01:00
Folkert
74ec3682a2 add tests 2020-03-17 00:36:58 +01:00
Folkert
5fca5fe631 collect tags from aliases 2020-03-17 00:36:58 +01:00
Folkert
c9a90c32e3 prepare for Tag code gen 2020-03-17 00:36:58 +01:00
Folkert
e742b77e0b parity with old implementation 2020-03-17 00:36:58 +01:00
Folkert
d875f8bfce implement layout for Tag 2020-03-17 00:36:58 +01:00
Folkert
8c7124aba6 first pass 2020-03-17 00:36:58 +01:00
Richard Feldman
6637bfb226 Add some more Str docs 2020-03-16 02:40:20 -04:00
Chad Stearns
346daa327e Merge branch 'trunk' of github.com:rtfeldman/roc into render-color-cli 2020-03-16 02:40:09 -04:00
Richard Feldman
3fa75dc2f7 Add Str.reverseClusters to docs 2020-03-16 02:28:22 -04:00
Richard Feldman
0ed8f90f11 Fix some type signatures in Str docs 2020-03-16 02:28:22 -04:00
Chad Stearns
9cdd7988fc Very start of render color terminal 2020-03-16 02:27:38 -04:00
Chad Stearns
f8dd2fb9a1 Very start of render color terminal 2020-03-16 02:22:07 -04:00
Richard Feldman
1bee949ad0 Fix some Str docs 2020-03-16 02:06:12 -04:00
Richard Feldman
aa3030ab85 Revise Str docs 2020-03-16 02:01:57 -04:00
Richard Feldman
d6e5aa3bdc Write some Str docs 2020-03-16 01:10:21 -04:00
Chad Stearns
009e1fa176 Small changes to region rendering 2020-03-15 20:57:32 -04:00
Richard Feldman
505e69f956 Remove a stray space missed by cargo fmt 2020-03-15 15:25:54 -04:00
Richard Feldman
455fabbe88 c to the l to the i p p y 2020-03-15 15:21:33 -04:00
Richard Feldman
6cd8afd5d6 Fix using structs with records 2020-03-15 15:13:52 -04:00
Richard Feldman
d546f4340d Improve an error message 2020-03-15 14:31:13 -04:00
Richard Feldman
010e390fd6 Make using records in defs work 2020-03-15 14:31:01 -04:00
Folkert
6e97734211 ensure Bit/Enum patterns are considered exhaustive 2020-03-15 14:42:57 +01:00
Folkert
8a46765fee add debug assert for possible invariant 2020-03-15 14:42:57 +01:00
Folkert
3ea748e532 remove extra check 2020-03-15 14:42:57 +01:00
Folkert
9207145792 remove unneeded error vec 2020-03-15 14:42:57 +01:00
Folkert
58fd1d64ff do exhaustiveness on mono patterns 2020-03-15 14:42:57 +01:00
Folkert
2e3f21b1ce add commented test 2020-03-15 14:42:57 +01:00
Folkert
cdf05bc425 remove (now unneeded!) default case 2020-03-15 14:42:57 +01:00
Folkert
58c09aeaba First pass at pattern exhaustivess checking 2020-03-15 14:42:57 +01:00
Folkert
5926ac2f01 stub out Tag layout 2020-03-15 14:42:57 +01:00
Folkert
6088a22cb6 WIP first version that runs 2020-03-15 14:42:57 +01:00
Richard Feldman
4033098dac Update some number docs 2020-03-15 01:24:41 -04:00
Richard Feldman
f3c9ac2b40 Try out some docs 2020-03-14 23:31:17 -04:00
Richard Feldman
5c3c30ed09 Fix List.get and List.set 2020-03-14 21:17:09 -04:00