PureYAML/Sources/Emitting
Mihaela Mihaljevic ae85ec97c9 fix(emitting): quote every string the parser reads as another type
The emitter kept its own list of reserved words and number shapes,
apart from the parser's, and the two disagreed: the string yes was
written plain and read back as a boolean, as were 0x1F, 1_000 and
.inf. The parser's reading of a plain scalar is now one type that
both use, and the emitter quotes what does not read back as a string.

Also quoted: the merge key, the document end marker, and a string
with a CR+LF break, which was written raw.
2026-10-28 23:32:40 +01:00
..
Dumper.Canonical.swift fix: correct emitter and tagged round-trip and validation bugs 2026-07-16 16:29:08 +02:00
Dumper.Mapping.swift feat(emitting): add indentWidth and sortKeys emitter options 2026-07-10 17:49:44 +02:00
Dumper.NestingLimit.swift fix: correct emitter and tagged round-trip and validation bugs 2026-07-16 16:29:08 +02:00
Dumper.ScalarAnalysis.swift fix(emitting): quote every string the parser reads as another type 2026-10-28 23:32:40 +01:00
Dumper.Stream.swift fix: correct emitter and tagged round-trip and validation bugs 2026-07-16 16:29:08 +02:00
Dumper.swift fix: correct emitter and tagged round-trip and validation bugs 2026-07-16 16:29:08 +02:00
Dumper.Wrap.swift feat(emitting): add canonical mode, document markers, and lineWidth 2026-07-12 14:13:19 +02:00
Emitting.CollectionStyle.swift feat(emitting): add flow collection output 2026-06-05 11:09:58 +02:00
Emitting.ScalarStyle.swift feat(emitting): add literal block scalar output 2026-06-05 11:06:19 +02:00
Options.swift feat(emitting): add canonical mode, document markers, and lineWidth 2026-07-12 14:13:19 +02:00