🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: perl.javascript
1 messages
1 total messages Started by Salvador Ortiz Garcia Wed, 09 Jun 2010 21:33
Announce: JSP v1.0
#1
Author: Salvador Ortiz Garcia
Date: Wed, 09 Jun 2010 21:33
50 lines
3147 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads