Institutt for Informatikk
Universitetet i Bergen
INF 225 - Innføring i Programoversettelse - H09


Exercise Set 4 (Group meeting 28.09.2009)

  1. Exercise 4.2 on page 189 of the text.

  2. Exercise 4.3 on page 189 of the text.

  3. Exercise 4.5.a on page 190 of the text.

  4. Exercise 4.7 on page 190 of the text.

  5. Which operator (* or +) in the grammar below has higher precedence? Remove the left recursion from the grammar.

    Exp -> Exp * N | N
    N -> N + A | A
    A -> $

  6. Exercise 4.8 on page 190 of the text.

  7. Exercise 4.20 on page 191 of the text.