Next Higher-Order Parsing 11 

Grammars

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

Next Copyright © 2007 M. J. Dominus