Closed nmheim closed 5 months ago
@0x0f0f0f should the VECEXPR_FLAG_ISTREE
be called VEXEXPR_FLAT_ISEXPR
to follow TI?
Updated EClass
printing as well, let me know what you think:
EClass #7 with 3 e-nodes:
data: nothing
nodes:
UInt64[0x40bf97fbe165fe33, 0x0000000000000011, 0x6b268fa6aca9af40, 0x0000000000000003, 0x0000000000000001]
UInt64[0x1f151e2f9e110a6f, 0x0000000000000011, 0x6b268fa6aca9af40, 0x0000000000000001, 0x0000000000000003]
UInt64[0xbf224d67bfbdd6b4, 0x0000000000000011, 0x124165ec9b19c768, 0x0000000000000001, 0x0000000000000001]
This fixes the
GraphViz.jl
visualizations and makes printing egraphs a bit more friendly:I could also add a couple of lines to the
EGraph
/EClass
doc strings to describe how to get eclasses/enodes printed as their expressions and not as IDs from theVexExpr
, what do you think @0x0f0f0f ?