Rules
Grammar:
rule TOP { <integer> <addop> <integer> {*} }
token integer { \d+ {*} }
token addop { [ '+' | '-' ] {*} }
continued...
| Parrot | Perl6Grammar compiler and parsers | #27 |
Grammar:
rule TOP { <integer> <addop> <integer> {*} }
token integer { \d+ {*} }
token addop { [ '+' | '-' ] {*} }
continued...
|
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |