Re: detecting ambiguous grammars

Ken Rose <kenarose@earthlink.net>
31 Mar 2001 02:51:49 -0500

          From comp.compilers

Related articles
[11 earlier articles]
Re: detecting ambiguous grammars joachim_d@gmx.de (Joachim Durchholz) (2001-03-26)
Re: detecting ambiguous grammars cfc@world.std.com (Chris F Clark) (2001-03-27)
Re: detecting ambiguous grammars genew@shuswap.net (2001-03-27)
Re: detecting ambiguous grammars genew@shuswap.net (2001-03-27)
Re: detecting ambiguous grammars thant@acm.org (Thant Tessman) (2001-03-31)
Re: detecting ambiguous grammars cfc@world.std.com (Chris F Clark) (2001-03-31)
Re: detecting ambiguous grammars kenarose@earthlink.net (Ken Rose) (2001-03-31)
Re: detecting ambiguous grammars vbdis@aol.com (2001-03-31)
Re: detecting ambiguous grammars joachim_d@gmx.de (Joachim Durchholz) (2001-04-04)
C declaration syntax (was Re: detecting ambiguous grammars) henry@spsystems.net (2001-04-04)
Re: detecting ambiguous grammars world!bobduff@uunet.uu.net (Robert A Duff) (2001-04-10)
Re: detecting ambiguous grammars ki3084lx@ecs.cmc.osaka-u.ac.jp (Le Harusada) (2005-12-15)
| List of all articles for this month |

From: Ken Rose <kenarose@earthlink.net>
Newsgroups: comp.compilers
Date: 31 Mar 2001 02:51:49 -0500
Organization: EarthLink Inc. -- http://www.EarthLink.net
References: 01-02-080 01-03-020 01-03-032 01-03-078 01-03-084 01-03-102 01-03-119 01-03-139
Keywords: parse, C, history
Posted-Date: 31 Mar 2001 02:51:49 EST

Chris F Clark wrote:
> Disasters like the C declaration syntax or its worse variant in C++
> should be relegated to history books.


Considering the tiny, slow computers of the early 70s, how did this
gruesome syntax happen? It seems that it wouldn't be any easier to
parse then, and the syntax has only gotten a little more complicated.
Are we tied down by our tools?


  - ken
[The original Unix C compiler was two passes each of which fit in 24K
bytes. It used recursive descent for most things, operator precedence
for expressions. The idea of C declaration syntax is that the
declaration of something looks like the way that you use it. I agree
that it's debatable how good an idea that turned out to be. -John]



Post a followup to this message

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