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.
Modules§
Structs§
Enums§
Functions§
- lex_
mapping_ tokens - parse_
shadow - Parse YAML in shadow mode using prototype groundwork only.
- parse_
yaml_ report - Parse prototype YAML tree structure and include diagnostics on failure.
- parse_
yaml_ tree - Parse prototype YAML tree structure from input
- project_
events - Walk the shadow CST for
inputand return the projected yaml-test-suite event stream. Returns an empty vector if the input fails to parse.