Slice iterators for arrays[1] and PerlStrings are working now.
1) create a slice iterator
Piter = slice Pagg[ 1 .. 4, 7, 10 .. ]
(The space between a number and ".." is needed, the lexer would parse "1." as a float - workarounds welcome)
2) Reset iterator
PIter = .ITERATE_FROM_START
3) Loop:
iter_loop: unless PIter goto iter_end value = shift PIter goto iter_loop iter_end:
Tests are in t/pmc/iter.t
Have fun, leo
[1] Array, PerlArray