A simple metacircular AST interpreter for Javascript, written in Coffeescript. Esprima is used for the parser. Installation & Usage npm install esprima ./interpreter.coffee [filename] 続きを読む
As applications get more complex, the underlying systems will get harder and harder to maintain and manage. JavaScript's tools aren't keeping pace, and that's a problem. Ariya Hidayat spoke to the San Francisco HTML5 Usergroup about this high... 続きを読む
An Analysis of the Redesign of the CoffeeScript Compiler - YOW2012 続きを読む
Copyright © 2012 GitHub Inc. All slide content and descriptions are owned by their creators. F.A.Q. Terms of Service Privacy Policy 続きを読む
JavaScript’s Future Class Syntax in Today’s Browsers with Esprima and Harmonizr September 19, 2012. Tags: coding craftsmanship esprima javascript jstools One interesting proposal for a class syntax for JavaScript is the so-called maximally-... 続きを読む
esprima系統のtoolはどれも自分の仕事領域を綺麗に分割していて, esprima codeを受け取って, Parser API ASTを返す(tree) escodegen ASTを受け取って, 適切なcodeに変換する この時, codegenの職務の一つとして, codeの意味を変えない形での圧縮も可能 (spaceや... 続きを読む
以下のようなコードを実行すると console.log([ [1,1,8] [2,1,16] ]);このような結果になる。 [ undefined ]アレレーってなってたんだけど kazuho さんにきいたところ、 [1,1,8][2,1,16] => ([1,1,8])[(2,1,16)] => ([1,1,8])[16] => undefinedってことでした。... 続きを読む
One little feature I added to Esprima parser demo was syntax tree visualization (using YUI TreeView). While it is already possible to see the JSON version of the parsed AST, often a much more visual representation improves the syntax analysis... 続きを読む