Expand description
A parsing library.
Modules§
- combinators
- Parser combinators.
- error_
accumulator - Allows tracking multiple failures encountered in complex parsers or combinators.
- slice
- Parsers for slice data (
SlicePos
).
Macros§
- pahs
- An analog to
try!
/?
, but forProgress
- sequence
- Runs parsers one after another, optionally saving their results. Then, builds a value based on the saved results.
- sequence_
with - Runs parsers one after another, optionally saving their results. Then, calls the creator function that builds a value based on the saved results.
Structs§
- Parse
Driver - Maintains (optional) parsing state/context and serves as an easy entry point for some of the combinators.
- Progress
- Tracks the result of a parser: where it is and if it is successful.
Traits§
- Pos
- A position in the parsed data
- Push
- Helper trait for collections to push into.
- Recoverable
- Indicates if an error allows a parent parser to recover and try something else.