Next Higher-Order Parsing 24 

オーバーロードOverloading

      $expression = L("(") - $EXPRESSION - L(")")
                  | $TERM - (L("+") - $EXPRESSION | $nothing);

       expression → "(" expression ")" 
                  | term ("+" expression | nothing)

Next Copyright © 2007 M. J. Dominus