New RI build available
Hi, Dave Herman has prepared some new binary builds of the the ES4 RI and made them available for download at: http://www.ecmascript.org/download.php Please report any bugs you find in this release with the ES4 bug tracking system, and we'll endeavor to fix them: http://bugs.ecmascript.org/ This release covers the cumulative set of fixes, enhancements, and adjustments to track spec discussions since October. Full details can be found in the bug tracker, but the summary entry in the HISTORY file follows: - Newly supported constructs: - Super expressions - Like types - Wrappers (preliminary) - Slice expressions - __ES4__::Map. - __ES4__::Vector. - __ES4__::hashcode() - __ES4__::DecimalContext, new decimal pragma - uint32ops::* - Corrected behavior: - Overhaul type system to conform to "valleyscript" model - Strictness pragmas - Cyclic type term prevention - Type parameter scoping - Property enumeration order - Builtin prototype chains - Builtin constructors - Builtin conversions - Builtin non-magic wrapper types - Prototype property shadowing - Scope rules for let expressions - Arithmetic rules - Function self-name binding - Union types use "|" rather than "," - Regexp character class bug - Hoisting bug - Property-enumerability bug - Nullability enforcement - REPL error handling -Graydon ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
On Feb 13, 2008, at 3:57 PM, Peter Hall wrote: >> From the discussions that I can recall, I thought it was to permit > more complex type combinations, adding intersection types using "&". > (which is why I like the change). That was one meaning of "future-proof", yeah. Another was to avoid overloading poor old comma, which might want to be used for something tuple-ish. /be > > Peter > > > On Feb 13, 2008 11:48 PM, Brendan Eich <[EMAIL PROTECTED]> wrote: >> >> On Feb 13, 2008, at 3:46 PM, Peter Hall wrote: >> - Union types are spelled (x|y|z) now, not (x,y,z). Popularity contest, the pipe character won. >>> >>> Didn't notice that change! (and I like it :)) >> >> Popularity, but deeper reasons include (a) more future-proof; (b) >> precedent from other PLs. >> >> /be >> >> >> ___ >> Es4-discuss mailing list >> Es4-discuss@mozilla.org >> https://mail.mozilla.org/listinfo/es4-discuss >> > ___ > Es4-discuss mailing list > Es4-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es4-discuss ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
>From the discussions that I can recall, I thought it was to permit more complex type combinations, adding intersection types using "&". (which is why I like the change). Peter On Feb 13, 2008 11:48 PM, Brendan Eich <[EMAIL PROTECTED]> wrote: > > On Feb 13, 2008, at 3:46 PM, Peter Hall wrote: > > >>- Union types are spelled (x|y|z) now, not (x,y,z). > >> Popularity contest, the pipe character won. > >> > > > > Didn't notice that change! (and I like it :)) > > Popularity, but deeper reasons include (a) more future-proof; (b) > precedent from other PLs. > > /be > > > ___ > Es4-discuss mailing list > Es4-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es4-discuss > ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
On Feb 13, 2008, at 3:46 PM, Peter Hall wrote: >>- Union types are spelled (x|y|z) now, not (x,y,z). >> Popularity contest, the pipe character won. >> > > Didn't notice that change! (and I like it :)) Popularity, but deeper reasons include (a) more future-proof; (b) precedent from other PLs. /be ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
>- Union types are spelled (x|y|z) now, not (x,y,z). > Popularity contest, the pipe character won. > Didn't notice that change! (and I like it :)) Peter ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
[EMAIL PROTECTED] wrote: > as i was saying before [ctrl + v, enter] turned into [ctrl + enter] > (maybe ctrl+enter is a bad thunderbird shortcut?) > == > > my lecture notes are here: > http://moock.org/lectures/newInECMAScript4 > > they are nearly entirely based on the overview at: > http://www.ecmascript.org/es4/spec/overview.pdf > > and the proposals at: > http://wiki.ecmascript.org/doku.php?id=proposals:proposals > > and francis cheng's helpful guidance. > > comments, corrections, and all feedback very much appreciated. Some corrections: - Union types are spelled (x|y|z) now, not (x,y,z). Popularity contest, the pipe character won. - ES3 primitives are not exactly "gone", they are simply assigned to classes that (hopefully!) perfectly emulate their old semantics. There is some (mandated) magic behavior in these classes for proper backward-compatibility. - The structure of some of these features is presently in debate within the committee: at least units, numeric types, generic functions, operator overloading, wrap, tail calls. - The ES4 wiki has proven to be less-than-ideal for hashing out proposals and amendments, so much of the discussion and work now takes place within the ES4 ticket tracking system (in which there are linear conversations and tickets progress through defined states). http://bugs.ecmascript.org/ Otherwise, good luck with the presentation! Please do emphasize that the language is a work in progress -- as are its various implementations -- and there is ongoing discussion about which of these aspects will be able to peacefully coexist in the spec. Probably some will not make it, or will show up wearing different clothes. You may also wish to emphasize -- I find this is an important point for newcomers -- that the type system is a *runtime* type system; it has been designed such that a conservative static checker can prove or disprove some safety issues in a program, but such static checking is entirely optional, as smooth interoperation with unannotated code -- deferring all checks to runtime -- was a strict design requirement. -Graydon ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
Re: new since ActionScript 3.0 lecture notes
as i was saying before [ctrl + v, enter] turned into [ctrl + enter] (maybe ctrl+enter is a bad thunderbird shortcut?) == my lecture notes are here: http://moock.org/lectures/newInECMAScript4 they are nearly entirely based on the overview at: http://www.ecmascript.org/es4/spec/overview.pdf and the proposals at: http://wiki.ecmascript.org/doku.php?id=proposals:proposals and francis cheng's helpful guidance. comments, corrections, and all feedback very much appreciated. for the curious, you can find information about FITC, the popular Flash conference where i'll be delivering the presentation, here: http://www.fitc.ca sorry for the double-send. humbly, colin moock [EMAIL PROTECTED] wrote: > greetings all, > i'm a long-time lurker, full time ActionScript developer. > > i have an upcoming presentation at FITC in amsterdam (february) and > toronto (april) that covers the features in ecma4 that are new to > ActionScript (i.e., those not already in ActionScript 3.0). > > my lecture notes are here: > ___ > Es4-discuss mailing list > Es4-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es4-discuss ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss
new since ActionScript 3.0 lecture notes
greetings all, i'm a long-time lurker, full time ActionScript developer. i have an upcoming presentation at FITC in amsterdam (february) and toronto (april) that covers the features in ecma4 that are new to ActionScript (i.e., those not already in ActionScript 3.0). my lecture notes are here: ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss