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

exercise 4.4.4

andreataglia opened this issue · comments

Ex 4.4.4
S -> S (S) S | ε

first(S) = [(, ε]
followS(S) = [), $]

follow set should include '(' opening parenthesis terminal symbol as well

I think same