Expand description
chumsky-0.10 combinators for the parsed-syntax shape.
ParsedModule::parse_section is generic over the consumer’s instruction
type I and section-header type H.
Functions§
- block_
i64_ flat - Block-body helper: parse a sequence of whitespace-separated
i64s as flat rows between an outer{…}provided by the caller. The body itself is a sequence ofi64s with any whitespace (including newlines) between them. - block_
i64_ pairs - Block-body helper: parse rows of
i64 i64pairs separated by whitespace. Within a row the two ints are whitespace-separated; rows themselves are also just whitespace-separated (newlines or other ws — the helper doesn’t require row alignment). - skip
- Whitespace and
;-to-end-of-line comments. Zero-or-more. - string_
literal "…"with\\,\",\n,\t,\rescape sequences.- symbol_
definition @name:— a symbol definition. The name excludes:so the colon can terminate it.- symbol_
ref @name— leading@consumed; name isident()-shaped.