Advent of code in Rust - solving year 2020 exercise 19 p1 (Twitch Live 2021-09-27)
In this episode, we started working on the first part of Advent of Code y2020 ex19!
In this episode, we needed to implement a string validator based on a complex graph of rules. Something that vaguely resembles how regular expression works.
We got as far as parsing the input, building our rule graph, and implementing a good chunk of a recursive validator.
One of the interesting things that came up during this challenge is the crate rstest (https://docs.rs/rstest/0.11.0/rstest/) which we might decide to use later on as it comes with a lot of interesting utilities to make testing easier (for instance fixtures).
For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent
For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige