YACC with infinite lookahead

Daniele Benegiamo <daniele.benegiamo@aleph.it>
16 May 1999 23:55:52 -0400

          From comp.compilers

Related articles
YACC with infinite lookahead daniele.benegiamo@aleph.it (Daniele Benegiamo) (1999-05-16)
Re: YACC with infinite lookahead bbuckley@ozemail.com.au (Bob Buckley) (1999-05-20)
Re: YACC with infinite lookahead cfc@world.std.com (Chris F Clark) (1999-05-20)
Re:YACC with infinite lookahead scavadini@hotmail.com (Salvador V. Cavadini) (1999-05-20)
Re: YACC with infinite lookahead demaille@solo.enst.fr (Akim Demaille) (1999-05-21)
Re: YACC with infinite lookahead vmakarov@cygnus.com (Vladimir Makarov) (1999-05-21)
Re: YACC with infinite lookahead bromage@cs.mu.OZ.AU (1999-05-27)
| List of all articles for this month |

From: Daniele Benegiamo <daniele.benegiamo@aleph.it>
Newsgroups: comp.compilers
Date: 16 May 1999 23:55:52 -0400
Organization: I.NET S.p.A
Keywords: yacc, parse, question, comment

Someone know if there exists a version of YACC with infinite lookahead?

I'm writing a compiler for a new language and I have found that LALR(1)
implemented by Yacc needs too adjustments in the grammar that make it
too unreadable.

I have tried to use PCCTS but his syntax is too complex and the problem
of readability is not resolved. Instead the syntax of Yacc is ok but
have the lookahead problem.

Thanks, Daniele.

Daniele "kafumanto" Benegiamo | mailto:Daniele.Benegiamo@aleph.it
                                                                | http://www.aleph.it/~benegiamo
[I doubt it. There have been versions of yacc that can back up and try
again, which are nearly essential if you want to parse C++. Give one of
them a try. -John]

Post a followup to this message

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