Expand description
Implementations of the low-level parser combinators.
Modules§
- rfc 🔒Combinators for rules as defined in a standard.
Functions§
- Consume exactly one digit.
- Consume exactly one of the provided ASCII characters.
- Consume exactly one of the provided ASCII characters, case-insensitive.
- Consume exactly
n
digits, returning the numerical value. - Consume exactly
n
digits, returning the numerical value. - Consume the first matching item, returning its associated value.
- n_to_m 🔒Consume between
n
andm
instances of the provided parser. - Consume between
n
andm
digits, returning the numerical value. - Consume between
n
andm
digits, returning the numerical value. - Consume one of or more instances of the provided parser. The parser must produce the unit value.
- opt 🔒Optionally consume an input with a given parser.
- sign 🔒Parse a “+” or “-” sign. Returns the ASCII byte representing the sign, if present.
- Consume zero or more instances of the provided parser. The parser must return the unit value.