The Lexer and Parser Generator we will use: JFlex and CUP
JFlex = a tool to scan input and break it up into pieces (tokens)
- This is called a lexical analyzer, or lexer, or scanner
CUP = a tool to decide if the tokens conforms to a grammar
- CUP is an acronym for Constructor of Useful Parsers