I cited this out of subs.pod:

"Parrot comes with different subroutine and alike classes which implement
CPS (Continuation Passing Style) and PCC (Parrot Calling Conventions)
F<docs/pdds/pdd03_calling_conventions.pod>." 

I don't get this. Could anybody rephrase it for me?

Later:

=head2 Items in the Subs Context

  Subtype Controlstack PadStack   UserStack  Warnings
  ------------------------------------------------------------
  Sub                    -              -              -              X
  Closure                             X                             X
  Continuation      X             X             X             X
  Coroutine          X             X             X             X

What are "-", "X", and " "(whitespace) supossed to mean there?
Do these indicate that Sub has ControlSatck, PadStack, UserStack
as parts of its context but Warnings which do not belong to it?  Or quite
the contary, as in the case of Coroutine, "X" points out everything forms
context? And if this is the case, "+" woud be more clear.

Why is Eval not there? Does it have no context?

More:

"If items in the interpreter context are changed between creation of the
subroutine/return continuation and its invocation, the C<updatecc> opcode
should be used:"

What items? Items of the interpreter context or items of the Sub context
mentioned above? Is there any difference betwen these? How do I know
items are changed?

Thanks.

Reply via email to