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.
Copy file name to clipboardExpand all lines: Features.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Features are ordered by priority, which is determined (subjectively) by how impo
8
8
9
9
These features affect interopability and should take priority over all other features. These should be implemented ASAP in the current compiler, in addition to any new compiler that gets created later.
@@ -18,19 +18,19 @@ These features affect interopability and should take priority over all other fea
18
18
19
19
>CoffeeScript 2 only
20
20
21
-
As part of CoffeeScript 2, we will revise CoffeeScript’s`class` syntax to be compatible with ECMAScript’s`class`; this means no code in class bodies, no using`this` in a constructor before calling`super`, etc. We try to keep as many features of the CoffeeScript`class` as possible while still ouputting the ECMAScript`class` keyword, so that we can extend ES classes and create extendable native classes. Getters and setters[(#17)](https://github.com/coffeescript6/discuss/issues/17) would probably be implemented as part of supporting ES classes. This is in progress at[jashkenas/coffeescript#4330](https://github.com/jashkenas/coffeescript/pull/4330).
21
+
As part of CoffeeScript 2, we will revise CoffeeScript’s`class` syntax to be compatible with ECMAScript’s`class`; this means no code in class bodies, no using`this` in a constructor before calling`super`, etc. We try to keep as many features of the CoffeeScript`class` as possible while still ouputting the ECMAScript`class` keyword, so that we can extend ES classes and create extendable native classes. Getters and setters[(#17)](https://github.com/coffeescript6/discuss/issues/17) would probably be implemented as part of supporting ES classes. This is in progress at[jashkenas/coffeescript#4330](https://github.com/jashkenas/coffeescript/pull/4354).
Some new libraries require support for ECMAScript template literals, which are incompatible with CoffeeScript’s backticks. Support would be added for`myTag"hello #{'wo'+'rld'}"` or`myTag"""some multiline string"""`. Such syntax is currently not allowed in CoffeeScript, so enabling support for it would not be a breaking change.
27
+
Some new libraries require support for ECMAScript template literals, which are incompatible with CoffeeScript’s backticks. Support would be added for`myTag"hello #{'wo'+'rld'}"` or`myTag"""some multiline string"""`. Such syntax is currently not allowed in CoffeeScript, so enabling support for it would not be a breaking change. This is in progress at[jashkenas/coffeescript#4352](https://github.com/jashkenas/coffeescript/pull/4352).
28
28
29
29
##Medium Priority
30
30
31
31
These features aren’t required for CoffeeScript to be used in any project, but there’s great desire in the community for these to be added.