Wondering which extensions to the Read / Write trait would be needed to reproduce 80% of what Nom does. Probably should actually *try* nom first, but got a vague suspicion a few key additions would get us there? https://docs.rs/nom/5.0.1/nom/
I'm just experimenting right now; not necessarily related to async traits either hehe. Kind of wondering if there could be one or two methods added to AsyncRead to recreate some of nom's core functionality? (Separate from "read bytes w/ endianness")https://twitter.com/yoshuawuyts/status/1203242403965964288 …
-
-
The tricky part is backtracking for branches
-
Yup that's the main issue. Also not marking data as consumed until we got what we wanted and restarting parsing if there was not enough
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.