You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
CS2 Discussion: Project: Progress as of December 2016 #56
We’re closer than ever on classes. jashkenas/coffeescript#4354, by @connec, implements CoffeeScript classes compiled into ES classes, preserving just about all backward compatibility and outputting via the class keyword, allowing CS classes to extend ES classes. All tests pass.
The PR is a hybrid, though, between the old 1.x output and idiomatic ES output. Classes to be extended are passed in via a wrapper and superClass; super is implemented via statements like a.__super__ = superClass.prototype, etc. @connec’s current plan is to finish reorganizing the code in the current PR, then use a separate PR for cleaning up super. Assistance with this effort is welcome. Once the current classes PR and follow-on super PR are merged in, we can release the first alpha of CoffeeScript 2.0.0. We shouldn’t release 2.0.0-alpha1 any sooner, though, in case the current approaches to classes need reworking that might break backward compatibility more than the current PR does (for example, if super ultimately can’t be used as is without changes).
Any day now CoffeeScript 1.12.0 will be released, which will bring tagged template literals, for…from and the triple-backtick operator to the 1.x branch. Let’s follow it up with 2.0.0-alpha1!
Reacted by Yami Odymel, Greg Slepak, Eugene T, Ben Tranter, David Alexander, Mateusz Dereniowski, Manu Louisor, Cristian Mircea Messel, Joel Drapper, Jordan Brock and 15 more
Reacted by Yami Odymel, Greg Slepak, Tomasz Ścisło, Ben Tranter, Joel Drapper, Jordan Brock, Nicolas Blanco, Exequiel Rozas, Niels van Hoorn, Dmitriy Plekhanov and 4 more
Reacted by Black Roland, itsMapleLeaf, Stephen, Daniel Bayley, 题叶, Carl Mathisen, Laurent Payot, Yami Odymel, Greg Slepak, Dom Vin and 21 more
Reacted by Carl Mathisen, Torstein Thune, Javan Makhmali, Yami Odymel, Edvin Børresen Hultberg, Greg Slepak, Alec Larson, Nikita Litvin, Ben Tranter, Joel Drapper and 9 more
Hey, can I just say congrats?! I clicked on the happy emoticon buttons but it doesn't feel like enough. Thanks so much to all of you for your hard work on keeping CoffeeScript alive!! I'm super excited to see the ES2015 support coming along!
Also, while I don't know the backstory, it's also really really great to see not only a still-thriving community, but also @jashkenas back in action!!
Reacted by Laurent Payot, Amalrik Maia, Evgenii Morozov, c and Carles Jove i Buxeda
Reacted by Geoffrey Booth, Black Roland, Dom Vin, Yami Odymel, Alec Larson, Jaap van Hardeveld, nynhex, gpg0, Stephen and Evgenii Morozov
Thanks @taoeffect 😄 Yes, I’m excited too! If I can theorize, I like to think that all the energy of the community has inspired @jashkenas 😄
Tiny winter solstice update:
[CS2] Compile class constructors to ES2015 classes jashkenas/coffeescript#4354 has had a lot of progress. We’re now working through super in its many permutations. As soon as this PR gets merged in, we will have our first alpha release of CoffeeScript 2. If you have any time to contribute, please consider writing some tests or testing this branch against existing code that uses classes.
We need to figure out destructuring. The plan is to compile to ES destructuring whenever possible, which raises the issue of how to handle this in destructuring (which isn’t supported by ES). That’s already resulted in this issue for the one place we’ve implemented ES destructuring so far (function parameters), and it will remain an issue when someone reimplements destructuring in general to output ES. Help wanted on that too.
Reacted by Dom Vin, Yami Odymel, Greg Slepak and Laurent Payot
I would like to echo @taoeffect's comments. When this project first started I had taken the plunge into ES6 and, honestly, I had all but assigned Coffeescript - my all-time favourite language - to the history books of my career. It's only now that I realise that there's a good chance I'll do another CS project yet! That's the single best (professional) Christmas Present I could ask for.
Thanks guys, very very sincerely.
Reacted by Edvin Børresen Hultberg, Yami Odymel, Alec Larson, Greg Slepak, Laurent Payot and c
it's also really really great to see not only a still-thriving community, but also @jashkenas back in action!!
If I can theorize, I like to think that all the energy of the community has inspired @jashkenas
The truth is that your timing was good. It's rare to find new contributors with the stamina to push through the mountain of work that it takes to add new features to an existing project — so big props for that. And it's happening while I'm back at a desk and able to (marginally) participate.
Reacted by Laurent Payot and Wes Vetter
Reacted by Dom Vin, Erik Demaine, Edvin Børresen Hultberg, Nick K., Greg Slepak, Jaap van Hardeveld, Jordan Brock, Ramil Muratov, Dave Woodall, Alex Rattray and 4 more
Activity
taoeffect commentedon Dec 22, 2016
Hey, can I just say congrats?! I clicked on the happy emoticon buttons but it doesn't feel like enough. Thanks so much to all of you for your hard work on keeping CoffeeScript alive!! I'm super excited to see the ES2015 support coming along!
Also, while I don't know the backstory, it's also really really great to see not only a still-thriving community, but also @jashkenas back in action!!
GeoffreyBooth commentedon Dec 22, 2016
Thanks @taoeffect 😄 Yes, I’m excited too! If I can theorize, I like to think that all the energy of the community has inspired @jashkenas 😄
Tiny winter solstice update:
superin its many permutations. As soon as this PR gets merged in, we will have our first alpha release of CoffeeScript 2. If you have any time to contribute, please consider writing some tests or testing this branch against existing code that uses classes.2-docsbranch.thisin destructuring (which isn’t supported by ES). That’s already resulted in this issue for the one place we’ve implemented ES destructuring so far (function parameters), and it will remain an issue when someone reimplements destructuring in general to output ES. Help wanted on that too.DomVinyard commentedon Dec 22, 2016
I would like to echo @taoeffect's comments. When this project first started I had taken the plunge into ES6 and, honestly, I had all but assigned Coffeescript - my all-time favourite language - to the history books of my career. It's only now that I realise that there's a good chance I'll do another CS project yet! That's the single best (professional) Christmas Present I could ask for.
Thanks guys, very very sincerely.
jashkenas commentedon Dec 22, 2016
@GeoffreyBooth, @lydell and @connec are doing all of the work here, so 🎉 to them!
The truth is that your timing was good. It's rare to find new contributors with the stamina to push through the mountain of work that it takes to add new features to an existing project — so big props for that. And it's happening while I'm back at a desk and able to (marginally) participate.
rattrayalex commentedon Dec 26, 2016
Merry Christmas guys 😄 very proud of what's being accomplished here.
[-]Progress as of December 2016[/-][+]CS2 Discussion: Project: Progress as of December 2016[/+]coffeescriptbot commentedon Feb 19, 2018
Migrated to jashkenas/coffeescript#4948