|YACC with infinite lookahead firstname.lastname@example.org (Daniele Benegiamo) (1999-05-16)|
|Re: YACC with infinite lookahead email@example.com (Bob Buckley) (1999-05-20)|
|Re: YACC with infinite lookahead firstname.lastname@example.org (Chris F Clark) (1999-05-20)|
|Re:YACC with infinite lookahead email@example.com (Salvador V. Cavadini) (1999-05-20)|
|Re: YACC with infinite lookahead firstname.lastname@example.org (Akim Demaille) (1999-05-21)|
|Re: YACC with infinite lookahead email@example.com (Vladimir Makarov) (1999-05-21)|
|Re: YACC with infinite lookahead firstname.lastname@example.org.OZ.AU (1999-05-27)|
|From:||"Salvador V. Cavadini" <email@example.com>|
|Date:||20 May 1999 01:51:20 -0400|
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
Backtraking Yacc generates parsers with backtraking capabilities and YAY can
generate parsers for LALR(2) grammars and both accept Yacc's grammar
Salvador V. Cavadini
Return to the
Search the comp.compilers archives again.