|Looking for a Lex/Yacc free ebook Papa.Legba.email@example.com (Baron Samedi) (2006-04-12)|
|Re: Looking for a Lex/Yacc free ebook firstname.lastname@example.org (toby) (2006-04-14)|
|Re: Looking for a Lex/Yacc free ebook email@example.com (Thomas Dickey) (2006-04-16)|
|Re: Looking for a Lex/Yacc free ebook firstname.lastname@example.org (toby) (2006-04-17)|
|Re: Looking for a Lex/Yacc free ebook email@example.com (Thomas Dickey) (2006-04-21)|
|Re: Berkeley yacc, was Looking for a Lex/Yacc free ebook firstname.lastname@example.org (toby) (2006-04-23)|
|Date:||23 Apr 2006 10:00:40 -0400|
|References:||06-04-09006-04-095 06-04-104 06-04-114 06-04-117|
|Posted-Date:||23 Apr 2006 10:00:40 EDT|
Thomas Dickey wrote:
> toby <email@example.com> wrote:
> > Thomas Dickey wrote:
> >> > [Agree about flex, but Berkeley Yacc hasn't changed in at least a decade.
> >> > It doesn't need support. -John]
> >> see
> >> http://invisible-island.net/byacc
> > The aspersion on that page seems unfounded. It's getting difficult to
> At the time I wrote it, bison insisted on using alloca(). But see below -
> > find a mainstream UNIX that has not adopted gcc as its standard
> > compiler, but bison-2.1 builds with gcc/g++ in "-ansi -pedantic" mode,
> yes - it does, but watching bug reports, I notice that it doesn't
> necessarily accept grammars that yacc did (whether this is a good
> thing or not appears to depend on your attitude).
> > as well as with Intel icc "-ansi" and lcc (which is bare bones ANSI),
> > so I expect it is portable to pretty much any ANSI compiler.
> It would be nice if "-ansi" actually did what it's advertised.
In which of those three compilers? (One of which is all-ANSI, all the
time.) Why would a random ANSI compiler be more or less ANSI than gcc
or icc's "-ansi"?
(Bison 2.1 also builds with tcc, but the binary segfaults, which might
be my problem. :)
> Thomas E. Dickey
Return to the
Search the comp.compilers archives again.