I've reviewed pdd03 and brought it back from pdds/clip.  Mostly it's
the same as before, albeit with clarifications and a few flag bits
renamed to match PIR.  I have made a couple actual changes, though.
On the small side, there's a barest hint of named parameters.

Most importantly, I've proposed (but not mandated) a get_params flag
called "READONLY", which automatically creates a read-only wrapper
around a PMC parameter.  The primary use case is Perl 6's default
argument mode; without some native code support for readonly alias
creation, I think it'll be too slow to be practical.

On the other hand, Perl 6 may be the only language that has these
specific semantics, so Parrot should perhaps butt out.

On the gripping hand, Perl 6 could always invent a customized
"readonly" opcode to do what it wants before we put it into the base
Parrot calling convention, so it may not be necessary to do this yet.

Autrijus, what do you think about READONLY aliasing in get_params
vs. outline pbc?  Is core support premature?
-- 
Chip Salzenberg <[EMAIL PROTECTED]>

Reply via email to