Replies: 2 comments 3 replies
-
I haven't yet had enough time to look at it in detail, but from what I can tell, there doesn't seem to be an easy way to attach locations to the result of the parsing functions, i.e. locations are only available in the error cases, and not in the success ones. |
Beta Was this translation helpful? Give feedback.
2 replies
-
#380 looks pretty nice! I'll take a closer look at the changes soon, but at a glance I like the proposed api! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working, in #380, on a significant refactoring of
CCParse
, to try and make it easier to parse basic things without writing a .mll and .mly as menhir would require. That can be very basic line oriented formats, IRC logs, competitive programming input problems, etc.I'd love to get some feedback on the new functions and the changes in how backtracking works. @anuragsoni I think we discussed this recently, in case you're still interested :)
edit: some examples:
recurse
Beta Was this translation helpful? Give feedback.
All reactions