|Example in the Unix Programming Environment by Kernighan & Pike email@example.com (1992-01-15)|
|From:||firstname.lastname@example.org (Michael R. Murphy)|
|Keywords:||yacc, question, books|
|Date:||Wed, 15 Jan 92 11:05:08 CST|
I am working through the example in the Unix Programming Environment. I
have just implemented the final stage (stage 6) of the grammar, and I now
have 16 shift/reduce conflicts reported by yacc. I have looked at
y.output and the complaints seem reasonable, as does the choice to shift.
My question is has anyone else implemented this (of course other's have),
and does anyone know how many shift/reduce conflicts should be reported
when using the grammar in the book.
I have checked my output line by line, and I think I have exactly what's
in the book. I am just a bit surprised to have 16 shift/reduce conflicts.
I'm afraid that I have made a typographical error.
Return to the
Search the comp.compilers archives again.