This repository contains code samples from my talk Parsing, Compiling, and Static Metaprogramming at JSConfEU 2013. You can find slides for the talk on Speaker Deck.
checkstyle.coffee
and logging.coffee
contain the original source code for
the style checker and logging examples presented in the talk. checkstyle.js
and logging.js
are the slightly simplified JS versions that were shown in
the talk.
altjs.coffee
is the code for the "AltJS language in 5 minutes" section
presented in the second half of the talk.
idgrep.coffee
(and idgrep.js
) is another example of using Esprima
to do static analysis on JavaScript code.