CUP – "Construction of Useful Parsers"
Context free grammar specified…
- terminal symbols
- non-terminal symbols
- start symbol
- precedence directives
- the grammar itself
and some Java
- to augment parser, how to call lexer
Actions can be added to each production of the grammar, to be included in the final parser