Re: Re: gram.y PROBLEM with UNDER

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chris Bitmead <chris(at)bitmead(dot)com>, Postgres Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Re: Re: gram.y PROBLEM with UNDER
Date: 2000-05-26 02:15:41
Message-ID: 200005260215.WAA21498@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Bruce Momjian wrote:
> >
> > > Tom Lane wrote:
> > > > If you don't get rid of those then your parser will behave in surprising
> > > > ways. So far you have noticed the fallout from only one of those
> > > > conflicts, but every one of them is a potential bug. Be advised that
> > > > gram.y patches that create unresolved conflicts will *not* be accepted.
> > >
> > > I thought shift/reduce conflicts were part and parcel of most language
> > > syntaxes. reduce/reduce being rather more naughty. The standard syntax
> > > already produces 95 shift/reduce conflicts. Can you clarify about
> > > unresolved conflicts not being accepted?
> >
> > What? I get zero here. shift/reduce is sloppy programming. We don't
> > do that here. :-)
>
> Hmm. Now I look, I think that was with an older pgsql. Maybe 6.5 or
> something. Have you guys done some black magic to get rid of them?
>

They have not been there for _years_. I see lots of open source stuff
with shift/reduce reports. We don't. It is tricky to remove them. It
often involves adding duplicate actions to prevent the problems.
Certain people are quite good at it, and are glad to help.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Shraibman 2000-05-26 03:11:44 aliases break my query
Previous Message Tom Lane 2000-05-26 02:09:17 Re: Re: gram.y PROBLEM with UNDER