16. Your code has a soul
// Life, Universe, and Everything
var answer = 6 * 7; Program
VariableDeclaration
VariableDeclarator
Identifier(“answer”) BinaryExpression(*)
Literal(6) Literal(7)
18. Parsing
• JavaScript
• SpiderMonkey: Reflect.parse – Mozilla's Parser API
• Esprima – most popular ECMAScript parser in JS
• Acorn – faster alternative ECMAScript parser in JS
• UglifyJS – has own parser with custom AST format
• Traceur – has ES6 parser that can be used separately as well
• … (as a lot of language tools do) …
• CoffeeScript
• CoffeeScriptRedux – rewrite of CS compiler that internally uses CS AST with conversion to JS
AST
• JSX
• esprima-fb – Facebook's fork of Esprima Harmony branch
• jsx-esprima – es* tools based JSX to JS AST transpiler