Mark Lennox

a regrettable tendency to Javascript

Mark Lennox Javascript, C#, Python, machine learning, web, devops, mobile

Abstract Syntax Trees

6th February, 2019

1 min read

Babel transpiling has fascinated me for a long time, so I decided to dive in and learn about the technology at the heart of the process.

Abstract Syntax Trees are an immensely powerful tool that allows you modify your code - with code!

I hope you enjoy the series.

  • Abstract Syntax Trees for fun and profit

    February 7th 2019 - 14 min read

    Part One - an overview This is part one of a series of articles about abstract syntax trees and their use in javascript. The scope of this article is a quick introduction to ASTs, babel plugins and…

  • AST selectors rule

    April 28th 2019 - 10 min read

    My previous article on abstract syntax trees ran through a quick, but relatively broad, overview of syntax trees and how to manipulate them. This second article will show you how to use a basic…