v-nys / cclp

A rewrite of my implementation of the Compiling Control technique, in Racket.
MIT License
1 stars 0 forks source link

make synthesis compatible with abstract conjunct normalization #81

Open v-nys opened 6 years ago

v-nys commented 6 years ago

Normalization of abstract conjunctions is functional, but applying it as a form of post-processing causes the appearance of inconsistent tree nodes. For instance, if the selected conjunct at any point is a multi, but the multi is moved right due to normalization, the selected conjunct becomes a regular abstract atom. At that point, the tree has to change, as well, because it is not possible to apply unfold:one or unfold:many to an abstract atom.