+| Crucible YAML implementation | Verified profile-1 UTF-8/BOM decoding, bounded lexical atoms, exact line/indentation layout, lossless structural candidates, authenticated context-sensitive quoted/plain/block scalars, completed YAML token formation, and nonrecursive CST parsing for the complete presentation grammar. The CST retains six exact document regions and all trivia, binds properties/scalars/markers/entries to exact syntax ownership, enforces block/flow grammar and caller-lowered limits with typed first-impossible diagnostics, and has a total fueled pure model with strict progress, determinism, child-before-parent acyclicity, adversarial anti-forgery proofs, and exact executable correspondence. Semantic resolution now has verified YAML 1.2.2 Core plain-scalar classification, host-width-independent decimal/octal/hex integer conversion into one canonical arbitrary-width magnitude, exact finite-decimal conversion into canonical arbitrary-width coefficient and signed-exponent digits, canonical signed-infinity/NaN conversion, semantic decoding for all five scalar styles, authenticated CST-node dispatch, complete scalar-value composition, complete collection-tag composition for implicit Core, explicit standard, non-specific, and losslessly retained custom tags, document-scoped explicit tag-property resolution, presentation-ordered anchor/alias binding with exact Unicode shadowing and document reset, a bounded exact semantic-topology projection retaining every document root, CST node identity/range, sequence edge, and mapping edge, exact scalar-table population covering every scalar/empty CST node with aggregate decoded-content accounting, an owned semantic node table assigning every CST node exactly one scalar, collection, or alias slot with exact collection values and alias redirects, exact alias-cycle rejection with proved strictly descending graph edges, per-node semantic depths, visit completion, and a retained deepest path, collision-free canonical byte identities for every resolved scalar, and recursive canonical structural identities for every semantic node. Structural identity is alias-transparent, sequence-order-sensitive, mapping-order-insensitive, custom-tag-complete, length-delimited, provenance-retaining, and produced by a verified iterative bottom-up merge sort under independent record, key-byte, aggregate-byte, and mapping-scratch caps. These machines retain exact source ranges, exclude YAML 1.1 coercions and host numeric rounding, enforce caller-lowered limits at exact source anchors, and prove executable-to-pure correspondence. Duplicate/merge-key handling, lowering, schema validation, canonical serialization, and self-fuzzing remain committed work |
0 commit comments