Yacc / Bison difficulties

From: Mark Butler <butlerm(at)middle(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Yacc / Bison difficulties
Date: 2001-04-12 01:38:26
Message-ID: 3AD50712.465EE728@middle.net
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?

- Mark Butler

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-04-12 03:30:51 Re: Yacc / Bison difficulties
Previous Message Bruce Momjian 2001-04-12 01:32:23 Machine down