in reply to Re^4: Callstack manipulation?
in thread Callstack manipulation?

> Are there any opcodes allowing to manipulate the call stack?

Ok, at least one can manipulate the stack with XS, I found some examples in Advanced Perl Programming, describing macros to do so!

8 )

(over 10 years old but still an interesting read *)

UPDATES:

  • Concerning coro: AFAIS the coroutines get separated lexical variable spaces, complicating a Gather/Take-Algorithm to access "surrounding" variables.
  • * I was talking about the first edition!