Leon Brocard wrote: > Jonathan Sillito sent the following bits through the ether: > > >>I have been playing with classes and instances for parrot. In >>the process I found I needed a way to pass more information when >>creating new pmcs. So the attached patch adds the op: >> new (out PMC, in INT, in PMC) >> > > Oh, I see nobody has replied to this yet. Well, in the past this > feature existed in Parrot, but then was taken out again, presumably > because there was a better way to do it. However, I'm not sure what > that way may be. Can anyone shed some light upon this?
As I wrote WRT array creation, we would need such an op to pass the data type (and for multiarrays the array dimensions). > Leon leo