also, parsing data ... you are raising the spectre of the need to build ... dun dun dun ... state machines, the most difficult bitches in all of software engineering to make work
Discussion
We know.
state machine specialist at your service
i'm only barely a journeyman at the task, i revel at every chance i get to do it... i've done tree walkers and parsers and all this kind of stuff... makes me happy thinking about it, even more than streamlining concurrent processes
nostr:nprofile1qqs8qy3p9qnnhhq847d7wujl5hztcr7pg6rxhmpc63pkphztcmxp3wgpz9mhxue69uhkummnw3ezuamfdejj7qgmwaehxw309a6xsetxdaex2um59ehx7um5wgcjucm0d5hsz9nhwden5te0dehhxarjv4kxjar9wvhx7un89uqaujaz built the Alexandria parser and he seemed to have fun with it.
Well, AsciiDoctor built the text parser. I extended it to layer some Nostr event-specific state on top of AsciiDoctor's Abstract Syntax Tree (AST).
It definitely was fun to whip out some good ol-fashioned tree walking algorithms.