head 1.10; access; symbols; locks; strict; comment @# @; 1.10 date 2007.02.08.09.43.21; author rse; state Exp; branches; next 1.9; commitid Dbp65TR2EqTkCF5s; 1.9 date 2006.08.20.16.00.12; author rse; state Exp; branches; next 1.8; commitid R5XKpizO06ZmeBJr; 1.8 date 2006.08.03.13.30.50; author rse; state Exp; branches; next 1.7; commitid 8QXvyY0AqXp2XoHr; 1.7 date 2006.07.31.18.16.24; author rse; state Exp; branches; next 1.6; commitid yFj4FezNib3ZC2Hr; 1.6 date 2006.07.30.08.08.18; author rse; state Exp; branches; next 1.5; commitid s4S8jqOkUORliRGr; 1.5 date 2006.07.29.12.22.29; author rse; state Exp; branches; next 1.4; commitid Orht9VDm647zJKGr; 1.4 date 2006.07.29.12.18.54; author rse; state Exp; branches; next 1.3; commitid XUKH3TOROKpkIKGr; 1.3 date 2006.07.29.11.42.09; author rse; state Exp; branches; next 1.2; commitid ENvgurZsb0AIvKGr; 1.2 date 2006.07.24.20.24.27; author rse; state Exp; branches; next 1.1; commitid fQuLbHqnkvzRy9Gr; 1.1 date 2006.07.23.12.57.17; author rse; state Exp; branches; next ; commitid 6fnu5q3EBwLr7ZFr; desc @@ 1.10 log @release OSSP js 1.6.20070208 @ text @ #use wml::ossp area=pkg:lib subarea=js OSSP js

Mozilla JavaScript Engine

Abstract

OSSP js is a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla -- aka JSRef or SpiderMonkey. This distribution provides a smart, stand-alone and portable distribution of Mozilla JavaScript through a build environment based on GNU autoconf, GNU libtool and GNU shtool, including support for easy JavaScript build-time feature set selection (ECMA-3, JS-1.5, JS-1.6), optional CLI line editing support, optional "stdio" based File object support, optional Dynamic Shared Object (DSO) based C extension loading support and JS/Perl bindings. Additionally, the C API in "libjs" contains both the JavaScript engine and the required Sun math library ("fdlibm") and with all internal symbols carefully protected under the "js" namespace. Finally, a js-config(1) utility and a pkg-config(1) specification is provided to allow applications to easily build with the JavaScript C API.

Justification

OSSP js was created because for OSSP and similar pedantic C coding projects a smart, stand-alone, portable, clean, powerful and robust scripting language engine is required. JavaScript is a great programming language and Mozilla JavaScript "SpiderMonkey" definitely is an acceptable clean, powerful and robust implementation. Unfortunately there is just a stand-alone distribution released from time to time by Mozilla and it is far away from really being smart, stand-alone and portable. At least for OSSP it was not acceptable having to tell the community that for small and stand-alone C components like the OSSP components they either have to install the great but large Mozilla Firefox application (where Mozilla JavaScript is included) or have to fiddle around theirself with an older stand-alone JavaScript distribution and its weak build environment. OSSP js combines the best from two worlds: the 1:1 repackaged JavaScript code base from Mozilla and the usual amount of GNU autoconf, GNU libtool and GNU shtool wrappers as always used by OSSP. Additionally, stand-alone ("stdio" instead of NSPR based) File object support was required.

Versioning

The version of OSSP js is M.N.YYYYMMDD where M.N is the JavaScript branch and YYYYMMDD is the date where the JavaScript code was extracted from the Mozilla CVS repository.

Documentation

Authors

Status

Source

Donation

@ 1.9 log @release OSSP js 1.6.20060820 @ text @d67 1 a67 1 stable="1.6.20060820" stable_date="20-Aug-2006" d78 1 a78 1 stable="js-1.6.20060803.tar.gz" unstable="none"> @ 1.8 log @release OSSP js 1.6.20060803 @ text @d67 1 a67 1 stable="1.6.20060803" stable_date="03-Aug-2006" @ 1.7 log @release OSSP js 1.6.20060731 @ text @d20 2 a21 1 CLI line editing support, optional "stdio" based File object support d67 1 a67 1 stable="1.6.20060731" stable_date="31-Jul-2006" d78 1 a78 1 stable="js-1.6.20060731.tar.gz" unstable="none"> @ 1.6 log @release OSSP js 1.6.20060730 @ text @d66 1 a66 1 stable="1.6.20060730" stable_date="30-Jul-2006" d77 1 a77 1 stable="js-1.6.20060730.tar.gz" unstable="none"> @ 1.5 log @add hyperlinks @ text @d66 1 a66 1 stable="1.6.20060729" stable_date="29-Jul-2006" d77 1 a77 1 stable="js-1.6.20060729.tar.gz" unstable="none"> @ 1.4 log @add a little spidermonkey image @ text @d12 15 a26 13 OSSP js is a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla -- aka "JSRef" or "SpiderMonkey". This distribution provides a smart, stand-alone and portable distribution of Mozilla JavaScript through a build environment based on GNU autoconf, GNU libtool and GNU shtool, including support for easy JavaScript build-time feature set selection (ECMA-3, JS-1.5, JS-1.6), optional CLI line editing support, optional "stdio" based File object support and JS/Perl bindings. Additionally, the C API in "libjs" contains both the JavaScript engine and the required Sun math library ("fdlibm") and with all internal symbols carefully protected under the "js" namespace. Finally, a js-config(1) utility and a pkg-config(1) specification is provided to allow applications to easily build with the JavaScript C API. @ 1.3 log @release OSSP js 1.6.20060729 @ text @d6 2 @ 1.2 log @release OSSP js 1.6.20060724 @ text @d62 1 a62 1 stable="1.6.20060724" stable_date="24-Jul-2006" d73 1 a73 1 stable="js-1.6.20060724.tar.gz" unstable="none"> @ 1.1 log @release OSSP js 1.6.20060722 @ text @d62 1 a62 1 stable="1.6.20060722" stable_date="22-Jul-2006" d73 1 a73 1 stable="js-1.6.20060722.tar.gz" unstable="none"> @