CoffeeScript語言的超集 - IcedCoffeeScript
這是CoffeeScript語言的超集。它會解釋所有現有CoffeeScript的方案。
IcedCoffeeScript is a fork of CoffeeScript. It is
superset of the CoffeeScript language. The
iced interpreter is a drop-in replacement for the standard
coffee interpreter since it will interpret all existing CoffeeScript programs.
CoffeeScript (GitHub repo) 是一個使用純Ruby編寫的新編程語言,創建者 Jeremy Ashkenas戲稱它是- JavaScript的不那么鋪張(買弄)的小兄弟。因為CoffeeScript會將Ruby編譯成JavaScript,而且大部分結構都相似,但不 同的是,CoffeeScript擁有更嚴格的語法。
先來看下對比代碼(左為CoffeeScript):
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!