Edit: It does add features like pattern matching and list comprehension, and anything can compile down to js, so I guess it is a separate language.
Edit: It does add features like pattern matching and list comprehension, and anything can compile down to js, so I guess it is a separate language.
Another aspect in which CS differs from JS is that it provides built-in classes; which i think can make code written in CS much more consistent compared to JS, where everyone seems to like inventing their own way of writing classes.
And i'm sure i'm forgetting other aspects in which CS differs from JS that i wouldn't consider "just syntactic".
Let me put it another way. If I were to write a separate runtime that directly executed CoffeeScript (without JS as an intermediate step), would you then be satisfied that it is in fact a real language?
http://wiki.ecmascript.org/doku.php?id=harmony:destructuring