String, nothing. I cannot figure out how to return an error from
the trait <xxxxx> is not implemented for <Input as combine::stream::StreamOnce>::Error
StreamErrorFor::<Input>:other(err)should work https://docs.rs/combine/4.0.0-beta.1/combine/error/trait.StreamError.html#method.other
impl Traitworks and you can just use https://docs.rs/combine/4.0.0-beta.1/combine/fn.parser.html and pass it a closure.
impl Traitthat wouldn't work since the closure can't be named, so
env_parserwas the workaround
Read. I would like to avoid reading the entire file into a string before parsing it, for a few reasons.
IndexPositioneris not very useful here – it would be very excellent to have
u8. Would you accept a PR to that effect?
Positioner<u8>should be possible, then you can construct the stream with https://docs.rs/combine/4.0.0-beta.1/combine/stream/position/struct.Stream.html#method.with_positioner
impl Parser, but since they're different opaque types, rustc doesn't like it at all
dispatch!parser which does exactly this https://docs.rs/combine/4.0.0-beta.1/src/combine/parser/choice.rs.html#800-816
impl Traitand which are generic over
Input. my compile times have absolutely skyrocketed and i'm looking for a way to bring them down. i've isolated all of my parser logic into a separate crate, but that doesn't seem to help – the outer crate compile times are still brutal.
impl Traitshouldn't harm compiletimes much on its own