Commit graph

160 commits

Author SHA1 Message Date
Folkert
ada331567a respect int/float precision in pattern matchs 2021-09-18 22:55:34 +02:00
Richard Feldman
18231876be
Drop comment 2021-08-26 21:39:46 -04:00
Jared Ramirez
8594f2efbe Change how decimals are stored in mono 2021-08-26 11:18:26 -07:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00
Folkert
e0648d348d new formatting 2021-07-30 17:13:50 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
da495244c5 remove layout field in decision_tree 2021-07-24 12:44:46 +02:00
Folkert
ed28b02b57 shift store_pattern over to decision_tree 2021-07-11 01:06:22 +02:00
Folkert
e32a06b088 assign guarded patterns at the last moment 2021-07-11 00:39:30 +02:00
Folkert
78309f2607 cleanup 2021-07-10 23:49:24 +02:00
Folkert
e05753afd8 working decision tree gen for all tests 2021-07-10 21:28:32 +02:00
Folkert
541a62b109 cleanup: we either have a guard or a test, not both 2021-07-10 14:01:18 +02:00
Folkert
a22d1e9e4c peal of guarded tests 2021-07-10 13:56:13 +02:00
Folkert
8755465ad6 hash tests as the same 2021-07-10 13:55:27 +02:00
Folkert
0fbf540d69 move Guard into the Branch 2021-07-07 21:21:50 +02:00
Folkert
60311fc7ce refactor: return option 2021-07-07 16:11:28 +02:00
Folkert
8bca6ebdfd make fewer things pub 2021-07-04 23:10:44 +02:00
Folkert
1126921a9e refactor 2021-07-04 23:05:04 +02:00
Folkert
b1a136bf2e clippy 2021-07-04 22:44:36 +02:00
Folkert
2c0aa8a5a1 handle guards in a first-class way 2021-07-04 22:35:00 +02:00
Folkert
8f0c13ecc1 remove old handling of guard 2021-07-04 21:19:39 +02:00
Folkert
e7c88cac98 refactor guards 2021-07-04 21:17:57 +02:00
Folkert
b99f710c49 refactor 2021-07-04 20:12:50 +02:00
Folkert
b2792af5f6 add helper function 2021-07-04 15:10:32 +02:00
Folkert
978cea4b8a passing tests 2021-06-28 22:28:47 +02:00
Folkert
1d1bcaea63 make ir use different tag id types 2021-06-28 20:16:39 +02:00
Folkert
99d0d9c732 WIP 2021-06-27 13:49:49 +02:00
Folkert
98b4930054 rename 2021-06-21 23:14:05 +02:00
Folkert
f3b23a6a54 get rid of Wrapped 2021-06-21 23:10:56 +02:00
Folkert
205b168f16 rename 2021-06-21 23:02:49 +02:00
Folkert
a94f597e1e single record update 2021-06-21 22:26:53 +02:00
Folkert
ee941c9f2e cleanup 2021-06-21 21:25:51 +02:00
Folkert
7a36c25848 simpify pattern match on non-indexable values 2021-06-21 21:24:46 +02:00
Folkert
cc93da006d emit less MultiTagUnion 2021-06-21 20:56:03 +02:00
Folkert
3a6ef8a53d use in decision_tree 2021-06-20 23:53:57 +02:00
Folkert
454241a04f use GetTagId in one more place 2021-06-20 21:05:02 +02:00
Folkert
0de501554a use GetTagId 2021-06-20 20:49:36 +02:00
Folkert
bc8bd95b3d use union layout in mono patterns 2021-06-20 20:21:08 +02:00
Folkert
61c9de91dc make newtype wrappers explicit in pattern code 2021-06-20 20:14:27 +02:00
Folkert
e84559aa44 Revert "use union layout in mono patterns"
This reverts commit 9ba4885083.
2021-06-20 18:12:31 +02:00
Folkert
9ba4885083 use union layout in mono patterns 2021-06-20 18:12:18 +02:00
Folkert
11ed2cbcf8 special-case rose tree field access 2021-06-16 23:16:14 +02:00
Folkert
b622202d97 rename joinpoint field 2021-06-14 21:12:24 +02:00
Folkert
fdfc99e4e8 add constructor info in more cases 2021-05-26 21:51:18 +02:00
Folkert
498d3ba3b5 make sure to always switch on the tag id, not the tag itself 2021-05-26 20:18:59 +02:00
Folkert
4f376bf4f8 add call spec counter 2021-05-09 12:28:23 +02:00
Folkert
8799973ffe add update mode variables 2021-05-09 01:03:29 +02:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
2fce825366 pass by reference 2021-03-22 13:18:16 +01:00
Folkert
ca9048ee17 cleanup 2021-03-22 13:10:38 +01:00