Howdy folks,

I have an LALR(1) grammar and lexer definition derived by machine 
translation of the middle section of Matz's parse.y that compiles with 
0 conflicts.  However, I suspect that many of these conflicts are 
masked by the compiler-compiler's overlapping tokens facility.

In fact, I have just tried an experiment where I "un-overlapped" 
tLPAREN and tLPAREN_ARG (As well as '(' which is implicitly treated as 
a token.)  This resulted in 5 distinct shift-reduce conflicts and 27 
reduce-reduce conflicts.

What progress have the grammarians made?

--Peter


--
There's neither heaven nor hell, save what we grant ourselves.
There's neither fairness nor justice, save what we grant each other.

_______________________________________________
Rubygrammar-grammarians mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygrammar-grammarians

Reply via email to