diff --git a/mozilla/js/src/README.html b/mozilla/js/src/README.html index 3dc49b3d19b..2132cea2029 100644 --- a/mozilla/js/src/README.html +++ b/mozilla/js/src/README.html @@ -73,7 +73,8 @@ Table of Contents

Introduction

This is the README file for the JavaScript -Reference (JSRef) implementation. It consists of build conventions +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 @@ -81,12 +82,13 @@ 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 Navigator code. +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)

+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. @@ -178,6 +180,13 @@ Use 'gmake -f Makefile.ref nsinstall-target all export ship'
  • To turn on GC instrumentation, define JS_GCMETER.
  • + -The details of an object map (scope) are mostly hidden in jsscope.[ch], -where scopes start out as linked lists of symbols, and grow after some -threshold into PR hash tables. +The details of a native object's map (scope) are mostly hidden in +jsscope.[ch].

    jsatom.c, jsatom.h

    The atom manager. Contains well-known string constants, their atoms, the