dfintha / exprparser

Very basic expression parser written in C++.
0 stars 0 forks source link

Add syntax tree optimization #2

Closed dfintha closed 4 months ago

dfintha commented 5 months ago

As an additional step between parsing and evaluation, add syntax tree optimization, which simplifies away parts of the tree known at parse-time (binary operators on literals).