chumsky icon indicating copy to clipboard operation
chumsky copied to clipboard

Write expressive, high-performance parsers with ease.

Results 110 chumsky issues
Sort by recently updated
recently updated
newest added

Currently, only some initial experiments outside of the main codebase. The new design departs quite a lot from `master`, to the point that it's likely to end up being a...

As far as I can tell, `custom()` is currently completely unusable because all methods that manipulate a `Stream` are merely `pub(crate)`, and thus cannot be used from application code.

Hi, let me first thank you for your excellent work on `chumsky`, `ariadne` and other crates such as `flume` that I had the pleasure to use. I am using `chumsky`...

The doc-string for [`Parser::labelled`](https://docs.rs/chumsky/0.8.0/chumsky/trait.Parser.html#method.labelled) shows asserting that error values have a label, but I have not found a way for these to influence error output. For example, I expect this...

Currently, when trying to map with span, the parser will copy the context from the end-of-input. This makes preserving certain aside data, such as source ranges, difficult. Even with just...

help wanted

Chumsky currently supports a primitive debugging system, allowing parsers to print to `stdout` when entered during a call to `Parser::parse_recovery_verbose`. Expanding this further will require some thought. 1) What problems...

documentation
help wanted
question

Adds a new parser (currently named `recover_via` - I'm open to suggestions) which attempts the first parser and returns its result on success. On error it will try the given...

You mentioned that you wanted to take some stabs at performance. While I am not familiar enough with the codebase to suggest any _structural_ changes (and sadly don't have the...

Calling `.repeated()` on a parser will allocate even if there is only a few occurrences of the pattern. I would like some way to use the [SmallVec](https://docs.rs/smallvec/1.7.0/smallvec/struct.SmallVec.html) crate which allows...

enhancement