fuse ac rules in ins-tree matching
commit56e2263ca46166ffffb814ae225faf08fd52248c
authorQuentin Carbonneaux <quentin@c9x.me>
Fri, 11 Feb 2022 07:42:28 +0000 (11 08:42 +0100)
committerQuentin Carbonneaux <quentin@c9x.me>
Tue, 9 Apr 2024 19:34:57 +0000 (9 21:34 +0200)
treebb14b115690c2f3c174d43d0aa14565e31a05f37
parent8a5e1c3a2359054af8bbcd7fa53785e0bb054390
fuse ac rules in ins-tree matching

The initial plan was to have one
matcher per ac-variant, but that
leads to way too much generated
code. Instead, we can fuse ac
variants of the rules and have
a smarter matching algorithm to
recover bound variables.
tools/match.ml
tools/match_test.ml