Feedback using winnow as a replacement for nom in jql
#385
yamafaktory
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
|
Thanks for the feedback! #387 adds a migration guide |
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.
-
This is basically a follow-up discussion of the initial PR I made to switch from
nomtowinnowafter getting some good feedback on Mastodon.I'd like to thanks @epage for taking the time to jump into this initial PR, providing very good hints on how to better use the capabilities of the library - and improving performance.
I'm not going to dive into details since most of the changes were pretty straightforward based on the direct feedback. What I really liked was:
Parserbeing implemented for strings and byte strings out of the box (no need to usetagmost of the time)separateddirectly taking arangeas first argumentParsertrait compared tonomwhich has more cumbersome typesstrto some number with e.g.digit1.parse_to().parse_next(input)mapon aParsercompared tonomwhere it's a another combinatorrepeatas a way to accumulate the output of a parser into aVecWhat would be very beneficial would be to have an official how-to for users migrating from
nomtowinnow, condensing all the examples from:Beta Was this translation helpful? Give feedback.
All reactions