Closed arthurpaulino closed 2 years ago
We currently have one simp rule that's inside the code generator.
A more structured way to do simplification is to make it a post-processing step, with several other rules in a loop that terminates when the AST doesn't change anymore.
We currently have one simp rule that's inside the code generator.
A more structured way to do simplification is to make it a post-processing step, with several other rules in a loop that terminates when the AST doesn't change anymore.