Expand description
§pest meta
This crate parses, validates, optimizes, and converts pest’s own grammars to ASTs.
Modules§
- Types for the pest’s abstract syntax tree.
- Different optimizations for pest’s ASTs.
- Types and helpers for the pest’s own grammar parser.
- Helpers for validating pest grammars that could help with debugging and provide a more user-friendly error message.
Functions§
- Parses, validates, processes and optimizes the provided grammar.
- A helper that will unwrap the result or panic with the nicely formatted error message.