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

4.4.1的第4题答案有问题 #200

Open
No-edge opened this issue Apr 3, 2022 · 1 comment
Open

4.4.1的第4题答案有问题 #200

No-edge opened this issue Apr 3, 2022 · 1 comment

Comments

@No-edge
Copy link

No-edge commented Apr 3, 2022

答案中的first和follow set计算有问题

@Kidding0204
Copy link

是的,根据S -> TB与A -> TB, FOLLOW(B)是包含FOLLOW(S)与FOLLOW(A)的。
This grammar can not convert to LL(1) grammar because of conflict entry in the predictive parsing table.

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