Fork me on GitHub
#instaparse
<
2016-12-29
>
gfredericks15:12:16

I don't imagine there's a way to unparse something

seylerius19:12:04

In what sense? Reconstruct the input that was parsed?

seylerius19:12:13

@gfredericks What are you trying to accomplish by "unparsing", and how much control do you have over the parsing?

aengelberg20:12:15

which I just noticed you saw and commented on

aengelberg20:12:20

The fact that "hide tag" (`<>`) is a thing makes it a complex problem to provide unparsing as a general solution

aengelberg20:12:58

also lookahead / negative lookahead

gfredericks22:12:08

I want a canonical printer. Potentially pretty printing...which sounds hard

gfredericks22:12:11

So no, not reconstructing the original input exactly