PureYAML/Tests/Fixtures
Mihaela Mihaljevic 88b67ff0b2 fix(parsing): apply flow folding to quoted scalars
Single (') and double (") quoted multi-line scalars now apply YAML 1.2 flow folding (sections 6.5, 7.3.1, 7.3.2): trailing whitespace before a break is stripped, leading whitespace on continuation lines is stripped, a single break between non-empty lines folds to one space, and N consecutive breaks yield N-1 literal line feeds (first and last lines keep their own leading/trailing spaces as content). A double-quoted backslash at end of line suppresses the break entirely.

Complete the double-quoted escape set: add \xXX and \UXXXXXXXX hex escapes plus the previously missing \0 \a \v \e, literal backslash-space, and named breaks \N \_ \L \P (existing \uXXXX surrogate-pair handling kept). The folding state machine mirrors scanner.c yaml_parser_scan_flow_scalar; implemented in Sources/Parsing/Scalar.swift.

Flips 30 official YAML test suite cases to passing (250/402). Updates the gap manifest, fixtures, count assertions, and roadmap.
2026-06-23 20:17:56 +02:00
..
acme test(corpus): add remaining acme catalog fixtures 2026-06-06 08:16:37 +02:00
real-yaml test(corpus): add public real yaml seeds 2026-06-06 08:24:12 +02:00
validation-failures Harden parser against real YAML fixtures 2026-06-05 19:34:30 +02:00
yaml-test-suite fix(parsing): apply flow folding to quoted scalars 2026-06-23 20:17:56 +02:00
MANIFEST.md test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
real-yaml-corpus.yaml test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
yaml-test-suite-gaps.yaml fix(parsing): apply flow folding to quoted scalars 2026-06-23 20:17:56 +02:00