dragon-book-exercise-answers
dragon-book-exercise-answers copied to clipboard
Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。
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...
由bterm'->and bfactor表达式, 显然and在first(bterm')中,分析表中应该包含该项。后面or一列也应做出相应修改
The question asks that no digits should be repeated How is the NFA of the question this  In this NFA, the string 010 is also accepted. Which is wrong!!!!...
``` In a string of length n, how many of the following are there? 1. Prefixes. 2. Suffixes. 3. Proper prefixes. 4. ! Substrings. 5. ! Subsequences. ``` The current...
extension to 10 digits and simplification of the grammar.
fix 8.5.8
in exercise 2.3.4, the attribute hundred.v should be 4 when translating from C D production
spelling