PureYAML/.claude/commands
Mihaela Mihaljevic 561921df42 feat(parsing): route the event API through the ported libyaml engine
parseEvents now runs on the ported scanner+parser instead of the
hand-rolled approximation. Adds 1-based mark conversion at the boundary
(the port stays faithfully 0-based internally), translates the port's
scanner and parser errors into the diagnostic-aware ParseError with
precise codes (unterminatedQuotedString, unterminatedTag, tabIndentation)
and a readable malformed fallback, and retargets the canonical event gate
to track the port's gap set.

The port matches the canonical test.event on 253 of 308 valid cases;
the remaining gaps match libyaml's own behaviour and are the targets for
surpassing libyaml. Golden event and diagnostic expectations are rebased
onto the port where it is faithful or more correct (resolved verbatim
tags, libyaml's stream-end marks, reaching the real unterminated quote).
333 tests pass.
2026-06-24 17:32:29 +02:00
..
exp feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
openapi feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
swift feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00
ui feat(parsing): route the event API through the ported libyaml engine 2026-06-24 17:32:29 +02:00