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

[ICO]NameLast modifiedSizeDescription

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

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