Revision 11519 of New in Rhino 1.7R3

  • Revision slug: New_in_Rhino_1.7R3
  • Revision title: New in Rhino 1.7R3
  • Revision id: 11519
  • Created:
  • Creator: hannesw
  • Is current revision? No
  • Comment 123 words added
Tags: 

Revision Content

Under construction: 1.7R3 not yet released.

ECMAScript 5 support

ECMAScript 5 support was added to Rhino by Raphael Speyer during a Google Summer of Code project mentored by Norris Boyd. Rhino 1.7R3 supports most of ES5 except for Strict Mode.

JavaScript 1.8 support

Rhino 1.7R3 has partial support for JavaScript 1.8 contributed by Hannes Wallnöfer and Andreas Bolka. This includes expression closures and destructuring assignment shorthand but not generator expressions.

Note that JavaScript has to be enabled explicitly by selecting language version 180 in the shell, or Context.VERSION_1_8 in embedded mode.

New AST API

Steve Yegge has contributed a new AST API to Rhino which should be useful for people building JavaScript specific tools. The AST classes are in the org.mozilla.javascript.ast package.

CommonJS module support

 

JS Objects implement Java collections

JSDoc comment parsing

Performance improvements

Revision Source

<div class="warning" style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(172, 98, 98); border-right-color: rgb(172, 98, 98); border-bottom-color: rgb(172, 98, 98); border-left-color: rgb(172, 98, 98); padding-top: 0px; padding-right: 10px; padding-bottom: 0px; padding-left: 10px; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(251, 237, 237); color: rgb(109, 103, 95); background-position: initial initial; ">Under construction: 1.7R3 not yet released.</div>
<h3>ECMAScript 5 support</h3>
<p>ECMAScript 5 support was added to Rhino by Raphael Speyer during a Google Summer of Code project mentored by Norris Boyd. Rhino 1.7R3 supports most of ES5 except for Strict Mode. </p>
<h3>JavaScript 1.8 support</h3>
<p>Rhino 1.7R3 has partial support for <a href="/en/new_in_javascript_1.8" title="https://developer.mozilla.org/en/new_in_javascript_1.8">JavaScript 1.8</a> contributed by Hannes Wallnöfer and Andreas Bolka. This includes expression closures and destructuring assignment shorthand but not generator expressions.</p>
<p>Note that JavaScript has to be enabled explicitly by selecting language version <span style="font-family: Courier New;">180</span> in the shell, or <span style="font-family: Courier New;">Context.VERSION_1_8</span> in embedded mode.</p>
<h3>New AST API</h3>
<p>Steve Yegge has contributed a new AST API to Rhino which should be useful for people building JavaScript specific tools. The AST classes are in the <span style="font-family: Courier New;">org.mozilla.javascript.ast</span> package.</p>
<h3>CommonJS module support</h3>
<p> </p>
<h3>JS Objects implement Java collections</h3>
<h3>JSDoc comment parsing</h3>
<h3>Performance improvements</h3>
Revert to this revision