Re: Yacc / Bison difficulties

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mark Butler <butlerm(at)middle(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Yacc / Bison difficulties
Date: 2001-04-12 03:30:51
Message-ID: 200104120330.XAA29244@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> I was trying to make a minor change today to the gram.y file to make
> PostgreSQL recognize "DOUBLE" as a data type the way DB2 does. I ran into
> reduce / reduce conflicts using both of the methods I tried.
>
> Having fought extensively with Bison before on a SQL oriented language
> translation project, I am amazed that you were able to get a grammar as
> complex as PostgreSQL to work without major difficulty.
>
> I was wondering about what the sense of the list would be to someday accepting
> a rewrite using a hand-coded LL(k) recursive descent parser. Anyone?

Interesting. What advantages would there be?

--
Bruce Momjian | http://candle.pha.pa.us
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Butler 2001-04-12 04:37:56 Re: Hand written parsers
Previous Message Mark Butler 2001-04-12 01:38:26 Yacc / Bison difficulties