Parsing, Compiling, and Static Metaprogramming
Talk by Patrick Dubroy: Parsing, Compiling, and Static Metaprogramming given during JSConf EU 2013. A fantastic introduction to Language Processors including PEG.js
This repository contains code samples from the talk Parsing, Compiling, and Static Metaprogramming at JSConfEU 2013.
You can find slides for the talk on Speaker Deck.
Esprima Examples
checkstyle.coffee
andlogging.coffee
contain the original source code for the style checker and logging examples presented in the talk.checkstyle.js
andlogging.js
are the slightly simplified JS versions that were shown in the talk.
Esprima, Estraverse, Escope y Escodegen
- Esprima
- Estraverse
- Escope
- Escodegen
- ast-types an efficient, modular, Esprima-compatible implementation of the abstract syntax tree type hierarchy pioneered by the Mozilla Parser API.
Tutoriales
- Getting Started with Esprima
- JQuerySF - Ariya Hidayat & Mike Sherov - JavaScript Syntax Tree Demystified
AST Specification
Análisis Estático /Static Analysis
- Fun with Esprima and Static Analysis
- Javascript Code Analysis with Esprima