Related articles |
---|
Looking for a Lex/Yacc free ebook Papa.Legba.666@gmail.com (Baron Samedi) (2006-04-12) |
Re: Looking for a Lex/Yacc free ebook toby@telegraphics.com.au (toby) (2006-04-14) |
Re: Looking for a Lex/Yacc free ebook dickey@saltmine.radix.net (Thomas Dickey) (2006-04-16) |
Re: Looking for a Lex/Yacc free ebook toby@telegraphics.com.au (toby) (2006-04-17) |
Re: Looking for a Lex/Yacc free ebook ken.overton@gmail.com (Ken Overton) (2006-04-17) |
Re: Looking for a Lex/Yacc free ebook dickey@saltmine.radix.net (Thomas Dickey) (2006-04-21) |
Re: Berkeley yacc, was Looking for a Lex/Yacc free ebook toby@telegraphics.com.au (toby) (2006-04-23) |
From: | Thomas Dickey <dickey@saltmine.radix.net> |
Newsgroups: | comp.compilers |
Date: | 21 Apr 2006 23:40:18 -0400 |
Organization: | RadixNet Internet Services |
References: | 06-04-090 06-04-095 06-04-104 06-04-114 |
Keywords: | yacc |
Posted-Date: | 21 Apr 2006 23:40:17 EDT |
toby <toby@telegraphics.com.au> 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.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Return to the
comp.compilers page.
Search the
comp.compilers archives again.