Operator precedence parsing
Fortunately, PGE has a built-in operator precedence parser.
With operator precedence parsing, one defines the operator and operand tokens, along with their fixity and relative precedence.
Parrot/PGE, parsers | Parsers, Perl 6 Rules, and the Parrot Grammar Engine | #24 |
Fortunately, PGE has a built-in operator precedence parser.
With operator precedence parsing, one defines the operator and operand tokens, along with their fixity and relative precedence.
Copyright © 2006 Patrick Michaud |