previous | start | next

Question 3

Show that the following grammar is ambiguous:

   <S> -> <A>
   <A> -> <A> '+' <A> | <id>
  <id> -> 'a' | 'b' | 'c'



previous | start | next