Re: ES6 draft Rev24 now available
Want to mention https://github.com/jlongster/es6-macros while this thread is still live. /be Kevin Smith wrote: https://github.com/zenparsing/esparse The actual transpiler is at https://github.com/zenparsing/es6now. I really need to add some documentation, but you can play with classes, arrows, and other things in the REPL. If you have Node 0.11+, you can also try async functions (yay). Traceur is a much more complete transpiler, though. ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
> > > https://github.com/zenparsing/esparse > The actual transpiler is at https://github.com/zenparsing/es6now. I really need to add some documentation, but you can play with classes, arrows, and other things in the REPL. If you have Node 0.11+, you can also try async functions (yay). Traceur is a much more complete transpiler, though. ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
On Tue, Apr 29, 2014 at 4:38 AM, Paulo Matos wrote: > On 29/04/2014 08:41, Andy Wingo wrote: > >> On Mon 28 Apr 2014 17:35, Jason Orendorff >> writes: >> >> The HTML version is available now. >>> http://people.mozilla.org/~jorendorff/es6-draft.html >>> >> >> As ever, you are a hero. >> >> A >> > > > Thanks. I am new to the list so this might be a recurrent question but is > there any working prototype implementation of ES6 that people can > experiment language features with? > https://github.com/google/traceur-compiler https://github.com/zenparsing/esparse https://github.com/anba/es6draft Rick ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
On Tue, Apr 29, 2014 at 10:38 AM, Paulo Matos wrote: > Thanks. I am new to the list so this might be a recurrent question but is > there any working prototype implementation of ES6 that people can > experiment language features with? > There isn't a complete implementation, no. To some extent because parts of the spec aren't yet stable enough, but mostly because implementing all new features is a huge amount of work. Substantial parts of the spec are, however, implemented in various engines. A good overview of the current state can be seen here: http://kangax.github.io/es5-compat-table/es6/ Additionally, there are a few transpilers that transform ES6 code (again, not with all features supported) to ES5 as supported in pretty much all browsers nowadays. Traceur, one of those, is in the table I linked to above. hth, till ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
On 29/04/2014 08:41, Andy Wingo wrote: On Mon 28 Apr 2014 17:35, Jason Orendorff writes: The HTML version is available now. http://people.mozilla.org/~jorendorff/es6-draft.html As ever, you are a hero. A Thanks. I am new to the list so this might be a recurrent question but is there any working prototype implementation of ES6 that people can experiment language features with? Thanks, -- Paulo Matos ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
On Mon 28 Apr 2014 17:35, Jason Orendorff writes: > The HTML version is available now. > http://people.mozilla.org/~jorendorff/es6-draft.html As ever, you are a hero. A ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
On Sun, Apr 27, 2014 at 5:12 PM, Allen Wirfs-Brock wrote: > > • Changed length property value of Symbol, Map, Set, WeakSet, WeakMap to 1 > to be consistent with most other built-in constructors > We discussed this before and wanted new built in function lengths to be consistent with default parameters. -- erik ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
Re: ES6 draft Rev24 now available
The HTML version is available now. http://people.mozilla.org/~jorendorff/es6-draft.html -j On Sun, Apr 27, 2014 at 4:12 PM, Allen Wirfs-Brock wrote: > At > http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#april_27_2014_draft_rev_24 > > Changes include: > > • Several important bug fixes to Function Declaration Instantiation > • Updated RegExp so that subclasses that over-ride exec semantics don’t have > to also over-ride match/replace/search > • disallowed a line break between ArrowParameters and the ⇒ > • Adjust Array.prototype.reverse and Array.prototype.unshift to eliminate > several unnecessary MOP calls that were exposed if the array is a proxy > • Object.assign now accepts multiple source arguments > • arguments object now have an @@iterator own property > • %TypedArray% constructors now processes iterables as an argument. > • Changed length property value of Symbol, Map, Set, WeakSet, WeakMap to 1 > to be consistent with most other built-in constructors > • Added Annex B item about var declarations in catch clauses that binding > the same name as a catch parameter > • Array.from/typedArray.from now calls filter function with two arguments. > • Eliminated static semantic rules that made the following an early error > function({x}){var x} or generator(x) {var x}. A var declaration now can > always be the same name as a formal parameter > • Made for (let x in x), etc. a TDZ violation > • further tweaking of super related productions in MemberExpression and > NewExpression > • Bug fix in GetBindingValue to make TDZ work. Accessing an uninitialized > binding always throws and is not conditional on strict mode. > • Started update of Annex A. Lexical grammar updated > • Resolved bugs: 2729, 2727, 2724-2722, 2714-2713, 2711-2706, 2695-2688, > 2685, 2681-2660, 2658-2657, 2655-2654, 2652-2649, 2647-2640, 2638-2637, > 2635-2613, 2611, 2608-2607, 2605-2604, 2600, 2573, 2566, 2561, 2558-2557, > 2551, 2548-2547, 2537, 2528-2526, 2477, 2445, 2443, 2337, 2314, 2154, 2010, > 1540, 1114 > > ___ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > ___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss
ES6 draft Rev24 now available
At http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#april_27_2014_draft_rev_24 Changes include: • Several important bug fixes to Function Declaration Instantiation • Updated RegExp so that subclasses that over-ride exec semantics don’t have to also over-ride match/replace/search • disallowed a line break between ArrowParameters and the ⇒ • Adjust Array.prototype.reverse and Array.prototype.unshift to eliminate several unnecessary MOP calls that were exposed if the array is a proxy • Object.assign now accepts multiple source arguments • arguments object now have an @@iterator own property • %TypedArray% constructors now processes iterables as an argument. • Changed length property value of Symbol, Map, Set, WeakSet, WeakMap to 1 to be consistent with most other built-in constructors • Added Annex B item about var declarations in catch clauses that binding the same name as a catch parameter • Array.from/typedArray.from now calls filter function with two arguments. • Eliminated static semantic rules that made the following an early error function({x}){var x} or generator(x) {var x}. A var declaration now can always be the same name as a formal parameter • Made for (let x in x), etc. a TDZ violation • further tweaking of super related productions in MemberExpression and NewExpression • Bug fix in GetBindingValue to make TDZ work. Accessing an uninitialized binding always throws and is not conditional on strict mode. • Started update of Annex A. Lexical grammar updated • Resolved bugs: 2729, 2727, 2724-2722, 2714-2713, 2711-2706, 2695-2688, 2685, 2681-2660, 2658-2657, 2655-2654, 2652-2649, 2647-2640, 2638-2637, 2635-2613, 2611, 2608-2607, 2605-2604, 2600, 2573, 2566, 2561, 2558-2557, 2551, 2548-2547, 2537, 2528-2526, 2477, 2445, 2443, 2337, 2314, 2154, 2010, 1540, 1114___ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss