Example: if_stmt
rule if_stmt { 'if' <expression> 'then' <statement> }
Add an action token to the rule:
rule if_stmt { 'if' <expression> 'then' <statement> {*} }continued...
Perl 6 on Parrot | Rakudo Perl - Perl 6 on Parrot | #32 |
rule if_stmt { 'if' <expression> 'then' <statement> }
Add an action token to the rule:
rule if_stmt { 'if' <expression> 'then' <statement> {*} }continued...
Copyright © 2008 Patrick Michaud |