Tag: transform
Manipulating AST with JavaScript
Manipulating AST is not that hard anyway
JavaScriptASTtransformdepth-first-search
Babel macros
Custom JavaScript syntax is hard to maintain, custom babel transform plugin is no better. That's why we need Babel macros.
JavaScriptbabelASTtransform
Creating custom JavaScript syntax with Babel
Forking babel parser and creating your custom JavaScript syntax isn't as hard as you think.
JavaScriptbabelASTtransform
Step-by-step guide for writing a custom babel transformation
Writing your first babel plugin
JavaScriptbabelASTtransform