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) |
From: | "Salvador V. Cavadini" <scavadini@hotmail.com> |
Newsgroups: | comp.compilers |
Date: | 20 May 1999 01:51:20 -0400 |
Organization: | Compilers Central |
References: | 99-05-072 |
Keywords: | yacc, parse |
Daniele Benegiamo Daniele.Benegiamo@aleph.it wrote:
>>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 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]
You can try Backtraking Yacc (http://www.siber.com/btyacc/) or YAY
(http://www.thinkage.on.ca/shareware/yay/files.html).
Backtraking Yacc generates parsers with backtraking capabilities and YAY can
generate parsers for LALR(2) grammars and both accept Yacc's grammar
notation.
Salvador V. Cavadini
salvador@ucseii.edu.ar
Return to the
comp.compilers page.
Search the
comp.compilers archives again.