combine icon indicating copy to clipboard operation
combine copied to clipboard

A parser combinator library for Rust

Results 45 combine issues
Sort by recently updated
recently updated
newest added

Fixes #333 TODO - [x] Finalize list of escaped characters - [ ] Add tests (particularly unsure how byte parser over unicode will work out) - [x] Resolve conflicts with...

cargo has a test that tries null characters: https://github.com/rust-lang/cargo/pull/10086/files#diff-4980c43ff583070e4cb20d00368e0c15d57a0c0127d7ddc5676e1ee12b899d18R927 it also exposes that a newline is shown for errors: https://github.com/ordian/toml_edit/issues/259

Hello, I'm using `combine` to write a parser for a language that's not LL(1), and don't know if it's LALR(1). The code is here, with the original grammar all in...

I've stripped down my example to the following grammar, expressed in English: source text can contain multiple items separated by newline or comment (double slash `//`), each item is identifier...

bug

Hi! I'm seeing examples of how to parse and decode bytes from `io::Read`, but still not clear is now to do the same to have char stream (and also preferably...

I have stream of tokens. Token is enum like: ```rust enum Token { Error, Num, Str, ... } ``` `StreamOnce::uncons` documentation: `Returns Err if no element could be retrieved.` How...

I would like to create a DateTime parser for arbitrary formats. Should I aim for a PR, or just implement it in my own source code? How should it be...

Reproducible test case: ```rust #[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)] pub enum ClusterType { Default, Dedicated, } #[derive(Debug, Eq, PartialEq)] pub struct Cluster { pub pool_type: ClusterType, pub pool_project: Option,...

I run into trouble using combine when writing a parser which used internal state to parse next element and accumulate them together. There are several ways to achieve it but...

Also added unit test to verify the impls work for types that don't implement PartialEq. The specific use case I wanted to support was to run a parser on a...