gram.y=>preproc.y - Mailing list pgsql-hackers

From Michael Meskes
Subject gram.y=>preproc.y
Date
Msg-id 20081110144050.GB8145@feivel.credativ.de
Whole thread Raw
Responses Re: gram.y=>preproc.y  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
The attached version now is able to generate an ecpg parser without a single
change in gram.y. Also included is a perl version of the script created by a2p
and fixed by me. Unfortunately a2p did not generate working code, so I guess
eventually we have to only work with the perl version. I guess a perl hacker
can beautify the script quite a bit.

Anyway, it does work, regression tests run through (need to update expected
results though). So guys, now's the time to test before it makes it into the
archive. :-)

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

Attachment

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [I|S]CONST/[I|S]const in gram.y
Next
From: Zdenek Kotala
Date:
Subject: pg_upgrade project status