Description: First, the purpose of the experiment to achieve a recursive descent parser to identify the user input an arithmetic expression. Second, the main contents of the experiment, the following grammar: ETE `E' +TE ' ' |-TE ' | e TFT` T' * FT ' |/FT' | e F (E) | i to strike each nonterminal First and Follow collections of 3 programming fall recursive analysis, identification entered from the keyboard on integer or floating-point arithmetic expression (in this case, the grammar i represents an integer or floating point) for syntax errors, to point out that the error specific information. 5, the running instance as follows:
To Search:
File list (Check if you may need any files):
Analysis.java