instaparse

If you're not trampolining your parser, why bother getting up in the morning?
Ed 2021-06-08T17:48:07.003600Z

Does anyone know if there's an easy way to "unparse" something that parsed with intstaparse? I've written a grammar to parse something so I can transform it, and now need to spit it back out again as a string. I can write something that will recursively do walk the tree and do that, but I wondered if there was something I was missing that would do it for me 😉

sova-soars-the-sora 2021-06-08T19:47:56.004100Z

Hmm, and you don't have access to the original string?

Ed 2021-06-08T20:27:08.008400Z

I do, but I've changed the content. That was why I parsed it in the first place ;) ... I was just hoping I was missing an instaprint that went the other way. If nobody knows of anything like that, then I'll write something custom. It's not too complicated a grammar.