Custom parsing subroutines
Since PGE just converts regexes into parrot subs
and calls to subrules are just subroutine calls
we can write custom subrules as Parrot subs.
- A regex is just another type of subroutine. (Or method.)
| Python on Parrot | Python on Parrot - under the hood | #38 |
Since PGE just converts regexes into parrot subs
and calls to subrules are just subroutine calls
we can write custom subrules as Parrot subs.
| Copyright © 2007 Patrick Michaud |