CSU-CS-Melange / AlphaZ

MIT License
1 stars 0 forks source link

Reduction Operator Discarded When PrintAST Called #26

Closed JCampbellBradley closed 10 months ago

JCampbellBradley commented 10 months ago

When PrintAST is called on a system that has a reduction, the operator used in that reduction does not appear in the output of PrintAST. Two systems that are identical except for the operator used in their respective reductions will produce identical ASTs, when one would expect the outputs to differ with respect to the operator.

lnarmour commented 10 months ago

This is fixed. You should see |+— ADD, |+— MUL, etc. in the outputs now.