PureYAML/Sources
Mihaela Mihaljevic e51df57c35 feat(tagged): carry mapping keys as full nodes
Closes #12 and closes #13. Tagged.Pair stores keyNode instead of a
bare string: alias mapping keys parse on the Tagged path (composer
resolves them through the anchors table, dumper re-emits the reference
with the mandatory space before the colon since a colon is a legal
anchor character), key anchors register for later aliases and re-emit,
and a key's presentation style survives dump and reparse. key and
keyTag remain as read-through computed accessors and the string-key
convenience init keeps most call sites source compatible. A style-less
hand-built key keeps the plain-when-safe emission convention. The
corpus round-trip law compares key nodes structurally; alias-key
documents move from rejected to round-tripping.
2026-07-16 15:42:56 +02:00
..
Coding feat(codable): broaden compatibility coverage 2026-06-05 12:49:20 +02:00
Decoding refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
Emitting feat(emitting): add canonical mode, document markers, and lineWidth 2026-07-12 14:13:19 +02:00
Encoding feat(model): support complex mapping keys 2026-06-05 16:08:45 +02:00
Model refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
Parsing style: bring four files back under the swiftformat gate 2026-07-12 13:29:05 +02:00
PureYAMLJSON refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
Stream refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
Streaming fix(streaming): replace the token-kind trap with an exhaustive switch 2026-07-12 13:26:06 +02:00
Tagged feat(tagged): carry mapping keys as full nodes 2026-07-16 15:42:56 +02:00
Validation refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
API.swift refactor(validation): rename framework to match the validation idiom 2026-07-12 18:10:00 +02:00
PureYAML.swift feat(parsing): persist mid-token suspension and expose it as a public streaming API 2026-07-10 09:10:56 +02:00