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

Announce: JSP v1.0

Salvador Ortiz Garcia
June 9, 2010 14:33
Announce: JSP v1.0
Message ID:
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 

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.


    * 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(...);

    * Easy to build on supported javascript engines.
    * Builds against SpiderMonkey 1.7.0 up to (unreleased) 1.8.5 (Gecko
    * 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.


     Perl 5.8 or higher
     SpiderMonkey 1.7 or higher

Get it from your nearest CPAN site at: 
or visit us at

The JSP project is looking for both developers and users.

I'd appreciate your comments and feedback.

Thank you,
Salvador Ortiz Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About