Index of /rev_control/bzr-checkouts/couchdb/visbrero-couchdb/src/js

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]Makefile.ref2007-12-22 20:54 8.0K 
[TXT]README.html2007-12-22 20:54 41K 
[   ]SpiderMonkey.rsp2007-12-22 20:54 418  
[   ]config.mk2007-12-22 20:54 4.7K 
[DIR]config/2007-12-22 20:54 -  
[DIR]editline/2007-12-22 20:54 -  
[DIR]fdlibm/2007-12-22 20:54 -  
[TXT]js.c2007-12-22 20:54 86K 
[   ]js.mak2007-12-22 20:54 83K 
[   ]js.mdp2007-12-22 20:54 18K 
[   ]js.msg2007-12-22 20:54 24K 
[   ]js.pkg2007-12-22 20:54 48  
[   ]js3240.rc2007-12-22 20:54 1.8K 
[   ]jsOS240.def2007-12-22 20:54 15K 
[TXT]jsapi.c2007-12-22 20:54 137K 
[TXT]jsapi.h2007-12-22 20:54 83K 
[TXT]jsarena.c2007-12-22 20:54 16K 
[TXT]jsarena.h2007-12-22 20:54 13K 
[TXT]jsarray.c2007-12-22 20:54 52K 
[TXT]jsarray.h2007-12-22 20:54 3.2K 
[TXT]jsatom.c2007-12-22 20:54 28K 
[TXT]jsatom.h2007-12-22 20:54 17K 
[TXT]jsbit.h2007-12-22 20:54 8.2K 
[TXT]jsbool.c2007-12-22 20:54 6.7K 
[TXT]jsbool.h2007-12-22 20:54 2.7K 
[TXT]jsclist.h2007-12-22 20:54 4.1K 
[TXT]jscntxt.c2007-12-22 20:54 37K 
[TXT]jscntxt.h2007-12-22 20:54 37K 
[TXT]jscompat.h2007-12-22 20:54 2.3K 
[TXT]jsconfig.h2007-12-22 20:54 11K 
[   ]jsconfig.mk2007-12-22 20:54 5.5K 
[TXT]jscpucfg.c2007-12-22 20:54 12K 
[TXT]jscpucfg.h2007-12-22 20:54 6.4K 
[TXT]jsdate.c2007-12-22 20:54 68K 
[TXT]jsdate.h2007-12-22 20:54 3.7K 
[TXT]jsdbgapi.c2007-12-22 20:54 40K 
[TXT]jsdbgapi.h2007-12-22 20:54 14K 
[TXT]jsdhash.c2007-12-22 20:54 27K 
[TXT]jsdhash.h2007-12-22 20:54 24K 
[TXT]jsdtoa.c2007-12-22 20:54 87K 
[TXT]jsdtoa.h2007-12-22 20:54 5.8K 
[TXT]jsemit.c2007-12-22 20:54 236K 
[TXT]jsemit.h2007-12-22 20:54 35K 
[TXT]jsexn.c2007-12-22 20:54 43K 
[TXT]jsexn.h2007-12-22 20:54 3.7K 
[TXT]jsfile.c2007-12-22 20:54 80K 
[TXT]jsfile.h2007-12-22 20:54 2.1K 
[   ]jsfile.msg2007-12-22 20:54 7.1K 
[TXT]jsfun.c2007-12-22 20:54 72K 
[TXT]jsfun.h2007-12-22 20:54 5.8K 
[TXT]jsgc.c2007-12-22 20:54 103K 
[TXT]jsgc.h2007-12-22 20:54 12K 
[TXT]jshash.c2007-12-22 20:54 13K 
[TXT]jshash.h2007-12-22 20:54 5.8K 
[TXT]jsify.pl2007-12-22 20:54 9.1K 
[TXT]jsinterp.c2007-12-22 20:54 229K 
[TXT]jsinterp.h2007-12-22 20:54 16K 
[TXT]jsiter.c2007-12-22 20:54 32K 
[TXT]jsiter.h2007-12-22 20:54 4.0K 
[   ]jskeyword.tbl2007-12-22 20:54 6.7K 
[TXT]jskwgen.c2007-12-22 20:54 13K 
[TXT]jslibmath.h2007-12-22 20:54 6.8K 
[TXT]jslock.c2007-12-22 20:54 38K 
[TXT]jslock.h2007-12-22 20:54 11K 
[   ]jslocko.asm2007-12-22 20:54 2.2K 
[TXT]jslog2.c2007-12-22 20:54 2.8K 
[TXT]jslong.c2007-12-22 20:54 8.1K 
[TXT]jslong.h2007-12-22 20:54 14K 
[TXT]jsmath.c2007-12-22 20:54 14K 
[TXT]jsmath.h2007-12-22 20:54 2.1K 
[TXT]jsnum.c2007-12-22 20:54 32K 
[TXT]jsnum.h2007-12-22 20:54 9.2K 
[TXT]jsobj.c2007-12-22 20:54 156K 
[TXT]jsobj.h2007-12-22 20:54 23K 
[TXT]jsopcode.c2007-12-22 20:54 165K 
[TXT]jsopcode.h2007-12-22 20:54 13K 
[   ]jsopcode.tbl2007-12-22 20:54 28K 
[TXT]jsosdep.h2007-12-22 20:54 3.0K 
[TXT]jsotypes.h2007-12-22 20:54 7.0K 
[TXT]jsparse.c2007-12-22 20:54 209K 
[TXT]jsparse.h2007-12-22 20:54 22K 
[TXT]jsprf.c2007-12-22 20:54 31K 
[TXT]jsprf.h2007-12-22 20:54 6.0K 
[   ]jsproto.tbl2007-12-22 20:54 4.9K 
[TXT]jsprvtd.h2007-12-22 20:54 8.7K 
[TXT]jspubtd.h2007-12-22 20:54 27K 
[TXT]jsregexp.c2007-12-22 20:54 142K 
[TXT]jsregexp.h2007-12-22 20:54 6.7K 
[TXT]jsscan.c2007-12-22 20:54 65K 
[TXT]jsscan.h2007-12-22 20:54 17K 
[TXT]jsscope.c2007-12-22 20:54 61K 
[TXT]jsscope.h2007-12-22 20:54 20K 
[TXT]jsscript.c2007-12-22 20:54 50K 
[TXT]jsscript.h2007-12-22 20:54 8.7K 
[   ]jsshell.msg2007-12-22 20:54 2.4K 
[TXT]jsstddef.h2007-12-22 20:54 2.6K 
[TXT]jsstr.c2007-12-22 20:54 168K 
[TXT]jsstr.h2007-12-22 20:54 20K 
[TXT]jstypes.h2007-12-22 20:54 16K 
[TXT]jsutil.c2007-12-22 20:54 5.8K 
[TXT]jsutil.h2007-12-22 20:54 3.4K 
[TXT]jsxdrapi.c2007-12-22 20:54 23K 
[TXT]jsxdrapi.h2007-12-22 20:54 7.0K 
[TXT]jsxml.c2007-12-22 20:54 247K 
[TXT]jsxml.h2007-12-22 20:54 10K 
[   ]lock_SunOS.s2007-12-22 20:54 4.0K 
[   ]plify_jsdhash.sed2007-12-22 20:54 1.0K 
[TXT]prmjtime.c2007-12-22 20:54 12K 
[TXT]prmjtime.h2007-12-22 20:54 3.4K 
[TXT]resource.h2007-12-22 20:54 395  
[   ]rules.mk2007-12-22 20:54 5.1K 
[   ]win32.order2007-12-22 20:54 9.2K 

