[RFC] clone semantics
Allison Randal
allison at parrot.org
Sat Mar 13 21:42:34 UTC 2010
On 3/12/10 1:54 PM, Peter Lobsinger wrote:
>>> These PMCs are expected to provide a certain vtable-based API (I
>>> should document that somewhere)
>>
>> Yes, please write up briefly for PDD 17, and pass the patch around the list
>> for review.
>
> Please find attached a proposed patch for PDD 17.
+1
For freeze, thaw, and visit, instead of replacing the "what it's doing"
description with "how it's doing it", keep both parts. For example, on
freeze:
Freeze the PMC to an archived string format. Pushes the attributes of
the PMC that are guaranteed to be non-cyclic (usually C<INTVAL>s,
C<FLOATVAL>s, and C<STRING>s) onto a visitor. Used to store the PMC as a
bytecode string constant that can be saved in a packfile.
Thanks!
Allison
More information about the parrot-dev
mailing list