Last updated
Was this helpful?
Last updated
Was this helpful?
Instead of writing a full-blown generator, it is possible to solve the task partly by making use of the built-in optimizer and study the relevant AST output
As you can see by examining the nested tree, the calculations are done as follows (expressed using a postfix notation)