1 |
_ ___ ____ ____ ____ _ |
2 |
|_|_ _ / _ \/ ___/ ___|| _ \ (_)___ |
3 |
_|_||_| | | | \___ \___ \| |_) | | / __| |
4 |
|_||_|_| | |_| |___) |__) | __/ | \__ \ |
5 |
|_|_|_| \___/|____/____/|_| _/ |___/ |
6 |
|__/ |
7 |
|
8 |
OSSP js - Mozilla JavaScript Engine |
9 |
Version 1.6.20070208 (08-Feb-2007) |
10 |
|
11 |
ABSTRACT |
12 |
|
13 |
OSSP js is a stand-alone distribution of the JavaScript (JS) |
14 |
programming language reference implementation from Mozilla -- aka |
15 |
"JSRef" or "SpiderMonkey". This distribution provides a smart, |
16 |
stand-alone and portable distribution of Mozilla JavaScript through a |
17 |
build environment based on GNU autoconf, GNU libtool and GNU shtool, |
18 |
including support for easy JavaScript build-time feature set selection |
19 |
(ECMA-3, JS-1.5, JS-1.6), optional CLI line editing support, optional |
20 |
"stdio" based File object support and JS/Perl bindings. Additionally, |
21 |
the C API in "libjs" contains both the JavaScript engine and the |
22 |
required Sun math library ("fdlibm") and with all internal symbols |
23 |
carefully protected under the "js" namespace. Finally, a js-config(1) |
24 |
utility and a pkg-config(1) specification is provided to allow |
25 |
applications to easily build with the JavaScript C API. |
26 |
|
27 |
JUSTIFICATION |
28 |
|
29 |
OSSP js was created because for OSSP and similar pedantic C coding |
30 |
projects a smart, stand-alone, portable, clean, powerful and |
31 |
robust scripting language engine is required. JavaScript is a |
32 |
great programming language and Mozilla JavaScript "SpiderMonkey" |
33 |
definitely is an acceptable clean, powerful and robust implementation. |
34 |
Unfortunately there is just a stand-alone distribution released from |
35 |
time to time by Mozilla and it is far away from really being smart, |
36 |
stand-alone and portable. At least for OSSP it was not acceptable |
37 |
having to tell the community that for small and stand-alone C |
38 |
components like the OSSP components they either have to install the |
39 |
great but large Mozilla Firefox application (where Mozilla JavaScript |
40 |
is included) or have to fiddle around theirself with an older |
41 |
stand-alone JavaScript distribution and its weak build environment. |
42 |
OSSP js combines the best from two worlds: the 1:1 repackaged |
43 |
JavaScript code base from Mozilla and the usual amount of GNU |
44 |
autoconf, GNU libtool and GNU shtool wrappers as always used by OSSP. |
45 |
Additionally, stand-alone ("stdio" instead of NSPR based) File object |
46 |
support was required. |
47 |
|
48 |
VERSIONING |
49 |
|
50 |
The version of OSSP js is M.N.YYYYMMDD where M.N is the JavaScript |
51 |
branch and YYYYMMDD is the date where the JavaScript code was |
52 |
extracted from the Mozilla CVS repository. |
53 |
|
54 |
COPYRIGHT AND LICENSE |
55 |
|
56 |
Copyright (c) 1998-2006 Mozilla <http://www.mozilla.org/> |
57 |
|
58 |
This file is part of OSSP js, a repackaging of the Mozilla JavaScript |
59 |
reference implementation, which can found at http://www.ossp.org/pkg/lib/js/ |
60 |
|
61 |
The content of this distribution is licensed under the Mozilla |
62 |
Public License (MPL) 1.1 (see http://www.mozilla.org/MPL/) or |
63 |
alternatively the GNU General Public License (GPL) 2.0 (see |
64 |
http://www.gnu.org/licenses/gpl.html) or the GNU Lesser General Public |
65 |
License (LGPL) 2.1 (see http://www.gnu.org/licenses/lgpl.html). |
66 |
|
67 |
HOME |
68 |
|
69 |
The latest release can be found on |
70 |
|
71 |
o http://www.ossp.org/pkg/lib/js/ |
72 |
o ftp://ftp.ossp.org/pkg/lib/js/ |
73 |
|