instaparse

If you're not trampolining your parser, why bother getting up in the morning?
2016-12-29T15:25:16.000007Z

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

seylerius 2016-12-29T19:26:04.000008Z

In what sense? Reconstruct the input that was parsed?

seylerius 2016-12-29T19:28:13.000009Z

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

aengelberg 2016-12-29T20:26:10.000010Z

@gfredericks: some discussion has happened about this in https://github.com/Engelberg/instaparse/issues/82

aengelberg 2016-12-29T20:27:15.000012Z

which I just noticed you saw and commented on

aengelberg 2016-12-29T20:29:20.000013Z

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

aengelberg 2016-12-29T20:30:58.000014Z

also lookahead / negative lookahead

2016-12-29T22:23:08.000015Z

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

2016-12-29T22:23:11.000016Z

So no, not reconstructing the original input exactly

seylerius 2016-12-29T23:47:18.000017Z

Hmmm.