64a171bff4
fix(parsing): bound nesting depth so pathological input errors instead of crashing
2026-06-23 09:29:45 +02:00
5d76d184cb
fix(parsing): treat leading '#' in block scalars as literal content
2026-06-23 04:00:07 +02:00
c13b7c97fd
test: demonstrate yaml/json parsing and generation round-trips
...
Add a suite covering the four supported conversions around a shared
Codable value: parsing YAML, parsing JSON (via the same API, since YAML
1.2 is a JSON superset), generating YAML, and generating strict JSON
through Foundation's JSONEncoder. Each path asserts exact output and
round-trips back to the original value.
2026-06-08 00:13:56 +02:00
ca96772207
test(corpus): add public real yaml seeds
...
Vendor the pinned public YAML seeds used by the real-corpus and Yams differential gates.
2026-06-06 08:24:12 +02:00
aa74cf4332
test(corpus): add remaining acme catalog fixtures
...
Add the remaining sanitized ACME catalog modules for multi-file corpus coverage.
2026-06-06 08:16:37 +02:00
7c069dce66
test(corpus): add acme catalog service fixtures
...
Add sanitized ACME service modules that exercise cross-file OpenAPI-style YAML structures.
2026-06-06 08:03:57 +02:00
8184470cd6
test(corpus): add acme catalog core fixtures
...
Add the first sanitized ACME catalog modules used for multi-file real-world corpus coverage.
2026-06-06 08:03:27 +02:00
6f76f31c88
test(corpus): add real yaml corpus manifest
...
Record the checked corpus provenance and fixture metadata used by production hardening gates.
2026-06-06 08:03:21 +02:00
208b892019
feat(parser): harden diagnostics and streaming
...
Add structured validation diagnostics, JSON and Yams comparison gates, and lazy token/event parsing so production behavior is measured without retaining full intermediate parser arrays.
2026-06-06 07:57:48 +02:00
37239fe613
fix(parser): match block continuation parsing
2026-06-05 22:12:12 +02:00
68883f2104
feat(validation): add diagnostic report errors
2026-06-05 21:06:42 +02:00
13183a4353
Add machine-readable validation reports
2026-06-05 20:39:32 +02:00
0e92e31d89
Add production validation reports
2026-06-05 20:23:20 +02:00
bc54528353
Harden parser against real YAML fixtures
2026-06-05 19:34:30 +02:00
906f0c454d
feat(emitting): dump YAML streams
2026-06-05 17:14:41 +02:00
91a2c24901
feat(tagged): add typed constructor policy
2026-06-05 16:24:11 +02:00
697b9cc519
feat(model): support complex mapping keys
2026-06-05 16:08:45 +02:00
9c45419496
feat(tagged): add tag-preserving validation
2026-06-05 15:35:52 +02:00
e1f8acb3a0
feat(parser): expand YAML merge keys
2026-06-05 15:12:55 +02:00
8be6e68a23
feat(parser): add multi-document stream parsing
2026-06-05 14:55:54 +02:00
b6a39f7096
docs(api): reject arbitrary any conversion
2026-06-05 14:34:17 +02:00
307d40c053
test(validation): expand fixture corpus
2026-06-05 14:29:52 +02:00
f3f6f15b32
test(docs): cover README usage examples
2026-06-05 13:52:40 +02:00
d42da7fb67
test(compatibility): add downstream document fixtures
2026-06-05 13:45:23 +02:00
92b0d7c92d
feat(emitting): broaden literal block fixtures
2026-06-05 13:37:33 +02:00
84a2de9ea1
test(compatibility): document unsupported yaml gaps
2026-06-05 13:29:22 +02:00
ec457d61e8
test(compatibility): add collection fixture corpus
2026-06-05 13:16:30 +02:00
efdce11a9a
Add scalar compatibility corpus
2026-06-05 13:07:04 +02:00
29ecce451a
feat(codable): broaden compatibility coverage
2026-06-05 12:49:20 +02:00
611c079255
test(coding): add sequence fixtures and contract gate
2026-06-05 12:33:09 +02:00
5c3de786bf
feat(coding): add unkeyed typed conversion
2026-06-05 12:23:52 +02:00
f80d7460ea
feat(coding): add keyed typed conversion
2026-06-05 12:11:53 +02:00
8662de5403
feat(coding): add scalar typed conversion
2026-06-05 11:45:00 +02:00
66de760ff2
feat(validation): add predicate-gated rules
2026-06-05 11:21:23 +02:00
d06a00c9a6
test(emitting): add emitter corpus evidence
2026-06-05 11:13:29 +02:00
5fe9c1b8d1
feat(emitting): add flow collection output
2026-06-05 11:09:58 +02:00
6197c23e6f
feat(emitting): add literal block scalar output
2026-06-05 11:06:19 +02:00
e127cc1f1e
test(validation): harden diagnostics corpus
2026-06-05 10:46:28 +02:00
35fb919b74
feat(emitting): add scalar output options
2026-06-05 10:40:28 +02:00
7a71110bb4
feat(parsing): support directives and scalar tags
2026-06-05 10:16:34 +02:00
bc04c4815e
feat(parsing): compose events into values
2026-06-05 10:07:28 +02:00
bee7683ee2
feat(parsing): parse token stream into events
2026-06-05 09:56:18 +02:00
11e7382ab1
feat(parsing): add reader scanner core
2026-06-05 07:40:23 +02:00
3436160306
feat(parsing): add parse event model
...
Add internal parsing events with marks, scalar styles, collection styles, alias events, and anchor/tag metadata. Add golden parser event tests for current block parser behavior.
Closes #2
2026-06-05 07:16:23 +02:00
9c718e3303
feat(package): bootstrap pure swift yaml package
2026-06-05 06:34:20 +02:00