I’ve been meaning to read this and work along side it for months - I’ve had the tab open on my phone for nearly 3 months!
There’s a lot of my side project work that requires an AST to make better tools for developers, but I tend to err on the side of "hack a parser and protect with tests".
However, a full parser that generates a full Abstract Syntax Tree gives me a lot more options.
This post looks like a nice gentle introduction to how to start that.
Source: [tiarkrompf.github.io](https://tiarkrompf.github.io/notes/?/just-write-the-parser/)
[Discover more links](/links/)\ Saved 29-Jan 2021 under #code & #programming & #webdev & #ast. [Edit this post](https://github.com/remy/remysharp.com/blob/main/public/links/2021-01-29-a4931557.md)