felfel.dev

Abstract Syntax Trees by example

January 5, 2021 • ☕️ 4 min read

Babel is a very powerful code generator and parser, but the documentation doesn't have many examples of how to use it for parsing, generating, and manipulating abstract syntax trees, I'm collecting some here from my own usage of it.