JSFoo chevron_right 2015

Mansi Shah - Brewing JavaScript: Compile your own domain-specific language to JavaScript

This talk demonstrates how a Lisp like language is parsed, how an abstract syntax tree (AST) is generated, and how JavaScript code is transpiled from the tree.
You will learn:
1. Parsing a Lisp like language in JavaScript, in a functional manner
2. ECMAScript Tree (ESTree) generation
3. Implementing Lisp style Macros in the language
4. Using escodegen to generate JavaScript from ESTree


More videos


Srikumar - Orchestrating the Web Audio API


Mathias Bynens - RegExp.prototype.unicode