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

Creating a custom parse subroutine in PIR

PGE expects all subrules to be compatible with the following call:

match = subrule(mob [, args] [, adverbs ] )

where

mob     - the current state of the match
args    - any optional or required args to the subrule
adverbs - matching adverbs (e.g., :pos or :continue)
Copyright © 2006 Patrick Michaud