Folkert
|
70cba33fe4
|
fix bug in decision_tree
|
2020-11-13 01:39:39 +01:00 |
|
Folkert
|
1cd8b21670
|
ugh clippy
|
2020-10-10 20:30:33 -04:00 |
|
Folkert
|
85f290f9be
|
cleanup, and remove reset-reuse stuff for now
|
2020-09-07 16:50:05 +02:00 |
|
Folkert
|
127dd06586
|
fix bug with optional record fields
|
2020-09-07 14:13:22 +02:00 |
|
Folkert
|
46755973d6
|
wip
|
2020-09-06 18:53:26 +02:00 |
|
Folkert
|
ceb938c9af
|
get tests working again
|
2020-09-06 00:26:41 +02: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 |
|
Folkert
|
20ddbeb528
|
implement optional fields in function pattern matches
|
2020-08-13 00:09:57 +02:00 |
|
Richard Feldman
|
3cc36e5198
|
Drop unused field
|
2020-08-10 19:27:29 -04:00 |
|
Richard Feldman
|
582ed7eda6
|
Drop commented-out code
|
2020-08-10 19:27:20 -04:00 |
|
Folkert
|
4caef70668
|
Merge remote-tracking branch 'origin/trunk' into refcount
|
2020-08-09 13:49:13 +02:00 |
|
Richard Feldman
|
3fe2a4e3fd
|
Drop unused jump_counter
|
2020-08-08 19:53:21 -04:00 |
|
Folkert
|
078c6df677
|
Merge remote-tracking branch 'origin/trunk' into refcount
|
2020-08-08 22:34:14 +02:00 |
|
Folkert
|
55eff50e36
|
good progress on Lean-based inc/dec
|
2020-08-07 23:22:59 +02:00 |
|
Folkert
|
2467815cef
|
rework how values from a pattern are assigned
|
2020-08-07 00:16:17 +02:00 |
|
Folkert
|
0fbcfc7431
|
fix clippy complaints
|
2020-08-06 21:39:55 +02:00 |
|
Folkert
|
9dbce40a55
|
remove now-unused mono files
|
2020-08-06 21:17:25 +02:00 |
|
Folkert
|
95365959f2
|
insert reset/reuse for Cond
|
2020-07-27 15:10:07 +02:00 |
|
Folkert
|
c85cee3bc0
|
compiling again
|
2020-07-26 23:20:41 +02:00 |
|
Folkert
|
b308ea0802
|
remove more clones
|
2020-07-25 17:06:13 +02:00 |
|
Folkert
|
ef9aa7773b
|
remove clones
|
2020-07-25 15:54:15 +02:00 |
|
Richard Feldman
|
588410395e
|
Monomorphize optional fields
|
2020-07-18 22:13:09 -04:00 |
|
Richard Feldman
|
52dfb75dc0
|
Fix some Int8s that should have been Int1s
|
2020-06-21 16:52:22 -04:00 |
|
Richard Feldman
|
ddf980e475
|
Use RunLowLevel over calling Bool.and
|
2020-06-21 15:25:03 -04:00 |
|
Richard Feldman
|
dec5c3a062
|
Get low-level ops compiling
|
2020-06-19 20:07:04 -04:00 |
|
Richard Feldman
|
c49abfe2de
|
Add layout to CallByName
|
2020-05-09 22:41:59 -04:00 |
|
Richard Feldman
|
2904f29c36
|
Have mono::expr::Env use IdentIds::gen_unique
|
2020-05-04 20:29:36 -04:00 |
|
Folkert
|
4530aa8c07
|
handle Unboxed
|
2020-04-23 21:55:21 +02:00 |
|
Folkert
|
848764cb25
|
improve formatting of records in pattern exhaustiveness errors
|
2020-04-23 21:49:24 +02:00 |
|
Folkert
|
b2a713915b
|
fix ordering bug in pattern exhaustiveness
|
2020-04-23 20:12:40 +02:00 |
|
Folkert
|
f0aa598ff9
|
use tag id instead of name in exhaustiveness checking
|
2020-04-21 16:24:43 +02:00 |
|
Folkert
|
c69b0d69e5
|
fix enum and bool pattern match suggestions
|
2020-04-12 21:47:15 +02:00 |
|
Folkert
|
39fb78b2d5
|
remove Jump/Label from mono::Expr
|
2020-03-24 00:11:02 +01:00 |
|
Folkert
|
958f3f9ad4
|
change pattern destructuring stores
they are now tracked in the Cond/Switch variants, rather than merged into the branch constructors. Required for 'beans'
|
2020-03-23 23:35:45 +01:00 |
|
Folkert
|
2bb69f333f
|
always Cond on a symbol
this will make 'beans' easier
|
2020-03-23 20:00:15 +01:00 |
|
Folkert
|
46062439b5
|
remove label from Struct layout
|
2020-03-23 17:55:02 +01:00 |
|
Folkert
|
9a0234e5dd
|
make bound variables available in guards
|
2020-03-22 01:11:19 +01:00 |
|
Folkert
|
1f3b8f7d68
|
guard exhaustiveness
|
2020-03-21 23:33:37 +01:00 |
|
Folkert
|
a16d48a6a9
|
code gen for simple guards
Guards cannot use variables bound in the pattern yet
|
2020-03-21 22:27:36 +01:00 |
|
Folkert
|
0f22cbbf7d
|
fix incorrect layout for Switch
|
2020-03-20 19:56:50 +01:00 |
|
Folkert
|
d0da300042
|
fix equality/hash issue
lead to tests not being merged/shared
|
2020-03-20 16:23:56 +01:00 |
|
Folkert
|
e062404a63
|
support more complex nested patterns
|
2020-03-20 14:27:07 +01:00 |
|
Folkert
|
f44fea42bb
|
Boolean and/or in cranelift
|
2020-03-20 00:59:26 +01:00 |
|
Folkert
|
82655556ab
|
exhaustiveness for record guards
|
2020-03-19 22:34:08 +01:00 |
|
Folkert
|
9745d86efb
|
add tests
|
2020-03-19 14:59:05 +01:00 |
|
Folkert
|
b93fe4e341
|
make arbitrary AccessAtIndex work
it now uses that actual layout, not a hardcoded one
|
2020-03-19 00:25:16 +01:00 |
|
Folkert
|
0996f264e7
|
simplify Byte layout
|
2020-03-18 22:22:32 +01:00 |
|
Folkert
|
c11f374eb0
|
simplify Bool layout
|
2020-03-18 22:15:03 +01:00 |
|