dragon-book-exercise-answers icon indicating copy to clipboard operation
dragon-book-exercise-answers copied to clipboard

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

Results 115 dragon-book-exercise-answers issues
Sort by recently updated
recently updated
newest added

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 ![su](https://github.com/fool2fish/dragon-book-exercise-answers/assets/100429756/54641415-93cf-4eb7-96c3-55657cbfc1bb) 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.

in exercise 2.3.4, the attribute hundred.v should be 4 when translating from C D production