New "ES6" Working Draft
# Kam Kasravi (14 years ago)
Were 'const functions' ever accepted into the grammar? See WeakMap for an example.
Were 'const functions' ever accepted into the grammar? See WeakMap for an example. ________________________________ From: Allen Wirfs-Brock <allen at wirfs-brock.com> To: es-discuss at mozilla.org Sent: Friday, September 23, 2011 10:21 AM Subject: New "ES6" Working Draft I have updated the wiki with my latest working draft of the ES.next ("ESA6") spec. Word and PDF versions are available. They can be access from http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts Please report issues using https://bugs.ecmascript.org/enter_bug.cgi?product=Draft%20for%206th%20Edition against the "September 23, 2011 Draft" Changes in this draft are generally marked with "Rev 3" The change summary is: * Resolved as fixed bugs 137, 140,167, 177, 183,184,185,186,187,188,189,190,191,193,196,196 * Merged multiple built-in “class” branding internal properties into a single [[NativeBrand]] internal property * In 10.2, change environment records so that both mutable and immutable bindings may be in an initialized state and must be initialized before use via InitializeBinding * In 10.5 added separate algorithm for Block declaration instantiation. Block level declaration instantiations now specified. Function and global level still need to be updated to support let and const * Added a Declaration production to the grammar and changed StatementList to include both Statement and Declaration * Added let and const declarations. var declarations still hoist to function level and must not conflict with a let or const. * Hoisting and temporal dead zone for all block scoped declarations * Added semantics for destructuring binding pattern. * Added appropriate lexical scoping for declarations in bodies of switch and try statements. Note that for statements still need work for declarations in for head. * Added initializes for individual property level bindings in destructure binding _______________________________________________ es-discuss mailing list es-discuss at mozilla.org https://mail.mozilla.org/listinfo/es-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110923/2d32d63a/attachment-0001.html>
# Mark S. Miller (14 years ago)
They were not. I will fix the WeakMap page when I have time.
They were not. I will fix the WeakMap page when I have time. On Fri, Sep 23, 2011 at 4:01 PM, Kam Kasravi <kamkasravi at yahoo.com> wrote: > Were 'const functions' ever accepted into the grammar? See WeakMap for an > example. > > ------------------------------ > *From:* Allen Wirfs-Brock <allen at wirfs-brock.com> > *To:* es-discuss at mozilla.org > *Sent:* Friday, September 23, 2011 10:21 AM > *Subject:* New "ES6" Working Draft > > I have updated the wiki with my latest working draft of the ES.next > ("ESA6") spec. > Word and PDF versions are available. > > They can be access from > http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts > > Please report issues using * > https://bugs.ecmascript.org/enter_bug.cgi?product=Draft%20for%206th%20Edition against > the "September 23, 2011 Draft"* > > Changes in this draft are generally marked with "Rev 3" > > The change summary is: > > - Resolved as fixed bugs 137, 140,167, 177, > 183,184,185,186,187,188,189,190,191,193,196,196 > - Merged multiple built-in “class” branding internal properties into a > single [[NativeBrand]] internal property > - In 10.2, change environment records so that both mutable and > immutable bindings may be in an initialized state and must be initialized > before use via InitializeBinding > - In 10.5 added separate algorithm for Block declaration > instantiation. Block level declaration instantiations now specified. > Function and global level still need to be updated to support let and const > - Added a *Declaration* production to the grammar and changed * > StatementList* to include both *Statement* and *Declaration* > - Added let and const declarations. var declarations still hoist to > function level and must not conflict with a let or const. > - Hoisting and temporal dead zone for all block scoped declarations > - Added semantics for destructuring binding pattern. > - Added appropriate lexical scoping for declarations in bodies of > switch and try statements. Note that for statements still need work for > declarations in for head. > - Added initializes for individual property level bindings in > destructure binding > > > > > > > > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > > > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > -- Cheers, --MarkM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110923/d4520918/attachment.html>
# Kam Kasravi (14 years ago)
Ok, thanks Mark.
Ok, thanks Mark. On Sep 23, 2011, at 4:07 PM, "Mark S. Miller" <erights at google.com> wrote: > They were not. I will fix the WeakMap page when I have time. > > On Fri, Sep 23, 2011 at 4:01 PM, Kam Kasravi <kamkasravi at yahoo.com> wrote: > Were 'const functions' ever accepted into the grammar? See WeakMap for an example. > > From: Allen Wirfs-Brock <allen at wirfs-brock.com> > To: es-discuss at mozilla.org > Sent: Friday, September 23, 2011 10:21 AM > Subject: New "ES6" Working Draft > > I have updated the wiki with my latest working draft of the ES.next ("ESA6") spec. > Word and PDF versions are available. > > They can be access from http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts > > Please report issues using https://bugs.ecmascript.org/enter_bug.cgi?product=Draft%20for%206th%20Edition against the "September 23, 2011 Draft" > > Changes in this draft are generally marked with "Rev 3" > > The change summary is: > Resolved as fixed bugs 137, 140,167, 177, 183,184,185,186,187,188,189,190,191,193,196,196 > Merged multiple built-in “class” branding internal properties into a single [[NativeBrand]] internal property > In 10.2, change environment records so that both mutable and immutable bindings may be in an initialized state and must be initialized before use via InitializeBinding > In 10.5 added separate algorithm for Block declaration instantiation. Block level declaration instantiations now specified. Function and global level still need to be updated to support let and const > Added a Declaration production to the grammar and changed StatementList to include both Statement and Declaration > Added let and const declarations. var declarations still hoist to function level and must not conflict with a let or const. > Hoisting and temporal dead zone for all block scoped declarations > Added semantics for destructuring binding pattern. > Added appropriate lexical scoping for declarations in bodies of switch and try statements. Note that for statements still need work for declarations in for head. > Added initializes for individual property level bindings in destructure binding > > > > > > > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > > > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > > > > -- > Cheers, > --MarkM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110923/5eb236c7/attachment.html>
I have updated the wiki with my latest working draft of the ES.next ("ESA6") spec. Word and PDF versions are available.
They can be access from harmony:specification_drafts
Please report issues using bugs.ecmascript.org/enter_bug.cgi?product=Draft for 6th Edition against the "September 23, 2011 Draft"
Changes in this draft are generally marked with "Rev 3"
The change summary is: Resolved as fixed bugs 137, 140,167, 177, 183,184,185,186,187,188,189,190,191,193,196,196 Merged multiple built-in “class” branding internal properties into a single [[NativeBrand]] internal property In 10.2, change environment records so that both mutable and immutable bindings may be in an initialized state and must be initialized before use via InitializeBinding In 10.5 added separate algorithm for Block declaration instantiation. Block level declaration instantiations now specified. Function and global level still need to be updated to support let and const Added a Declaration production to the grammar and changed StatementList to include both Statement and Declaration Added let and const declarations. var declarations still hoist to function level and must not conflict with a let or const. Hoisting and temporal dead zone for all block scoped declarations Added semantics for destructuring binding pattern. Added appropriate lexical scoping for declarations in bodies of switch and try statements. Note that for statements still need work for declarations in for head. Added initializes for individual property level bindings in destructure binding