Parsing Puzzle Text with Nom
The season is nearly upon us! And by the season, I of course am referring to the Advent of Code (what else?). This year I plan to take my first pass at all the puzzles in Rust, and I’ve already set up my repository. This past year, I went back and finished all the prior years of AoC in Julia (repo here), which was really a delightful experience. I considered on reflection, though, just how much I had leaned on regular expressions for input parsing over the course of those many, many puzzles.