Closed TheColonel2688 closed 3 years ago
Spotted the answer has now been posted on Stack Overflow 👍
@nblumhardt
This question is bound to attract the wrath of the StackOverflow Horde so I'll ask it here.
Is there anything to make Pretty Print of your parsed model easier? Or is this 100% up to the user to do?
Fair call! :-) .. No, there's nothing built-in.
Thanks, that's what I figured but I thought I would check anyway.
To continue the discussion. From https://github.com/sprache/Sprache/issues/169
I posted a general question on SO and haven't gotten a response yet.
https://stackoverflow.com/questions/66344163/superpower-create-parser-to-match-against-r-n-or-n-more-general-match
This is my code so far