What I would like to be more clear are the various calling conventions
adopted in Parrot . From what I have read  in the docs and in the book
Parrot supports both a stack call  ( there is a stack that keeps return
address ) and continuation passing style. I read also that the same stack
contains exceptions handlers. What are not clear to me are the various
relationships that are possible between these three elements. For example:
What happens when an exception is thrown and traversing the stack results in
a return address because the stack does not contain an handler for the
exception. And what happens in the same scenario when we are in a
continuation? Also with this design it seems to me that a continuation
should also carry a copy of the control stack to correctly restore the
calling environment so the principle that says that CPS does not need a
stack does not hold in this case.
Thanks,
Register.
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to