How to say "provides foo" in PIR?
Will Coleda
will at coleda.com
Mon Jan 19 08:11:11 UTC 2009
When constructing a PMC, I can say "provides something" in the pmclass
declaration. I just tried converting a PMC with this annotation to
PIR, and couldn't find a way to set this.
Looks like that declaration modifies the provides_str member of the
PMC; searching for provides_str gives me (outside of the PMC code
generation), no way to set this.
Any suggestions?
At the moment, I'm using this feature in partcl to distinguish between
two different kinds of hashes without having to actually specify the
type name, so this is blocking a conversion to a class for this PMC
(which is in turn blocking some development work.)
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list