Inside a JS compiler
Submitted by Rico Sta. Cruz (@rstacruz) on Tuesday, 30 August 2016
Section: Crisp talk Technical level: Intermediate
What is a compiler?
A short recap on the components of a compiler today explaining tokenizers, parsers, and generators.
About the JS AST
Let’s look at a brief history touching Mozilla’s Narcissus project, as well as the emergence of the estree spec used today by Esprima, Babel, Acorn, and many other tools.
I’ll explain the first iteration of js2coffee, the problems that plagued it, and how it was solved by Babel, Traceur, and js2coffee 2.0.
An open mind