Regexes, tokens, rules
In PGE,
- a ''regex'' is a backtrackable pattern
- a ''token'' is a regex that doesn't backtrack by default
- a ''rule'' is a regex that doesn't backtrack but also handles intertoken separators (e.g., whitespace and comments)
| Python on Parrot | Python on Parrot - under the hood | #35 |
In PGE,
| Copyright © 2007 Patrick Michaud |