parrotcode: useful rules for working with PGE grammars | |
Contents | Libraries |
PGE/Util.pir - useful rules for working with PGE grammars
This module defines a number of useful rules for various parsing tasks using PGE.
pos
in the string targeted by match
.
If pos
isn't supplied,
then use the from
value of match
as the offset.
For this function the line number for the first line in the string is treated as '0'.
|