Day 1 | 14:10-14:40 | Smolarz

Master the Art of the AST (and Take Control of Your JS!)

Full Featured (30 min.)

Think of the new tools that are taking over the Javascript ecosystem: Babel, Typescript, Rollup, ESLint, etc.
What do they all have in common: they all take Javascript source code as input, and some emit Javascript code as output.
This talk will be a deep dive into the basic building block all these tools share: Transforming your code into a JS Abstract Syntax Tree (AST).
You'll learn to read, traverse, and manipulate the AST so you can extend Babel by writing your own plugins, or by writing custom ESLint rules to enforce your team's code conventions.
You'll also learn how to create super powerful "code-mods" to automatically convert thousands of legacy ES5 scripts to ES6 in seconds.