Re: automatic parser generation for ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: David Fetter <david(at)fetter(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mike Aubury <mike(dot)aubury(at)aubit(dot)com>, Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: automatic parser generation for ecpg
Date: 2008-10-21 17:27:22
Message-ID: 20081021172722.GA28587@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 21, 2008 at 08:45:11AM -0700, David Fetter wrote:
> > As against that ... does a2p produce code that is
> > readable/maintainable?
>
> Not that I've seen. There are modules on CPAN (I know, I know) for
> dealing with lexx and yacc, and those are probably better for the
> purpose.

Well I think it's at least readable. Problem with your approach is that both
Mike and I feel more comfortable with awk at the moment. If a2p produces a
working perl script, that doesn't seem to be a problem IMO as we could maintain
the awk script but deliver the perl version.

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!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-10-21 17:50:37 So what's an "empty" array anyway?
Previous Message Gevik Babakhani 2008-10-21 17:11:58 Buildfarm Cardinal going down.