Structs§
- Diagnostic
- A structured parser error suitable for either human or machine output.
- Document
- Form
- Span
- A half-open byte range with one-based line and column positions.
Enums§
Constants§
- MAX_
NESTING_ DEPTH - Maximum number of nested lists accepted by the Chappi v1 parser.
Functions§
- atom_
is_ canonical - Returns whether canonical serialization and reparsing preserve this atom exactly.
- canonical_
hash - Returns the SHA-256 digest of
canonicalize’s bytes. - canonicalize
- Serializes a document as deterministic, UTF-8 canonical S-expressions.
- is_
canonical_ decimal - Returns whether a decimal literal already has its canonical spelling.
- is_
canonical_ integer - Returns whether an integer literal already has its canonical spelling.
- is_
canonical_ symbol - Returns whether a value canonically parses back as the same symbol atom.
- is_
canonical_ text - Returns whether text is already in the NFC form used by canonical output.
- parse_
document - Parses generic S-expressions and continues after errors at later top-level lines.