Parrot/PGE, parsers Parsers, Perl 6 Rules, and the Parrot Grammar Engine #22

Expression parsing

Many expressions have the concept of "precedence".

I.e., some operators have higher priority than others.

One way to express priority among operators is by using a separate rule for each precedence level.

Copyright © 2006 Patrick Michaud