Georg Brandl
|
7f52239cab
|
consts: convert to using a struct with state
Struct has the context reference (as an Option) and the
needed_resolution flag.
|
2015-08-17 19:58:21 +02:00 |
|
Georg Brandl
|
a2dcbfea65
|
const eval: implement ! for integers
|
2015-08-17 16:45:56 +02:00 |
|
llogiq
|
a2ee637be6
|
added test and fixed negativity check in Partial{Eq, Ord} impl
|
2015-08-17 16:24:57 +02:00 |
|
llogiq
|
c47402416b
|
Added bit operations to const folding
|
2015-08-17 15:11:36 +02:00 |
|
llogiq
|
4394362836
|
dogfooding
|
2015-08-17 13:23:17 +02:00 |
|
llogiq
|
9f134f8e95
|
added PartialEq/PartialOrd to ConstantVariant, used to implement comparing binops
|
2015-08-17 13:18:14 +02:00 |
|
llogiq
|
84abfcd22d
|
fix 189, fixed a few warnings, ==/!= for consts, refactored consts test
|
2015-08-17 11:43:36 +02:00 |
|
llogiq
|
759b45a46d
|
made is_negative(..) public (+doctest), fixed identity_op and precedence
|
2015-08-16 23:09:56 +02:00 |
|
llogiq
|
4244f2479f
|
dogfooding, part 2
|
2015-08-16 16:09:00 +02:00 |
|
llogiq
|
fe0de07b28
|
dogfooded
|
2015-08-16 16:05:51 +02:00 |
|
llogiq
|
03c7d7074d
|
With working test now
|
2015-08-16 15:56:09 +02:00 |
|
llogiq
|
f23af0cfd5
|
changed const to consts to avoid keyword, added test, fixed a lot of bugs
|
2015-08-14 17:14:54 +02:00 |
|