1.

1. According to grammar G(S)S→a|∧|(T)T→T,S|SQ1. Draw the parsing tree for input sentence ((a,a),a)Q2. Write the rightmost derivation for input sentence ((a,a),a)Q3. Draw a line under the handle for each step2. According to grammar G(S):S→(L)|a S|aL→L,S|SQ1. Modify the grammar by eliminating of left recursion and left factoringQ2. compute the FIRST和FOLLOW set for each nonterminalQ3. construct the LL(1) parsing table

Answer»

ANSWER:

hihjkjhvvbbv। बीबीबी



Discussion

No Comment Found