Assignment 5, CS 152, Fall 2003
due December 8, 2003

Redo Assignment 1, using either Ada, Haskell, or Prolog, with the changes specified below.

In any language, you may define any new procedures, predicates, or functions that you find helpful. In each case, your getyields function should not assume an upper bound on the length of the right-hand side of a rule. It may assume that there are no epsilon productions.

There will be no lateness penalty for submissions before December 10, 2:30 p.m. No submissions after that time will be accepted.