Homework #2 for Compiler 2003
Due date: April 3, 2:10pm
1. Do Textbook page 269, Problem 4.11.
Note: to do (b), you need to compute FIRST and FOLLOW sets.
Then build a table with columns being the input symbols and
rows being the nonterminals. In each entry, list the production
picked if the top of STACK is the named nonterminal and the
lookahead symbol is the named symbol.
2. Do Textbook page 270, Problem 4.20.