Theoratically speaking: If it's possible to safely do a 'goto &sub' without leaving the call frame, why shouldn't it be possible to simulater this state of the engine right after the call ... it's just a "return" without moving the process-pointer.
I'm not to fond about XS but maybe it would be possible to add this behaviour by intergrating special C Code manipulating the stack.
Saying this a have only a superficial knowledge of the interpreter, maybe someone can point to serious sideeffects which strictly disallow this approach.
In reply to Re^2: Callstack manipulation?
by LanX
in thread Callstack manipulation?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |