GaloisInc / what4

Symbolic formula representation and solver interaction library
155 stars 13 forks source link

Add expression element identifier prettyprinter annotations #78

Open kquick opened 4 years ago

kquick commented 4 years ago

Now that what4 is changed to use prettyprinter output with the ability to annotate pretty-printed elements, it may be useful to create a concrete annotation type to identify the element type for rendering-time formatting (see https://github.com/GaloisInc/what4/pull/77#discussion_r530023412).

robdockins commented 3 years ago

What sorts of annotations do you have in mind?

kquick commented 3 years ago

We can have annotations for identifying literal values, operators, and the like that would allow for various highlighting or other formatting choices during the rendering phase.