Parrot Perl6Grammar compiler and parsers #15

Action methods

Action methods simplify embedding actions in a grammar.

The special token {*} in a regex says to invoke an action method having the same name as the regex.

continued...
Copyright © 2009
http://www.pmichaud.com/2009/pres/