Re: Attribute questions

2004-04-14 Thread Dan Sugalski
At 7:42 AM +0100 4/13/04, Piers Cawley wrote: Dan Sugalski <[EMAIL PROTECTED]> writes: At 6:53 PM +0100 4/8/04, Mark Sparshatt wrote: I've got a couple of questions about Atrributes in Parrot. PDD15 says that both classes and objects have a list of attributes and it is possible to add or remov

Re: Attribute questions

2004-04-12 Thread Piers Cawley
Dan Sugalski <[EMAIL PROTECTED]> writes: > At 6:53 PM +0100 4/8/04, Mark Sparshatt wrote: >>I've got a couple of questions about Atrributes in Parrot. >> >> PDD15 says that both classes and objects have a list of attributes and >> it is possible to add or remove attributes to a class but not an >>

Re: Attribute questions

2004-04-08 Thread Mark Sparshatt
Dan Sugalski wrote: At 6:53 PM +0100 4/8/04, Mark Sparshatt wrote: It seems that for Ruby instance variables can be modelled using attributes, but I couldn't see any way of handling class variables. So, what is the recommended way of handling them? First, one takes the bat labeled "Metaclasse

Re: Attribute questions

2004-04-08 Thread Dan Sugalski
At 6:53 PM +0100 4/8/04, Mark Sparshatt wrote: I've got a couple of questions about Atrributes in Parrot. PDD15 says that both classes and objects have a list of attributes and it is possible to add or remove attributes to a class but not an object. Am I right in thinking that the attribute lis

Attribute questions

2004-04-08 Thread Mark Sparshatt
I've got a couple of questions about Atrributes in Parrot. PDD15 says that both classes and objects have a list of attributes and it is possible to add or remove attributes to a class but not an object. Am I right in thinking that the attribute list for an object is just a copy of the attribute