- or download this
#!/home/rir/rakudo/parrot_install/bin/perl6
...
die "dying no match" unless $m;
say "$m<expression> = $m.ast()";
}
- or download this
rule expression { <numeric> <op> <numeric> }
- or download this
token rhs { <numeric> | <expression> }
- or download this
rule expression { <lhs> ( <op> <rhs> )+ }