Commit graph

10 commits

Author SHA1 Message Date
Simon Cruanes
9ea8ba9bd1
feat: implement some const decoders 2022-09-25 23:05:15 -04:00
Simon Cruanes
7b4404fb78
feat(tracing): introduce term/const serialization
- use a record instead of 1st class module for `Const.ops`, so it
  can be mutually recursive with the definition of `term`
- remove unused `Const.ops.opaque_to_cc`
- constants are serializable using `Ser_value`
2022-09-23 22:13:21 -04:00
Simon Cruanes
8811699410
feat(term): add open_eq 2022-09-10 14:09:55 -04:00
Simon Cruanes
80b08e03cb
feat(const): add opaque_to_cc property, to control CC 2022-08-31 00:41:42 -04:00
Simon Cruanes
dff65c5d26
refactor: Term.abs takes store again, so abs false can be false,true 2022-08-22 22:12:26 -04:00
Simon Cruanes
0ff197d56c
perf(core): have eq and not_ be simplying
- `a=b` and `b=a` are now the same
- `not (not u)` and `u` are now the same
2022-08-22 22:01:02 -04:00
Simon Cruanes
010451145c
fix(core-logic): bad constant for ite 2022-08-08 21:16:54 -04:00
Simon Cruanes
36204c5e5e
refactor some more 2022-07-30 23:04:49 -04:00
Simon Cruanes
1ecb189fd5
refactor: core and CC 2022-07-30 21:17:20 -04:00
Simon Cruanes
68c03a39b3
feat(core-logic): add a few builtins (=, bool, ite, not, true, false) 2022-07-28 20:50:12 -04:00