I am trying to understand the Push program that is translated from a Plush program in these slides:
(exec_do*times (8 11) exec_if
(false code_quote (float_mult))
exec_rot (34.44) () ()))
exec_do*times will be popped first, right? And since there is nothing on the integer stack at this point, it will be a no-op?
If there was say a
3 on the integer stack, would it then pop the first item off the exec stack (
(8 11) ) and push that back onto the exec stack 3 times? I can't make heads or tails out of the implementation code.
I am trying to explain why having longer parenthesized code blocks is helpful, for the GPTP presentation. I am writing an example with
exec_do*times, but if you have a better instruction lemme know.