Content deleted Content added
Adding local short description: "Programming language which compiles to JavaScript", overriding Wikidata description "programming language which compiles to Javascript" |
mNo edit summary |
||
Line 17:
}}
'''CoffeeScript''' is a [[programming language]] that compiles to [[JavaScript]]. It adds [[syntactic sugar]] inspired by [[Ruby (programming language)|Ruby]], [[Python (programming language)|Python]], and [[Haskell (programming language)|Haskell]] in an effort to enhance JavaScript's brevity and readability.<ref name="thelittlebookoncoffeescript">{{cite book | title=The Little Book on CoffeScript | author=Alex MacCaw | publisher=[[O'Reilly Media]] |date=January 2012 | isbn=978-1-4493-2105-5}}</ref> Specific additional features include [[list comprehension]] and [[destructuring assignment]].
CoffeeScript support is included in [[Ruby on Rails]] version 3.1<ref>{{cite web |author=Josh<!--ua ?--> Peek |url=https://twitter.com/joshpeek/status/58184348742074368 |title=Tweet by Rails Core Team Member |date= April 13, 2011}}</ref> and [[Play Framework]].<ref>{{Cite web|url=https://www.playframework.com/documentation/2.5.x/AssetsCoffeeScript|title=AssetsCoffeeScript - 2.5.x|website=www.playframework.com|access-date=2016-10-31}}</ref> In 2011, [[Brendan Eich]] referenced CoffeeScript as an influence on his thoughts about the future of JavaScript.<ref>Eich, Brendan. "[http://brendaneich.com/2011/01/harmony-of-my-dreams/ Harmony of My Dreams]"</ref><ref>Eich, Brendan. "[http://brendaneich.com/2011/05/my-jsconf-us-presentation/ My JSConf.US Presentation]"</ref>
Line 175:
== Development and distribution ==
The CoffeeScript compiler has been [[self-hosting (compilers)|self-hosting]] since version 0.5 and is available as a [[Node.js]] utility; however, the core compiler does not rely on Node.js and can be run in any [[JavaScript]] environment.<ref>[https://jashkenas.github.com/coffee-script/#installation CoffeeScript] {{webarchive|url=https://web.archive.org/web/20120427060308/http://jashkenas.github.com/coffee-script/ |date=2012-04-27 }}. Jashkenas.github.com. Retrieved on 2013-07-21.</ref> One alternative to the [[Node.js]] utility is the Coffee Maven Plugin, a plugin for the [[Apache Maven]] build system. The plugin uses the [[Rhino (JavaScript engine)|Rhino]] JavaScript engine written in [[Java (programming language)|Java]].{{citation needed|date=May 2019}}
Line 221 ⟶ 220:
== External links ==
* {{Official website}}
{{Programming languages}}
{{JavaScript|state=collapsed}}
|