gram.y=>preproc.y

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: gram.y=>preproc.y
Date: 2008-11-10 14:40:50
Message-ID: 20081110144050.GB8145@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

Attachment Content-Type Size
ecpg.parser.tgz application/x-gtar 27.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-11-10 14:56:07 pg_upgrade project status
Previous Message Michael Meskes 2008-11-10 14:35:44 Re: [I|S]CONST/[I|S]const in gram.y