Version: 4.1.5.3

JavaScript for PLT Scheme

by Dave Herman <dherman at ccs dot neu dot edu>

This package is an implementation of the ECMAScript language specified by ECMA-262 Edition 3, better known as JavaScript.

For license information, please see the file COPYING.LIB.

    1 JavaScript for PLT Scheme

      1.1 Getting Started

      1.2 Libraries Provided by this Package

      1.3 JavaScript Language for DrScheme

      1.4 Design Choices

      1.5 Known Limitations

      1.6 Feedback and Bug Reports

      1.7 Acknowledgments

      1.8 History

    2 Lexing and Parsing

      2.1 Input Sources

      2.2 Source Representation

      2.3 Syntax Errors

      2.4 Lexer Objects

      2.5 Lexing Functions

      2.6 Parser Objects

      2.7 Parsing Functions

    3 Abstract Syntax

      3.1 Declarations

      3.2 Expressions

      3.3 Statements

      3.4 Miscellaneous Terms

      3.5 Utility Functions

      3.6 Extending the Language

    4 Pretty-Printing

      4.1 Formatting Terms

      4.2 Configuration Parameters

      4.3 Extending the Pretty-Printer

    5 Parenthetical JavaScript

      5.1 Syntax

        5.1.1 Operators

        5.1.2 Identifiers

      5.2 Resolving Ambiguities

        5.2.1 Disambiguating operators with #%keyword

        5.2.2 Disambiguating expressions with #%expression

      5.3 Syntactic Conveniences

        5.3.1 Java Dot Notation

        5.3.2 Multiary Operators

      5.4 Library Procedures

        5.4.1 S-expression Parsers

        5.4.2 S-expression Generators

    6 Compiling to Scheme

    7 Runtime System

      7.1 Namespaces

      7.2 Values

      7.3 Objects

      7.4 JavaScript Library

    8 Evaluation

    9 Configuration Parameters

    Index