Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 909 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 909 Bytes

About

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.

Esprima Examples

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.

PEG.js Example

altjs.coffee is the code for the "AltJS language in 5 minutes" section presented in the second half of the talk.

Extra Special Bonus!

idgrep.coffee (and idgrep.js) is another example of using Esprima to do static analysis on JavaScript code.