dragon-book-exercise-answers
dragon-book-exercise-answers copied to clipboard
Compilers Principles, Techniques, & Tools (purple dragon book) second edition exercise answers. 编译原理(紫龙书)第2版习题答案。
5. ! The set of all strings of 0s and as in which 011 does not appear as a substring. S -> 1S | 0T T -> 0T | 01T...
I think there are a few mistakes in exercise 2.6. The `line` is not updated when handling block comments. Also, a `Token` with space would be returned if there were...
Minus could be right-associative therefore it needs brackets. Example: 952+- ---> 9-(5+2) 9-5+2 ---> 95-2+
correct indentation in 5.3.md so that the first table can be correctly represented.
(a|b)*a(a|b)(a|b) 这道题6到1 不用回一条epsilon吗
I think this is a little bit more accurate description