Next Higher-Order Parsing 8 

文法Grammars

        expression → "(" expression ")" 
                    | term ("+" expression | nothing)
     
        term → factor ("*" term | nothing)
     
        factor → atom ("^" NUMBER | nothing)
     
        atom → NUMBER | VAR | FUNCTION "(" expression ")"

Next Copyright © 2007 M. J. Dominus