On 10/04/2010 08:00 PM, Josh Berkus wrote:
All,

But having said that, I wonder whether bison/flex are really the best
tool for the job in the first place.  From what I understand of JSON
(which admittedly ain't much) a bison parser seems like overkill:
it'd probably be both bloated and slow compared to a simple handwritten
recursive-descent parser.
This appears not to be necessary.  The author of JSONval has indicated
that, should we choose to include it in PostgreSQL 9.1, he is open to
re-licensing.

So on a completely *technical* basis, do we want to use JSONval?

I agree with Tom that a hand-cut RD parser is much more likely to be the way to go. We should not use bison/flex for parsing data values.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to