The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.0 - 2010-05-01

  • This is a fork from Claes Jakobsson's JavaScript module. Although almost every area was revamped, we try hard to be fully backward compatible, but you should read the documentation.
  • The following are the most visible changes:
  • All that you cat expect to be passed by reference between both interpreters are now not "converted" but passed encapsulated in specialized classes and are "alive".
  • All Perl classes are exportable to javascript. Think (mouth-watering):
    • var DBI = Sys.require('DBI'); var handler = DBI.connect(...);
  • New "questions free" building mechanism. Makefile.pl now depends on ExtUtisl::PkgConfig.
  • Builds against SpiderMonkey 1.7.0 up to (unreleased) 1.8.5 (Gecko 1.9.3).
  • Improved exception handling.
  • Perl can access and manipulate javascript's 'this'.
  • Full support for utf8 even when SpiderMonkey wasn't compiled with support for it.
  • The code is modularized, some subsystems are only loaded on demand.
  • A command line 'jsp' javascript interpreter included for standalone js execution.
  • Much bigger test battery. Grown from 311 to over 900 tests.
  • Revised and extender documentation.
  • Many bugs fixed.

Documentation

jsp
JavaScript interpreter with perl powers
"JavaScriptification" tweaks for Perl modules

Modules

JSP
A bridge between JavaScript and Perl languages
Reference to a javascript Array
Perl class that encapsulates the javascript's true and false values.
Encapsulates all javascript object reflected to perl space in order to syncronize SM garbage colector and perl reference counting system.
An object in which we can execute javascript
Control which Perl namespaces can be used from javascript.
Encapsulates errors thrown from javascript
Reference to a javascript Function
Reference to a JavaScript Object
Encapsulate a Perl ARRAY in javascript space
Create native JavaScript classes in Perl
Encapsulate a perl hash in javascript space
Encapsulates generic perl objects in javascript
Encapsulate Perl SCALAR references in javascript
Encapsulate a Perl CODE reference in javascript
Runs contexts
Plugin that install stock services for javascript side
Encapsulates pre-compiled javascript code.
Perl namespaces reflector for JavaScript.
Add support for Traps Handling to JSP
Perl things visiting JavaScript

Provides

in lib/JSP/Controller.pm
in lib/JSP/Controller.pm
in lib/JSP/Controller.pm
in lib/JSP/Controller.pm
in lib/JSP/Controller.pm
in lib/JSP/Controller.pm
in lib/JSP/Object.pm