JavaScript Reference Implementation (JSRef) README

Table of Contents

Introduction

This is the README file for the JavaScript Reference (JSRef, now better known as SpiderMonkey) implementation. It consists of build conventions and instructions, source code conventions, a design walk-through, and a brief file-by-file description of the source.

JSRef builds a library or DLL containing the JavaScript runtime (compiler, interpreter, decompiler, garbage collector, atom manager, standard classes). It then compiles a small "shell" program and links that with the library to make an interpreter that can be used interactively and with test .js files to run scripts.  The code has no dependencies on the rest of the Mozilla codebase.

Quick start tip: skip to "Using the JS API" below, build the js shell, and play with the object named "it" (start by setting 'it.noisy = true').

Build conventions (standalone JS engine and shell) (OUT OF DATE!)

These build directions refer only to building the standalone JavaScript engine and shell.  To build within the browser, refer to the build directions on the mozilla.org website.

By default, all platforms build a version of the JS engine that is not threadsafe.  If you require thread-safety, you must also populate the mozilla/dist directory with NSPR headers and libraries.  (NSPR implements a portable threading library, among other things.  The source is downloadable via CVS from mozilla/nsprpub.)  Next, you must define JS_THREADSAFE when building the JS engine, either on the command-line (gmake/nmake) or in a universal header file.

Windows

Macintosh

Unix

Debugging notes