Skip to content

Commit

Permalink
js: javascript interpreter (JIT) and libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
florin65 committed Feb 10, 2013
1 parent 769eb99 commit 420a549
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions compilers/js/BUILD
@@ -0,0 +1,9 @@
(

OPTS+=" --with-system-nspr --enable-threadsafe "
cd js/src
default_build

install -m 0755 shell/js /usr/bin

) > $C_FIFO 2>&1
1 change: 1 addition & 0 deletions compilers/js/DEPENDS
@@ -0,0 +1 @@
depends nspr
17 changes: 17 additions & 0 deletions compilers/js/DETAILS
@@ -0,0 +1,17 @@
MODULE=js
VERSION=1.8.5
SOURCE=js185-1.0.0.tar.gz
SOURCE_URL=http://ftp.mozilla.org/pub/mozilla.org/$MODULE
SOURCE_VFY=sha1:52a01449c48d7a117b35f213d3e4263578d846d6
WEB_SITE=https://developer.mozilla.org/En/SpiderMonkey/$VERSION
ENTERED=20130210
UPDATED=20130210
SHORT="JavaScript interpreter and libraries"

cat <<EOF
SpiderMonkey 1.8.5 includes a just-in-time compiler (JIT) (several, actually)
that compiles JavaScript to machine code, for a significant speed increase.
It is supported only on x86, x86_64 and ARM architectures. On other platforms,
the JIT is simply disabled; JavaScript code runs in an interpreter, as in
previous versions. It's the same language, just not as fast.
EOF

0 comments on commit 420a549

Please sign in to comment.