chomp icon indicating copy to clipboard operation
chomp copied to clipboard

A fast monadic-style parser combinator designed to work on stable Rust.

Results 21 chomp issues
Sort by recently updated
recently updated
newest added

Rename module to `stream`, since it provides tools to deal with streaming data, not just buffering. ## Renames - `stream::Source`

As the title says, any way we can remove the `Copy` requirement on the `Token` associated type? The main drawback of removing it is that most filter-functions will need to...

enhancement
help wanted

The issue with this is how to handle backtracking. A simple `VecDeque` won't do since we cannot mark and track old positions while still keeping the new data. Most likely...

enhancement

Write a TOML example parser.

# Problem Currently all examples and tests are using byte-slices since that is most likely the most common source-input of a parser. But there are situations where an already valid...

# Problem Some somewhat common constructions using monadic composition are more complex than they have to be. `Applicative` solves that by being less powerful and lacking context sensitivity (commonly): ```...

enhancement

Feature which enables an adapter-function to call out to a [Nom](https://github.com/Geal/nom) parser. ``` rust impl Input where F: FnOnce(&'a [I]) -> nom::IResult

The purpose of this would be to avoid the macro recursion limit (even though library users can increase the limit if need be) but mainly to provide good error messages...

WIP. Fixes #14 Needs better error handling.

# Problem Cannot use a normal `for` loop with `Source` or `Stream`, the `Iterator` interface is not compatible with either. Preferably there should be a `for_each` method on the `Stream`...