Parsing Non-LR(k) Grammars using YACC!

Qusay <>
16 Apr 1996 22:24:14 -0400

          From comp.compilers

Related articles
Parsing Non-LR(k) Grammars using YACC! (Qusay) (1996-04-16)
| List of all articles for this month |

From: Qusay <>
Newsgroups: comp.compilers
Date: 16 Apr 1996 22:24:14 -0400
Organization: Compilers Central
Keywords: yacc, parse, question

Hi all,

I am doing a term paper on "Parsng Non-LR(k) Grammars with
YACC". The only example I have seen about ambigious grammars that
can't be parsed with YACC was C++. I was wondering if some of you,
compiler experts, out there can give me some examples of ambigious
grammars from other languages such as "Tcl, Perl, Python, SmallTalk,
Sather, Eiffel, Java, ... etc" that YACC can't parse. I'm not sure if
the grammars of all the languages I listed above can be parsed with

Please reply via e-mail and if people are interested I will post a

Thanks a lot in advance.



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.