|CoffeeScript 1.9 Released|
|Written by Alex Denham|
|Monday, 09 February 2015|
The latest version of CoffeeScript has been released with more robust parsing and support for ES6 generators.
The support for ES6 generators in CoffeeScript 1.9 is welcome news, as this is a feature the developers have been keen to add.
A generator is simply a function that yields.
An example of a generator in use in CoffeeScript is:
Parsing has also been made more robust, and error messages have been improved for strings and regexes — especially with respect to interpolation.
The developers have also changed the strategy for the generation of internal compiler variable names. The release notes say that that this means that ‘@example’ function parameters are no longer available as naked ‘example’ variables within the function body.
The final main change to this release is to the REPL. This is now compatible with the latest versions of Node and Io.js.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Monday, 09 February 2015 )|