Re: Yacc / Bison difficulties - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Yacc / Bison difficulties
Date
Msg-id 200104120330.XAA29244@candle.pha.pa.us
Whole thread Raw
In response to Yacc / Bison difficulties  (Mark Butler <butlerm@middle.net>)
List 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Mark Butler
Date:
Subject: Yacc / Bison difficulties
Next
From: Mark Butler
Date:
Subject: Re: Hand written parsers