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

Custom parsing subroutines

However, recall that PGE simply converts subrules into Parrot subroutines.

In fact, it's worth repeating this mantra:

Thus, we aren't limited to parsing things using regex syntax -- we can define our own custom parse subroutine.

Copyright © 2006 Patrick Michaud