Skip site navigation (1) Skip section navigation (2)

Re: Summer of Code idea

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Jesper Pedersen" <jews(at)vip(dot)cybercity(dot)dk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Summer of Code idea
Date: 2006-04-27 15:33:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 4/27/06, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> The answer to that can certainly be "performance" provided other factors
> (such as maintainability) don't change much.  If you could show that
> then I think such a switch would be very seriously considered.

IMHO, switching parser-types (and parser generators) is more about
maintainability than performance itself.  SQL is much nicer in
recursive descent where you don't have yacc/bison limitations such as
1 token of lookahead and non-ebnf grammars.  The sort-of odd thing is
that PCCTS (like its much younger brother ANTLR) is intended on
generating ASTs whereas yacc/bison requires you to build the parse
tree manually (as we do).

Don't get me wrong, this was taken into consideration with PCCTS, but
it's not as optimal or beautiful as it would be to have PCCTS itself
generate the parse tree.  Still, it's nicer to maintain than a
yacc/bison grammar.

Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation

In response to

pgsql-hackers by date

Next:From: Jonah H. HarrisDate: 2006-04-27 15:43:29
Subject: Re: Summer of Code idea
Previous:From: Tom LaneDate: 2006-04-27 15:32:06
Subject: Re: Summer of Code idea

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group