|
LiveScript is a functional language that compiles to JavaScript. It was created by Jeremy Ashkenas—the creator of CoffeeScript—along with Satoshi Muramaki, George Zahariev, and many others.〔(【引用サイトリンク】website=LiveScript contributors page )〕 Notably, LiveScript was briefly the name of JavaScript in 1990s.〔(【引用サイトリンク】website=W3 Web Education Community Group )〕 == Syntax == LiveScript is an indirect descendant of and is partly compatible with Coffeescript.〔http://livescript.net/〕 The following is a fully Coffeescript-compatible hello-world example of LiveScript syntax. hello = -> console.log 'hello, world!' While calling a function can be done with empty parens, hello() , LiveScript treats the exclamation mark as a single-character shorthand for function calls with zero arguments: hello! LiveScript introduces a number of other incompatible idioms: 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「LiveScript」の詳細全文を読む スポンサード リンク
|