Python on Parrot Python on Parrot #44

Parser Grammar Engine (PGE)

Parrot subsystem for regular expressions

Compiles regexes into Parrot subroutines that match patterns

Thus, PGE can take a regex pattern like

[ <alpha> | '_' ] \w*

and produce a standalone parrot subroutine to match it in a string.

continued...
Copyright © 2007 Patrick Michaud