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/
Heh, I guess this works already: - BufReader::read_until https://doc.rust-lang.org/std/io/trait.BufRead.html#method.read_until … - Read::read_exact https://doc.rust-lang.org/std/io/trait.Read.html#method.read_exact … Hmmm.
-
-
this is a bit more compley I am afraid, for example how do I read 3bits? (yes, some of my parsers have to do that)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Also read_until is actually pretty bad for parsing, as you don’t have any lookahead or more complex matching, which is the important thing nom gives you
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.