Re: YACC with infinite lookahead

Vladimir Makarov <vmakarov@cygnus.com>
21 May 1999 02:26:41 -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: Vladimir Makarov <vmakarov@cygnus.com>
Newsgroups: comp.compilers
Date: 21 May 1999 02:26:41 -0400
Organization: Cygnus Solutions
References: 99-05-072 99-05-087
Keywords: parse

> >>Someone know if there exists a version of YACC with infinite lookahead?
>
> 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.


  You could try also MSTA. This is part of COCOM toolset. MSTA
accepts Yacc's grammars too and can generate LALR(k) and LR(k)-parsers
for any k>0. You also can control look ahead length for given
conflicts with special sentence %la <look ahead number>. The toolset
is placed on


htpp://visitweb/cocom
or
http://www.geocities.com/SiliconValley/Lab/4557/download.html


Vladimir Makarov


Post a followup to this message

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