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

Can someone explain me 2.2.1?

xahon opened this issue · comments

commented

I've stuck in the very beginning of the book with that problem
https://github.com/fool2fish/dragon-book-exercise-answers/blob/34db00b33f727571d4f0f338147f1eeaf18712b3/ch02/2.2/2.2.md#221

How does one get S -> S S * -> S S + S * -> a S + S * -> a a + S * -> a a + a *? How to split in into parts? For me it looks like a sequence of letters and signs with no distinguishable separator