This article on parsing incoming strings into structured data is interesting in its own right. https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
Even though the article is written with #haskell examples, also makes me *really* want to play around with the #nom parser-combinator library in #rust (https://github.com/Geal/nom) which seems like it would make this sort of thing really easy/clear
@codesections I ended up rewriting a tiny sliver of Nom for my own use, and just from the Haskell syntax Parser Combinators are very convenient!
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.