On Friday, 10 June 2016 at 17:02:06 UTC, Adam D. Ruppe wrote:
https://github.com/adamdruppe/arsd/blob/master/script.d#L879
The function is pretty simple: interpret the left hand side
(here it is 1, so it yields int(1)), interpret the right hand
side (yields int(2)), combine them with the operator ("+") and
return the result.
Notice that interpreting the left hand side is a recursive call
to the interpret function - it can be arbitrarily complex, and
the recursion will go all the way down, then all the way back
up to get the value.
Ah, it produces mixin("1+2") and evaluates that.
What's the PrototypeObject sc I see everywhere doing?