Some utilities for parsing some format based on nested lists into arbitrary data structures. It’s also meant to be used as a backend for parsers.
The token parser to parse the units into wanted types.
The error type for token parsing.
Some unit, which represents an intermediate state.
A trait required for all contexts being used for token parsing. By default, only the empty tuple implements it. It currently does not contain anything by default. It’s just there to achieve compatibility with features and to allow more changes without breaking anything.
This trait needs to be implemented for every struct which can be parsed using the token parser.
The result type for token parsing.