<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
dguide: <a href="http://labs.openlaszlo.org/trunk-nightly/docs/developers/language-preliminaries.html">Language Preliminaries</a><div><br></div><div><a href="http://labs.openlaszlo.org/trunk-nightly/docs/developers/language-preliminaries.html">http://labs.openlaszlo.org/trunk-nightly/docs/developers/language-preliminaries.html</a></div><div><br></div><div>dguide: <a href="http://labs.openlaszlo.org/trunk-nightly/docs/developers/ecmascript-and-lzx.html">ECMAScript</a></div><div><br></div><div><a href="http://labs.openlaszlo.org/trunk-nightly/docs/developers/ecmascript-and-lzx.html">http://labs.openlaszlo.org/trunk-nightly/docs/developers/ecmascript-and-lzx.html</a></div><div><br><div><div>On Jun 5, 2008, at 7:44 AM, P T Withington wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[cc-ing Don, Laszlo-dev:<span class="Apple-converted-space">  </span>feel free to pitch in here!]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 2008-06-05, at 06:12 EDT, Lou Iorio wrote:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://www.openlaszlo.org/jira/browse/LPP-6098">http://www.openlaszlo.org/jira/browse/LPP-6098</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">From JIRA:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"JS2 is not explicitly mentioned anywhere as far as I can tell, but each method declaration uses JavaScript 2-style type declarations. JS2 and typing would likely need to be added to the "Language Preliminaries" section of the dev guide. It currently contains obsolete information in the JavaScript section and should be updated to mention that JavaScript in LZX supports a set of JS2 features."</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Currently, we say this in the Language Preliminarys chapter of the dguide:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">LZX incorporates a partial implementation of the ECMA-262 Edition 3 specification.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">We also provide a history of JavaScript and ECMAScript that seems like too much detail to me.</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">URL?<span class="Apple-converted-space">  </span>I don't know my way around the doc like you.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> <blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The chapter ECMAScript in the dguide provides a lot more, including the differences between LZX</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and ECMAScript.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Has this changed? What should we really say?</div> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Give me an URL and I'll tell you.<span class="Apple-converted-space">  </span>I think I updated this page recently, as it used to basically be a list of the ES things that we could not support on swf5.<span class="Apple-converted-space">  </span>What LPP-6098 is complainint about is that we have added a small subset of the things being proposed for JS2/ES4.<span class="Apple-converted-space">  </span>Unfortunately, this is not a standard yet, so we can't just reference it (drafts exist: <a href="http://www.ecmascript.org/es4/spec/overview.pdf">http://www.ecmascript.org/es4/spec/overview.pdf</a>)<span class="Apple-converted-space">  </span>In particular, the things we have added include:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1) Class declarations</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2) Type annotations</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">3) Additional operators: `is` and `cast`</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">4) Optional and rest parameters for functions</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[There may be others, but that's what came off the top of my head.]</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </blockquote></div><br></div></body></html>