[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706713: ITP: plv8 -- Procedural language interface between PostgreSQL and JavaScript



On 05/04/2013 12:36 AM, Jérémy Lal wrote:
> They are probably including coffeescript.js as a constant string array.
> In the case of v8, nodejs, using similar techniques, it is okay since
> they include their own binding code. But plv8 including a copy of coffeescript
> looks weirder.

As far as I understand the code, they load the (coffe|live)script as a
string array, feed it to V8 and then let the result compile the input
from CS/LS to JS at runtime, and execute that via V8 again.
(https://code.google.com/p/plv8js/source/browse/plv8.cc#942)


Reply to: