Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise 2.2.3, d seems wrong #155

Open
yfy- opened this issue May 24, 2019 · 1 comment
Open

Exercise 2.2.3, d seems wrong #155

yfy- opened this issue May 24, 2019 · 1 comment

Comments

@yfy-
Copy link

yfy- commented May 24, 2019

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.

@LeuisKen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants