Parrot NQP, grammars, and actions #13

Inline PIR ( Q:PIR {...} )

my $name := 'Fred';
my @chars := Q:PIR {
        $P0 = find_lex '$name'
        $S0 = $P0
        %r = split '', $S0
    };
for @chars { say($_) }
Copyright © 2009
http://www.pmichaud.com/2009/pres/