19 releases (7 breaking)
|0.8.0||Apr 21, 2022|
|0.7.0||Mar 5, 2022|
|0.6.0||Aug 24, 2021|
|0.4.4||Jun 8, 2021|
|0.4.1||Dec 23, 2020|
#88 in Parser implementations
68,441 downloads per month
Used in 73 crates (22 directly)
A collection of utilities for a superior nom experience. See docs.rs for details.
A collection of excellent utilities for nom, including:
ParserExt][parser_ext::ParserExt], a trait which makes available many common nom parser combinators as postfix methods, to complement those already available on [
ErrorTree][error::ErrorTree], a nom error which retains as much information and context as possible about the details of the failed parse, with an excellent indenting formatter for printing these failures. Integrates with the extra error features of
- Improved [
tag] parsers, which attach the mismatched the error in the event of a parse failure, similar to [
parse_separated_terminated][multi::parse_separated_terminated], the perfected folding parser for building parse loops.
final_parser][final_parser::final_parser], which serves as a bridge between nom-style [
IResult][nom::IResult] parsers and more typical rust results. It decorates a nom parser, requiring it to parse all of its input, not return
Incomplete. It also uses an [
ExtractContext][final_parser::ExtractContext] trait to convert the error locations in nom errors, which are usually just suffixes of the input, into more useful locations, such as a line and column number.