Next Higher-Order Parsing 13 

基本のパーサBasic parsers

        expression → "(" expression ")" 
                    | term ("+" expression | nothing)
        sub nothing {
          my $tokens = shift;
          return (undef, $tokens);
        }

Next Copyright © 2007 M. J. Dominus