Do the following problems from Exercises 2.0.4 on pp. 37-38 in your textbook:
#4 (5 pts)
#7 (5 points)
(10 pts) Using the pseudocode style from class, define parsing routines for a recursive descent parser for the following grammar. In the grammar, nonterminals are in lowercase; terminals are in ALL CAPS or are quoted.
e -> '(' l ')'
| l
l -> A ',' e
| e
You may turn in a neatly handwritten or word processed paper. See the syllabus for additional information about homework exercises.