![]() |
http://www.cs.unc.edu/~prins/Classes/520/
Spring 2021
Instructor:
Jan Prins (prins@cs.unc.edu)
| ![]() |
The top-level package is miniArith. It contains the Recognizer mainclass that parses input entered from the keyboard and judges whether it consitutes a valid arithmetic expression. The parse procedures corresponding to nonterminals in the grammar are traced to illustrate how the input was parsed.
The subpackage miniArith.SyntacticAnalyzer contains the Scanner, Parser, Token classes and the TokenKind enumeration.
Watt & Brown, Programming Language Processors in Java
Textbook
The missing page 150