Gina Peter BanyardGirgias@phpc.social
Jan 14, 2025, 2:27 AM@euneuber @thephd
This is possibly a really really dumb idea for handling the temporaries.
Would something like `_Operator(op1, op2, left, middle, right, temp_destructor)` that code gen:
```
T1 = left op1 middle;
R = T1 op2 right;
temp_destructor(T1);
```
Work?
Yes this means you'd need to write a _lot_ of these if you support multiple operators. But this would be explicit, and if you add some attributes like associative and commutative to help rearranging that would reduce the combinations.