[PASM] PerlHash and keys

2003-01-02 Thread Jerome Quelin
Hi there, How can one retrieve the keys of a PerlHash in Parrot assembly? Is there a way to traverse a hash? Jerome -- [EMAIL PROTECTED]

Re: [PASM] PerlHash and keys

2003-01-02 Thread Leopold Toetsch
Jerome Quelin wrote: Hi there, How can one retrieve the keys of a PerlHash in Parrot assembly? Is there a way to traverse a hash? Not yet. There is a nextkey_keyed mentioned in pdd02_vtables.pod, which would almost be all to implement aggregate iterators. Missing is IMHO how to reset (start

Re: [PASM] PerlHash and keys

2003-01-03 Thread Aldo Calpini
Leopold Toetsch wrote: > There is a nextkey_keyed mentioned in pdd02_vtables.pod, which would > almost be all to implement aggregate iterators. Missing is IMHO how to > reset (start) an iteration. > Also not too long ago, there was some proposal WRT an iterator class. I was the proposer. I have

Re: [PASM] PerlHash and keys

2003-01-03 Thread Leopold Toetsch
Aldo Calpini wrote: I was the proposer. I have written an Iterator PMC back in the ol' 0.0.8 days, but then I was distracted and never finished my work. I will try to reimplement my addition to 0.0.9 and submit a patch ASAP (probably after 07 jan ;-). Thanks, great. cheers, Aldo leo