Custom parsing subroutines
Sometimes we may want to parse something that doesn't fit naturally into the regex syntax.
For example, parsing balanced quotations, brackets, things containing escape characters, etc.
continued...Parrot/PGE, parsers | Parsers, Perl 6 Rules, and the Parrot Grammar Engine | #16 |
Sometimes we may want to parse something that doesn't fit naturally into the regex syntax.
For example, parsing balanced quotations, brackets, things containing escape characters, etc.
continued...Copyright © 2006 Patrick Michaud |