I Can Babel Macros (and So Can You!) - Shawn "swyx" Wang
summary
Shows how to use Babel macros for code generation and analysis, demonstrated using the Moana macro system. Covers practical examples of writing and applying Babel macros to transform and inspect JavaScript code.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:23Growing A Language
- 2:57Rejected Talk Ideas
- 19:40Compile-time Execution = Babel Macros
- 20:04Compile-time is Growing
- 21:22Compile Time Optimization
related talks
33mUnshackling JavaScript with Macros
31mThe Different Transformation Stages of AOT Compilers
44mBabel: ES7 and beyond
01h 09mBabel: A refactoring tool
38mThe magical land of AST's with babel, eslint and codemods
20mJavaScript Transformation
26mMagical land of AST's with babel plugins
33mEmbracing Black Magic: The Power of Code Transpilation
