Next: An Expression Parser in
Up: No Title
Previous: Simple Answer: Operator Precedence
The original version is from
http://www.cs.princeton.edu/ appel/modern/java/CUP/,
but we use a local modified version.
- generates a class Parser.java, which contains the parser.
- generates a class Parser.tables, which contains the
parsing tables.
- generates a class Tokens.java, which is suitable to be used
by the scanner.
- if there are situations, where it wouldn't know, whether to shift
or to reduce, it reports a conflict.
Christoph Zenger
4/6/2000