Expand description
A mode-aware source scanner and recoverable recursive-descent Rd parser.
Every token is an untouched slice at the current byte cursor. Recovery never synthesizes source text, and the nesting guard retains the remaining bytes.
Structs§
- Parse
Output - A complete source tree and recoverable, byte-ranged syntax diagnostics.
Functions§
- parse
- Parse a complete UTF-8 Rd document without expanding or evaluating macros.
- reconstruct
- Reconstruct every source byte, including malformed input and line endings.