Expand description
YAML parser groundwork for long-term Panache integration.
This module is intentionally minimal and currently acts as a placeholder for a future in-tree YAML parser that can produce Panache-compatible CST structures. Initial goals:
- support plain YAML and hashpipe-prefixed YAML from shared parsing primitives,
- preserve lossless syntax/trivia needed for exact host document ranges,
- enable shadow-mode comparison against the existing YAML engine before rollout.
- prepare for first-class YAML formatting support once parser parity is proven.
Structs§
Enums§
Functions§
- lex_
basic_ mapping_ tokens - parse_
basic_ entry - Parse a single-line YAML mapping entry like
title: My Title. - parse_
basic_ entry_ tree - Parse a single-line YAML mapping entry and emit a tiny Rowan CST.
- parse_
basic_ mapping_ tree - Parse one or more
key: valuelines and emit a prototype YAML mapping CST. - parse_
shadow - Parse YAML in shadow mode using prototype groundwork only.