The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.004

  • Alpha release. New features and bug fixes in this release include:
  • Support for all JavaScript statements, not just expression statements
  • JE::String now provides a desurrogify function.
  • JE::upgrade now supports coderefs and makes '0' into a num- ber, as the docs say it does.
  • The JE::new_function method has been added.
  • Overloading for JE::LValue objects
  • JE::Object::props now returns the names of the object's pro- totype's properties as well as the object's own
  • Error and SyntaxError classes
  • Function literals and declarations
  • '==' in JS now does string comparison if at least one oper- and is a string (it used to determine that it should do string comparison and then do numeric equals anyway, because I typed '==' by mistake instead of 'eq'!)

Documentation

JavaScript types and objects

Modules

JE
Pure-Perl ECMAScript (JavaScript) Engine
JavaScript boolean value
ECMAScript parser and code executor for JE
JavaScript lvalue class
JavaScript null value
JavaScript number value
Base class for all JavaScript objects
JavaScript Array object class
JavaScript Boolean object class
JavaScript Error object class
JavaScript SyntaxError object class
JavaScript function class
JavaScript Number object class
JavaScript String object class
JavaScript scope chain (what makes closures work)
JavaScript string value
JavaScript undefined value
Pure-Perl ECMAScript (JavaScript) engine

Provides

in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Code.pm
in lib/JE/Object/Function.pm
in lib/JE/Object/Function.pm