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.
We can use NQP to create action methods.
Parrot | Perl6Grammar compiler and parsers | #15 |
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.
We can use NQP to create action methods.
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |