dragon-book-exercise-answers icon indicating copy to clipboard operation
dragon-book-exercise-answers copied to clipboard

Exercise 2.2.3, d seems wrong

Open yfy- opened this issue 5 years ago • 1 comments

Two given parse trees are different, however the generated strings are also different. Thus, the given counter example to grammar being ambiguous is not correct. I believe that the grammar is unambiguous.

yfy- avatar May 24 '19 11:05 yfy-

I think that because the ε means the empty string, so the generated strings are the same.

LeuisKen avatar Sep 14 '21 03:09 LeuisKen