Showing off my library for a simple binary format #402
Replies: 3 comments
-
Wow, brand new and already to heavy use! Seeing the complexity of some of them inspired me to open #403 |
Beta Was this translation helpful? Give feedback.
-
This is roughly what I would expect. For myself, I generally have few entry points into my parser, so I would have just had a private constructor for my public error type that takes |
Beta Was this translation helpful? Give feedback.
-
If I'm understanding this, you are looking for something more like a regex search but One alternative is to use
You could use |
Beta Was this translation helpful? Give feedback.
-
Winnow is amazing!
I wanted to show off my library here in case someone wants to have a look at some examples parsing a very simple binary format. The main things I think would be helpful to look at if you are doing something similar:
Overall my experience was very positive. My major issue in order to get started was probably figuring out how to keep winnow under the hood and expose e.g. error types and parsing methods in my public API.
Beta Was this translation helpful? Give feedback.
All reactions