~/talk

AST à la Vista, Baby

TalkinSpanishat NodeConf Argentina 2017 · on Friday, 2017-10-27· [javascript, developer-experience]
slides:none on file

Shows how to parse JavaScript into an AST using Babel/babylon, walk it with a visitor object, and perform concrete transforms such as converting object spread to Object.assign and turning template-tagged HTML into direct string operations. Demonstrates writing an ESLint-style rule to flag mutations, extracting i18n messages, and testing transforms with AST Explorer and jscodeshift, including exact helper calls, node types inspected, argument construction, and the generated output so the plugin runs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Babel and ESLint
  3. 8:02AST in detail
  4. 16:15AST transformations in Babel
  5. 19:48Babel plugin creation
  6. 23:59AST exploration tools
  7. 25:04AST in JS tools
  8. 26:07AST use cases
  9. 28:19Summary
  10. 29:45Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.