Patrick (>), Илья (>>):
>> grammar G {
>> token TOP { ^ <foo>+ $ };
>> token foo { ':' <bar>? };
>> token bar { \w };
>> };
>>
>> ":a:b" ~~ G::TOP;
>>
>> say ~$/<foo><bar>; #:a
>>
>> # why ':a'? why not just 'a'?
>
> $/<foo> is an array of Match objects, and Parrot currently
> doesn't distinguish between array indexes and hash indexes --
> it treats them both the same.I took the liberty of reporting that to rakudobug. It's [perl #60922]. // Carl
