Starting a series on lexing and LALR-1 parser generators using leex and yecc. The series is really focused on the “by example” part since it took me a long time to get started with these tools.
The first example is lexing and parsing advent of code 2024 day 3. Hope you enjoy!