develooper Front page | perl.javascript | Postings from June 2010

Announce: JSP v1.0

From:
Salvador Ortiz Garcia
Date:
June 9, 2010 14:33
Subject:
Announce: JSP v1.0
Message ID:
[email protected]
I'm happy to announce the first release (1.00) of the JSP Perl module, 
an open source bridge between Perl and Mozilla's SpiderMonkey JavaScript 
engines.

JSP is a datatype reflection engine and an object life cycle synchronizer.
JSP allows you to write programs using both languages at the same time.

Features:

    * Objects and other values pass freely between interpreters. They
      are encapsulated in specialized classes, giving them correct
      semantics on their non-native interpreter. Values and objects and
      are "alive".
    * All Perl classes are exportable to JavaScript.

           // Use DBI from javascript
           Sys.install('DBI', 'DBI');
           var dbh = DBI.connect(...);
           dbh.prepare(sqlstement);

    * Easy to build on supported javascript engines.
    * Builds against SpiderMonkey 1.7.0 up to (unreleased) 1.8.5 (Gecko
      1.9.3).
    * Exceptions pass freely between interpreters. A language can
      handle, in a native way, exceptions thrown from the other
      language. In JavaScript you use /throw, try and catch/. In Perl
      you use /die, eval and $@/. You can /cath/ a perl's /die/ and also
      after an /eval, $@/ will be set to the error /throw/n.
    * Perl can access and manipulate javascript's /this/.
    * Full support for utf8 even when SpiderMonkey wasn't compiled with
      support for it.
    * A command line *jsp* javascript interpreter included for
      standalone javascript execution.
    * Big test battery. Almost 1000 tests.
    * Extensive reference documentation.

Requirements:

     Perl 5.8 or higher
     SpiderMonkey 1.7 or higher

Get it from your nearest CPAN site at: http://search.cpan.org/dist/JSP/ 
or visit us at http://jsp.msg.mx

The JSP project is looking for both developers and users.

I'd appreciate your comments and feedback.

Thank you,
Salvador Ortiz



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at [email protected] | Group listing | About