fool2fish / dragon-book-exercise-answers

Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug

sandeeptemp11 opened this issue · comments

In this link(https://dragon-book.jcf94.com/book/ch04/4.4/4.4.html). Question 4.4.4 part3.
followS(S) = [), (, $] and not just followS(S) = [), $]. Because S -> S (S) S. You need to consider S in the middle to find FOLLOW(S)