Next | Higher-Order Parsing | 11 |
atom → NUMBER | VAR | FUNCTION "(" expression ")"
factor → atom ("^" NUMBER | nothing)
term → factor ("*" term | nothing)
expression → "(" expression ")" | term ("+" expression | nothing)
Next | Copyright © 2007 M. J. Dominus |