Re: JSON for PG 9.2

Dimitri Fontaine <dimitri@2ndquadrant.fr>

From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, Andrew Dunstan <andrew@dunslane.net>, Magnus Hagander <magnus@hagander.net>, Jan Urbański <wulczer@wulczer.org>, Robert Haas <robertmhaas@gmail.com>, "David E. Wheeler" <david@kineticode.com>, Simon Riggs <simon@2ndquadrant.com>, Joey Adams <joeyadams3.14159@gmail.com>, Bruce Momjian <bruce@momjian.us>, Claes Jakobsson <claes@gluefinance.com>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>, Jan Wieck <janwieck@yahoo.com>
Date: 2011-12-19T10:49:03Z
Lists: pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> Getting back on point, I'm curious about your statement: "without
> writing a single line of C".  I took a look at the pl/scheme docs and
> was pretty impressed -- what exactly would be involved to get a
> guile-based ECMAscript working over the pl/scheme implementation?  How
> would that interact exactly with the stated topic -- JSON support?  Do
> you even need a json type if you have strong library based parsing and
> composition features?

My understanding is that JSON is a subset of ECMAscript, so if you get
the latter you already have the former.  Now, someone would have to
check if plscheme still build with guile-2.0, and given that, how
exactly you get pl/ecmascript (or pl/js) out of that.

I won't be in a position to spend time on that this year…

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support