Re: pdd15: How do I subclass a parrot; PMC class?

2007-07-16 Thread Patrick R. Michaud
On Sat, Jun 30, 2007 at 06:21:39PM +0100, Jonathan Worthington wrote: Patrick R. Michaud wrote: This presumes that every PMC class also has a Namespace PMC associated with it that points to the class. I'm not sure that's true for Parrot PMC classes. It's what I've implemented, though

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-30 Thread Jonathan Worthington
Patrick R. Michaud wrote: This presumes that every PMC class also has a Namespace PMC associated with it that points to the class. I'm not sure that's true for Parrot PMC classes. It's what I've implemented, though whether it's The Design is another question that I'm not clear on the

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-29 Thread jerry gay
On 6/28/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: Another question about pdd15...: If I'm in a different HLL namespace (e.g., via a .HLL directive), how do I get a PMC class from the 'parrot' HLL namespace? Here is an example (which obviously won't work): I'm creating a 'perl6;Str'

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-29 Thread Patrick R. Michaud
On Fri, Jun 29, 2007 at 11:23:46AM -0700, jerry gay wrote: On 6/28/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: Another question about pdd15...: If I'm in a different HLL namespace (e.g., via a .HLL directive), how do I get a PMC class from the 'parrot' HLL namespace? Here is an

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-29 Thread jerry gay
On 6/29/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: On Fri, Jun 29, 2007 at 11:23:46AM -0700, jerry gay wrote: On 6/28/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: Another question about pdd15...: If I'm in a different HLL namespace (e.g., via a .HLL directive), how do I get a PMC

Re: pdd15: How do I subclass a parrot; PMC class?

2007-06-29 Thread Patrick R. Michaud
On Fri, Jun 29, 2007 at 11:45:18AM -0700, jerry gay wrote: On 6/29/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: On Fri, Jun 29, 2007 at 11:23:46AM -0700, jerry gay wrote: On 6/28/07, Patrick R. Michaud [EMAIL PROTECTED] wrote: .HLL perl6, ... $P2 = get_class

pdd15: How do I subclass a parrot; PMC class?

2007-06-28 Thread Patrick R. Michaud
Another question about pdd15...: If I'm in a different HLL namespace (e.g., via a .HLL directive), how do I get a PMC class from the 'parrot' HLL namespace? Here is an example (which obviously won't work): I'm creating a 'perl6;Str' class and then attempting to add (parrot's) String class as a