Structure: Divided by compilation phase.
-Lexical Analysis: We use the Antlr [1] lexer generator for
-producing the one needed for our compiler. But, the Microsoft.JScript
-namespace, exposes some classes related to that task. Those are:
+Lexical Analysis: We use a ported version of the parser from Mozilla's
+Rhino (Token.cs, TokenStream.cs and Parser.cs)
+The public API exposed by namespace Microsoft.JScript are:
- JSToken
- JSScanner
- Context
- Add the extensions from MS, like classes, interfaces, etc.
-If you want to build and install Microsoft.JScript.dll simply do a 'make install' at
-mcs/class/Microsoft.JScript
-
-If you wanna build mjs (the ECMAScript compiler), do:
-
- mcs -r:Microsoft.JScript.dll driver.cs
-
-
- AST
- ASTList
- ArrayLiteral