Parrot Perl6Grammar compiler and parsers #26

Rules

The 'rule' keyword says that whitespace in the regex corresponds to whitespace in the input

rule TOP { <integer> <addop> <integer> {*} }
continued...
Copyright © 2009
http://www.pmichaud.com/2009/pres/