Action methods in action!
Pure parse rule:
rule statement_control { | <if_statement> | <while_statement> | <for_statement> | ... } rule while_statement { 'while' <EXPR> <pblock> }
Add {*} markers ...
Perl 6 | Rakudo Perl - Perl 6 on Parrot | #39 |
Pure parse rule:
rule statement_control { | <if_statement> | <while_statement> | <for_statement> | ... } rule while_statement { 'while' <EXPR> <pblock> }
Add {*} markers ...
Copyright © 2008 http://www.pmichaud.com/2008/pres/ |