Parrot/PGE, parsers Parsers, Perl 6 Rules, and the Parrot Grammar Engine #21

Example

The subrule performs whatever matching it wants to do, sets the final .to() position for the match, and returns it to the caller.

continued...
Copyright © 2006 Patrick Michaud