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

2013-05-04 Thread Evgeni Golov
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)


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5184b620.3050...@debian.org



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

2013-05-04 Thread Jérémy Lal
On 04/05/2013 09:17, Evgeni Golov wrote:
 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)

The question is : why don't they load the code from file at run time ?
It is so simpler...

Jérémy.

 


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5184bdb3.1070...@melix.org



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

2013-05-03 Thread Evgeni Golov
Package: wnpp
Severity: wishlist
Owner: Evgeni Golov evg...@debian.org

* Package name: plv8
  Version : 1.4.0
  Upstream Author : PLV8JS Development Group
* URL : http://code.google.com/p/plv8js/
* License : Expat
  Programming Lang: C++, JavaScript
  Description : Procedural language interface between PostgreSQL and 
JavaScript

 V8 is a high performance JavaScript engine written in C++.  It is used
 in the web browser Chromium.
 .
 PostgreSQL is an open source SQL database server.
 .
 This package provides a procedural language interface to JavaScript from
 PostgreSQL. Procedural languages are used to write functions
 which can be called in database queries.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130503155607.22132.72545.reportbug@nana



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

2013-05-03 Thread Jérémy Lal
On 03/05/2013 17:56, Evgeni Golov wrote:
 Package: wnpp
 Severity: wishlist
 Owner: Evgeni Golov evg...@debian.org
 
 * Package name: plv8
   Version : 1.4.0
   Upstream Author : PLV8JS Development Group
 * URL : http://code.google.com/p/plv8js/
 * License : Expat
   Programming Lang: C++, JavaScript
   Description : Procedural language interface between PostgreSQL and 
 JavaScript
 
  V8 is a high performance JavaScript engine written in C++.  It is used
  in the web browser Chromium.

The fact that it is used in mongodb might be a little more adequate here ?

  PostgreSQL is an open source SQL database server.
  .
  This package provides a procedural language interface to JavaScript from
  PostgreSQL. Procedural languages are used to write functions
  which can be called in database queries.

We will probably have to coordinate around the libv8 releases at some point.
Would you like to put this package in the pkg-javascript-devel team ?

Regards,
Jérémy.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51841b83.8040...@melix.org



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

2013-05-03 Thread Evgeni Golov
Hi,

On 05/03/2013 10:18 PM, Jérémy Lal wrote:

  V8 is a high performance JavaScript engine written in C++.  It is used
  in the web browser Chromium.
 
 The fact that it is used in mongodb might be a little more adequate here ?

Yupp, probably. Description was pretty much copypaste yet.

  PostgreSQL is an open source SQL database server.
  .
  This package provides a procedural language interface to JavaScript from
  PostgreSQL. Procedural languages are used to write functions
  which can be called in database queries.
 
 We will probably have to coordinate around the libv8 releases at some point.
 Would you like to put this package in the pkg-javascript-devel team ?

That, or pkg-postgresql. Not sure which matches better :)
Coorindinating with v8 might be a reason for pkg-js.

BTW, as you seem to be good with the whole js stuff: plv8 includes
coffee-script.js and livescript.js, is there a sane way to generate
these at build-time? coffee-script is packaged, but I do not see a
single .js as shipped in plv8 currently.

Regards
Evgeni


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5184210e.5040...@debian.org



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

2013-05-03 Thread Jérémy Lal
On 03/05/2013 22:41, Evgeni Golov wrote:
 Hi,
 
 On 05/03/2013 10:18 PM, Jérémy Lal wrote:
 
  V8 is a high performance JavaScript engine written in C++.  It is used
  in the web browser Chromium.

 The fact that it is used in mongodb might be a little more adequate here ?
 
 Yupp, probably. Description was pretty much copypaste yet.
 
  PostgreSQL is an open source SQL database server.
  .
  This package provides a procedural language interface to JavaScript from
  PostgreSQL. Procedural languages are used to write functions
  which can be called in database queries.

 We will probably have to coordinate around the libv8 releases at some point.
 Would you like to put this package in the pkg-javascript-devel team ?
 
 That, or pkg-postgresql. Not sure which matches better :)
 Coorindinating with v8 might be a reason for pkg-js.

 BTW, as you seem to be good with the whole js stuff: plv8 includes
 coffee-script.js and livescript.js, is there a sane way to generate
 these at build-time? coffee-script is packaged, but I do not see a
 single .js as shipped in plv8 currently.

Coffeescript is not my cup of tea, but
/usr/lib/coffee-script/lib/coffee-script/coffee-script.js

Do you need it at build time or at run time ?
If it's at run time, you could Suggests the dependency on those two
meta-languages, because i suppose they are not the main feature of plv8.

Jérémy.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51842369.4000...@melix.org