yapyon 0.6.0.dev0__tar.gz → 0.6.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/CHANGELOG.md +89 -3
  2. {yapyon-0.6.0.dev0/src/yapyon.egg-info → yapyon-0.6.1}/PKG-INFO +28 -5
  3. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/README.md +27 -4
  4. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/DETAILS.md +207 -21
  5. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/SPEC.md +61 -21
  6. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/TUTORIAL.md +65 -5
  7. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/pyproject.toml +1 -1
  8. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/__init__.py +3 -2
  9. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_digits.py +1 -1
  10. yapyon-0.6.1/src/yapyon/_safe.py +376 -0
  11. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_source.py +69 -15
  12. yapyon-0.6.1/src/yapyon/_values.py +26 -0
  13. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/assembly.py +31 -6
  14. yapyon-0.6.1/src/yapyon/emitter.py +623 -0
  15. yapyon-0.6.1/src/yapyon/export.py +297 -0
  16. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/loader.py +4 -23
  17. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/parser.py +1 -0
  18. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/tree.py +12 -5
  19. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/typespec.py +4 -8
  20. {yapyon-0.6.0.dev0 → yapyon-0.6.1/src/yapyon.egg-info}/PKG-INFO +28 -5
  21. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon.egg-info/SOURCES.txt +11 -0
  22. yapyon-0.6.1/tests/test_dump_safe.py +935 -0
  23. yapyon-0.6.1/tests/test_export.py +274 -0
  24. yapyon-0.6.1/tests/test_export_docs.py +26 -0
  25. yapyon-0.6.1/tests/test_export_limits.py +188 -0
  26. yapyon-0.6.1/tests/test_export_properties.py +75 -0
  27. yapyon-0.6.1/tests/test_export_review_regressions.py +106 -0
  28. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_loader.py +5 -3
  29. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_merge_source.py +14 -13
  30. yapyon-0.6.1/tests/test_parent_history.py +186 -0
  31. yapyon-0.6.1/tests/test_source_simplification.py +399 -0
  32. yapyon-0.6.0.dev0/src/yapyon/emitter.py +0 -443
  33. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/LICENSE +0 -0
  34. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/MANIFEST.in +0 -0
  35. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/GRAMMAR.md +0 -0
  36. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/README.md +0 -0
  37. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/angle-bracket-in-a-value.meta.json +0 -0
  38. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/angle-bracket-in-a-value.yap +0 -0
  39. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/argument-contains-the-call-site.meta.json +0 -0
  40. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/argument-contains-the-call-site.yap +0 -0
  41. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-invalid-alphabet.meta.json +0 -0
  42. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-invalid-alphabet.yap +0 -0
  43. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-non-canonical-one-pad.meta.json +0 -0
  44. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-non-canonical-one-pad.yap +0 -0
  45. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-non-canonical-two-pads.meta.json +0 -0
  46. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/b64-non-canonical-two-pads.yap +0 -0
  47. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/bare-path-value.meta.json +0 -0
  48. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/bare-path-value.yap +0 -0
  49. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/bool-from-other-text.meta.json +0 -0
  50. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/bool-from-other-text.yap +0 -0
  51. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/c32-spare-bits.meta.json +0 -0
  52. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/c32-spare-bits.yap +0 -0
  53. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/cast-of-none.meta.json +0 -0
  54. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/cast-of-none.yap +0 -0
  55. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-binding-arity.meta.json +0 -0
  56. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-binding-arity.yap +0 -0
  57. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-condition-type.meta.json +0 -0
  58. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-condition-type.yap +0 -0
  59. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-duplicate-key.meta.json +0 -0
  60. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-duplicate-key.yap +0 -0
  61. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-key-type.meta.json +0 -0
  62. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/comprehension-key-type.yap +0 -0
  63. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-cycle.meta.json +0 -0
  64. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-cycle.yap +0 -0
  65. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-duplicate.meta.json +0 -0
  66. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-duplicate.yap +0 -0
  67. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-in-record.meta.json +0 -0
  68. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-in-record.yap +0 -0
  69. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-metadata.meta.json +0 -0
  70. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-metadata.yap +0 -0
  71. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-not-dot.meta.json +0 -0
  72. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/computed-key-not-dot.yap +0 -0
  73. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/copy-contains-itself.meta.json +0 -0
  74. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/copy-contains-itself.yap +0 -0
  75. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/decimal-leading-zero.meta.json +0 -0
  76. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/decimal-leading-zero.yap +0 -0
  77. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/dunder-key.meta.json +0 -0
  78. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/dunder-key.yap +0 -0
  79. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/duplicate-key-after-folding.meta.json +0 -0
  80. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/duplicate-key-after-folding.yap +0 -0
  81. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/duplicate-key.meta.json +0 -0
  82. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/duplicate-key.yap +0 -0
  83. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/empty-document.meta.json +0 -0
  84. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/empty-document.yap +0 -0
  85. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/empty-key.meta.json +0 -0
  86. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/empty-key.yap +0 -0
  87. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-name-syntax.meta.json +0 -0
  88. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-name-syntax.yap +0 -0
  89. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-not-exposed.env.json +0 -0
  90. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-not-exposed.meta.json +0 -0
  91. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-not-exposed.yap +0 -0
  92. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-off-with-fallback.env.json +0 -0
  93. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-off-with-fallback.meta.json +0 -0
  94. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-off-with-fallback.yap +0 -0
  95. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-step.env.json +0 -0
  96. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-step.meta.json +0 -0
  97. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-step.yap +0 -0
  98. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-unset.env.json +0 -0
  99. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-unset.meta.json +0 -0
  100. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/env-unset.yap +0 -0
  101. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/hex-bad-symbol.meta.json +0 -0
  102. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/hex-bad-symbol.yap +0 -0
  103. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/hole-in-a-record.meta.json +0 -0
  104. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/hole-in-a-record.yap +0 -0
  105. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/int-from-float-text.meta.json +0 -0
  106. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/int-from-float-text.yap +0 -0
  107. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/int-from-text-with-a-tail.meta.json +0 -0
  108. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/int-from-text-with-a-tail.yap +0 -0
  109. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/key-not-an-identifier.meta.json +0 -0
  110. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/key-not-an-identifier.yap +0 -0
  111. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/left-of-base-column.meta.json +0 -0
  112. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/left-of-base-column.yap +0 -0
  113. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/merge-pipe-in-record.meta.json +0 -0
  114. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/merge-pipe-in-record.yap +0 -0
  115. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/not-a-record.meta.json +0 -0
  116. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/not-a-record.yap +0 -0
  117. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/oct-symbol-count.meta.json +0 -0
  118. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/oct-symbol-count.yap +0 -0
  119. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/parentheses-in-a-record.meta.json +0 -0
  120. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/parentheses-in-a-record.yap +0 -0
  121. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/parentheses-make-no-tuple.meta.json +0 -0
  122. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/parentheses-make-no-tuple.yap +0 -0
  123. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/quoted-key-not-name.meta.json +0 -0
  124. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/quoted-key-not-name.yap +0 -0
  125. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/replacement-duplicate.meta.json +0 -0
  126. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/replacement-duplicate.yap +0 -0
  127. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/safe-dot-before-a-key.meta.json +0 -0
  128. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/safe-dot-before-a-key.yap +0 -0
  129. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/serializer-on-bare-anchor.meta.json +0 -0
  130. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/serializer-on-bare-anchor.yap +0 -0
  131. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/slot-in-a-record.meta.json +0 -0
  132. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/slot-in-a-record.yap +0 -0
  133. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/slot-overrides-not-a-mapping.meta.json +0 -0
  134. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/slot-overrides-not-a-mapping.yap +0 -0
  135. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/tab-in-indent.meta.json +0 -0
  136. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/tab-in-indent.yap +0 -0
  137. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/template-in-yapyon-serializer.meta.json +0 -0
  138. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/template-in-yapyon-serializer.yap +0 -0
  139. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/toml-takes-a-table.meta.json +0 -0
  140. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/toml-takes-a-table.yap +0 -0
  141. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unbound-hole.meta.json +0 -0
  142. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unbound-hole.yap +0 -0
  143. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/undeclared-function.meta.json +0 -0
  144. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/undeclared-function.yap +0 -0
  145. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unfilled-abstract-slot.meta.json +0 -0
  146. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unfilled-abstract-slot.yap +0 -0
  147. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unfilled-slot.meta.json +0 -0
  148. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unfilled-slot.yap +0 -0
  149. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unknown-built-in.meta.json +0 -0
  150. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unknown-built-in.yap +0 -0
  151. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unknown-escape.meta.json +0 -0
  152. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/error/unknown-escape.yap +0 -0
  153. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/01-splice-uses-the-value.expected.yap +0 -0
  154. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/01-splice-uses-the-value.yap +0 -0
  155. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/02-nearest-wins.expected.yap +0 -0
  156. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/02-nearest-wins.yap +0 -0
  157. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/03-root-is-the-escape-hatch.expected.yap +0 -0
  158. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/03-root-is-the-escape-hatch.yap +0 -0
  159. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/04-a-near-uncle-beats-a-far-ancestor.expected.yap +0 -0
  160. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/04-a-near-uncle-beats-a-far-ancestor.yap +0 -0
  161. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/05-parent-and-key.expected.yap +0 -0
  162. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/05-parent-and-key.yap +0 -0
  163. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/06-the-dot-is-sugar-for-the-bracket.expected.yap +0 -0
  164. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/06-the-dot-is-sugar-for-the-bracket.yap +0 -0
  165. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/07-indirect-key-from-a-value.expected.yap +0 -0
  166. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/07-indirect-key-from-a-value.yap +0 -0
  167. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/08-negative-index-takes-pythons-meaning.expected.yap +0 -0
  168. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/08-negative-index-takes-pythons-meaning.yap +0 -0
  169. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/09-multimap-list-view.expected.yap +0 -0
  170. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/09-multimap-list-view.yap +0 -0
  171. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/10-chained-splice.expected.yap +0 -0
  172. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/10-chained-splice.yap +0 -0
  173. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/11-serializer-json.expected.yap +0 -0
  174. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/11-serializer-json.yap +0 -0
  175. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/12-serializer-toml-array-of-tables.expected.yap +0 -0
  176. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/12-serializer-toml-array-of-tables.yap +0 -0
  177. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/13-serializer-yaml.expected.yap +0 -0
  178. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/13-serializer-yaml.yap +0 -0
  179. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/14-serializer-on-a-sibling-through-an-anchor.expected.yap +0 -0
  180. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/14-serializer-on-a-sibling-through-an-anchor.yap +0 -0
  181. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/15-serializer-yapyon.expected.yap +0 -0
  182. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/15-serializer-yapyon.yap +0 -0
  183. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/16-json-records-lexemes.expected.yap +0 -0
  184. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/16-json-records-lexemes.yap +0 -0
  185. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/17-multimap-in-every-format.expected.yap +0 -0
  186. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/17-multimap-in-every-format.yap +0 -0
  187. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/18-toml-none.expected.yap +0 -0
  188. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/18-toml-none.yap +0 -0
  189. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/19-calls.expected.yap +0 -0
  190. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/19-calls.yap +0 -0
  191. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/20-a-subscript-key-written-later.expected.yap +0 -0
  192. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/20-a-subscript-key-written-later.yap +0 -0
  193. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/21-environment.env.json +0 -0
  194. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/21-environment.expected.yap +0 -0
  195. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/21-environment.yap +0 -0
  196. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/22-environment-not-exposed.env.json +0 -0
  197. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/22-environment-not-exposed.expected.yap +0 -0
  198. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/22-environment-not-exposed.yap +0 -0
  199. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/23-environment-allowed.env.json +0 -0
  200. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/23-environment-allowed.expected.yap +0 -0
  201. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/23-environment-allowed.yap +0 -0
  202. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/24-copy-keeps-the-type.expected.yap +0 -0
  203. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/24-copy-keeps-the-type.yap +0 -0
  204. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/25-copy-resolves-then-copies.expected.yap +0 -0
  205. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/25-copy-resolves-then-copies.yap +0 -0
  206. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/26-parentheses-group-a-literal.expected.yap +0 -0
  207. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/26-parentheses-group-a-literal.yap +0 -0
  208. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/27-copy-of-a-calls-result.expected.yap +0 -0
  209. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/27-copy-of-a-calls-result.yap +0 -0
  210. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/28-casters.expected.yap +0 -0
  211. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/28-casters.yap +0 -0
  212. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/29-get-and-safe-calls.expected.yap +0 -0
  213. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/29-get-and-safe-calls.yap +0 -0
  214. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/30-filtered-inline-selection.expected.yap +0 -0
  215. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/30-filtered-inline-selection.yap +0 -0
  216. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/31-block-dictionary-comprehension.expected.yap +0 -0
  217. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/31-block-dictionary-comprehension.yap +0 -0
  218. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/32-multimap-comprehensions.expected.yap +0 -0
  219. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/32-multimap-comprehensions.yap +0 -0
  220. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/33-key-value-source-bindings.expected.yap +0 -0
  221. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/33-key-value-source-bindings.yap +0 -0
  222. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/34-boolean-and-comparison-expressions.expected.yap +0 -0
  223. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/34-boolean-and-comparison-expressions.yap +0 -0
  224. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/35-container-none-and-replacement.expected.yap +0 -0
  225. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/35-container-none-and-replacement.yap +0 -0
  226. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/36-typed-occurrence-combination.expected.yap +0 -0
  227. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/36-typed-occurrence-combination.yap +0 -0
  228. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/37-composition-grouping.expected.yap +0 -0
  229. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/37-composition-grouping.yap +0 -0
  230. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/38-independent-comprehension-layers.expected.yap +0 -0
  231. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/38-independent-comprehension-layers.yap +0 -0
  232. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/computed-env-key.env.json +0 -0
  233. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/computed-env-key.expected.yap +0 -0
  234. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/computed-env-key.yap +0 -0
  235. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/computed-keys.expected.yap +0 -0
  236. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/full/computed-keys.yap +0 -0
  237. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/01-scalars.expected.yap +0 -0
  238. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/01-scalars.yap +0 -0
  239. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/02-bytes-two-spellings.expected.yap +0 -0
  240. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/02-bytes-two-spellings.yap +0 -0
  241. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/03-string-quote-forms.expected.yap +0 -0
  242. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/03-string-quote-forms.yap +0 -0
  243. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/04-escapes.expected.yap +0 -0
  244. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/04-escapes.yap +0 -0
  245. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/05-block-vs-flow.expected.yap +0 -0
  246. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/05-block-vs-flow.yap +0 -0
  247. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/06-nested-blocks.expected.yap +0 -0
  248. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/06-nested-blocks.yap +0 -0
  249. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/07-empty-containers.expected.yap +0 -0
  250. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/07-empty-containers.yap +0 -0
  251. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/08-number-forms.expected.yap +0 -0
  252. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/08-number-forms.yap +0 -0
  253. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/09-bool-none.expected.yap +0 -0
  254. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/09-bool-none.yap +0 -0
  255. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/10-unicode-values.expected.yap +0 -0
  256. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/10-unicode-values.yap +0 -0
  257. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/11-keys-fold-identical.expected.yap +0 -0
  258. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/11-keys-fold-identical.yap +0 -0
  259. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/12-multimap.expected.yap +0 -0
  260. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/12-multimap.yap +0 -0
  261. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/13-comments-invisible.expected.yap +0 -0
  262. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/13-comments-invisible.yap +0 -0
  263. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/14-key-order-pinned.expected.yap +0 -0
  264. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/14-key-order-pinned.yap +0 -0
  265. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/15-raw-bytes.expected.yap +0 -0
  266. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/15-raw-bytes.yap +0 -0
  267. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/16-block-strings.expected.yap +0 -0
  268. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/16-block-strings.yap +0 -0
  269. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/17-indented-document.expected.yap +0 -0
  270. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/17-indented-document.yap +0 -0
  271. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/18-stream-literals.expected.yap +0 -0
  272. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/18-stream-literals.yap +0 -0
  273. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/19-radix-integers.expected.yap +0 -0
  274. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/19-radix-integers.yap +0 -0
  275. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/20-a-single-value.expected.yap +0 -0
  276. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/20-a-single-value.yap +0 -0
  277. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/21-an-empty-mapping.expected.yap +0 -0
  278. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/21-an-empty-mapping.yap +0 -0
  279. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/22-the-empty-multimap.expected.yap +0 -0
  280. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/22-the-empty-multimap.yap +0 -0
  281. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/23-flow-multimap.expected.yap +0 -0
  282. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/23-flow-multimap.yap +0 -0
  283. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/24-replacement-separators.expected.yap +0 -0
  284. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/24-replacement-separators.yap +0 -0
  285. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/quoted-keys.expected.yap +0 -0
  286. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/docs/conformance/cases/record/quoted-keys.yap +0 -0
  287. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/examples/bridge.yap +0 -0
  288. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/examples/comprehensions.yap +0 -0
  289. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/examples/gateway.yap +0 -0
  290. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/examples/registry.yap +0 -0
  291. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/setup.cfg +0 -0
  292. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/__main__.py +0 -0
  293. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_cli.py +0 -0
  294. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_expressions.py +0 -0
  295. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_keys.py +0 -0
  296. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_wcwidth.py +0 -0
  297. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_width.py +0 -0
  298. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/_xid.py +0 -0
  299. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/contract.py +0 -0
  300. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/environment.py +0 -0
  301. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/expand.py +0 -0
  302. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/lexer.py +0 -0
  303. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/multimap.py +0 -0
  304. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/record.py +0 -0
  305. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/resolver.py +0 -0
  306. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/serializers.py +0 -0
  307. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/template.py +0 -0
  308. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/tier.py +0 -0
  309. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon/writers.py +0 -0
  310. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon.egg-info/dependency_links.txt +0 -0
  311. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon.egg-info/requires.txt +0 -0
  312. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/src/yapyon.egg-info/top_level.txt +0 -0
  313. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/fixtures/deferred-layer-case/agent.yap +0 -0
  314. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/fixtures/deferred-layer-case/base.tmpl +0 -0
  315. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/fixtures/deferred-layer-case/codex.tmpl +0 -0
  316. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/fixtures/deferred-layer-case/custom.tmpl +0 -0
  317. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_as_yapyon.py +0 -0
  318. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_bare_calls.py +0 -0
  319. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_builtins.py +0 -0
  320. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_casters.py +0 -0
  321. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_cli.py +0 -0
  322. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_comprehensions.py +0 -0
  323. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_computed_keys.py +0 -0
  324. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_conformance.py +0 -0
  325. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_conformance_corpus.py +0 -0
  326. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_contracts.py +0 -0
  327. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_copies.py +0 -0
  328. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_diagnostics.py +0 -0
  329. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_documents.py +0 -0
  330. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_emitter.py +0 -0
  331. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_empty_multimap.py +0 -0
  332. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_environment.py +0 -0
  333. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_expand.py +0 -0
  334. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_hole_calls.py +0 -0
  335. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_identifiers.py +0 -0
  336. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_key_integration.py +0 -0
  337. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_key_merges.py +0 -0
  338. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_key_syntax.py +0 -0
  339. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_lexer.py +0 -0
  340. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_lookup.py +0 -0
  341. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_node_sources.py +0 -0
  342. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_numbers_streams.py +0 -0
  343. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_order_independence.py +0 -0
  344. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_parser.py +0 -0
  345. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_readme.py +0 -0
  346. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_record.py +0 -0
  347. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_ref_grammar.py +0 -0
  348. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_resolver.py +0 -0
  349. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_safe_calls.py +0 -0
  350. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_serializer_output.py +0 -0
  351. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_slot_syntax.py +0 -0
  352. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_slots.py +0 -0
  353. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_source.py +0 -0
  354. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_subscripts.py +0 -0
  355. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_tiers.py +0 -0
  356. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_tree.py +0 -0
  357. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_tutorial.py +0 -0
  358. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tests/test_width.py +0 -0
  359. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tools/check_ref_grammar.py +0 -0
  360. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tools/gen_wcwidth_table.py +0 -0
  361. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tools/gen_xid_table.py +0 -0
  362. {yapyon-0.6.0.dev0 → yapyon-0.6.1}/tools/run_conformance.py +0 -0
@@ -9,11 +9,97 @@ before it needed `pip install yapyon --pre` to be seen.
9
9
 
10
10
  ---
11
11
 
12
- ## 0.6.0.dev0 — Unreleased
12
+ ## Unreleased
13
+
14
+ ## 0.6.1 — 2026-11-06
15
+
16
+ Built to specification and grammar **v0.6**. No new syntax or public API.
17
+
18
+ ### Changed
19
+
20
+ - **Conservative unfinished-source simplification (§15.8):** `Tree.to_source()`
21
+ combines structurally known dictionary contributions and removes proven
22
+ overwritten values and compatible empty-collection identities without
23
+ resolving expressions or comparing unfinished collection elements. Necessary
24
+ computed-key/comprehension boundaries, replacement intent, key provenance,
25
+ order, and sequential named/abstract-slot programs survive. Uncertain cases
26
+ remain layered; historical-fill and unattached-slot refusals are unchanged.
27
+ Minimal `| {}` markers retain dictionary-program identity even after later
28
+ edits empty a dictionary before it is reused as slot overrides. Output is
29
+ compact, not necessarily pipe-free.
30
+ - Saved source may contain fewer authored pipes, have a lower syntactic tier,
31
+ and avoid resource refusals through reduced work. Original parsing, merge
32
+ meaning, `tier_of`, and record-only `emit()` behavior are unchanged. Source
33
+ text/layout compatibility is not promised; semantic continuation behavior is.
34
+
35
+ ### Fixed
36
+
37
+ - Retain the containing dictionary's program identity when a nested slot gains
38
+ sequential overrides or a pending combination. Previously, removing all of
39
+ that parent's fields and reusing it as slot overrides could treat the unsaved
40
+ parent as harmless literal `{}` while its saved/reloaded counterpart still
41
+ applied a dictionary program. Copies, later edits, and source writing now
42
+ preserve the same history without changing literal-empty override semantics.
43
+
44
+ ## 0.6.0 — 2026-10-29
45
+
46
+ Built to specification and grammar **v0.6**. Includes the merge/source changes
47
+ introduced in 0.6.0.dev0 and adds host-value export. The published development
48
+ artifacts remain unchanged.
49
+
50
+ ### Changed — breaking
51
+
52
+ - **Collection merging (§15.2)** combines lists by complete typed elements and
53
+ multimaps by complete key/value pairs. Equal items keep the greater per-input
54
+ occurrence count, stable earlier positions, and the complete higher
55
+ representation. This is not positional merging or accumulating duplicates.
56
+ Merge equality distinguishes `True`, `1`, and `1.0`.
57
+ - **None and compatible empty containers yield** to populated containers under
58
+ ordinary combination. Use field replacement to force `None` or an empty
59
+ collection. Other noncombining kinds retain the higher complete value.
60
+ - **Copies and calls merge by eventual value kind**, as literal contributions
61
+ do, rather than by their parser-node class. No computation runs during merging
62
+ or unfinished-source saving.
63
+
64
+ ### Added
65
+
66
+ - **Field replacement and grouped composition:** `key:= value` replaces a
67
+ complete field; `|` composes complete values at the lowest value-expression
68
+ precedence. Grouping preserves non-associative composition. Faithful source
69
+ layers retain deferred keys, comprehensions, replacement, lexical scope, and
70
+ sequential slot operations. See the dev0 entry for the complete merge/source
71
+ semantics and remaining historical-fill/unattached-slot save refusals.
72
+ - **`dumps(value)` and conventional `dump(value, fp)`** export supported Python
73
+ data as canonical, newline-terminated records. Exact keys and loaded key-kind
74
+ provenance survive. Types, order, repetitions, empty values, and `None` are
75
+ preserved without evaluation, pruning, sorting, or implicit adapters.
76
+ Shared acyclic inputs become independent occurrences; actual cycles are
77
+ path-located akan. Configurable decimal-digit, container-depth, and actual
78
+ UTF-8 output limits are enforced before unbounded preparation/emission.
79
+ - **`dump_safe(value, path)`** wraps shared preparation with checked UTF-8 file
80
+ replacement. It follows symlinks, stages inside a private directory, preserves
81
+ verified access controls, and retains private recovery data with native errors,
82
+ recovery paths, and honest replacement-outcome notes. Protection verification
83
+ is currently **Linux-only**; unsupported platforms/protections are refused
84
+ rather than silently weakened. No filesystem lock or sudden-power-loss
85
+ durability is promised. Caller-owned synchronization protects mutable input.
86
+
87
+ ### Fixed
88
+
89
+ - Canonical block strings preserve backslashes, control characters, and leading
90
+ data spaces on their anchor-setting line. Such spaces no longer disappear or
91
+ make emitted source impossible to reload.
92
+ - Shared decimal conversion works even when CPython's configurable conversion
93
+ limit is set to its minimum of 640 digits.
94
+ - Shared emission traverses deeply nested record data without depending on the
95
+ host recursion limit, and speculative flow layout stops formatting values that
96
+ cannot fit instead of repeatedly materializing large rejected bodies.
97
+
98
+ ## 0.6.0.dev0 — 2026-10-29
13
99
 
14
100
  Development prerelease targeting specification and grammar **v0.6** for
15
- merge/source composition and unfinished persistence. This section records
16
- unreleased work, not a publication claim.
101
+ merge/source composition and unfinished persistence. Host-value `dump`/`dumps`
102
+ APIs are not included.
17
103
 
18
104
  ### Changed — breaking
19
105
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yapyon
3
- Version: 0.6.0.dev0
3
+ Version: 0.6.1
4
4
  Summary: Python-style typed literals with YAML-like block structure
5
5
  Author-email: Jei Blanchard <jjb@bmail.club>
6
6
  License-Expression: GPL-3.0-or-later
@@ -71,6 +71,23 @@ It can be quickly tested, too:
71
71
 
72
72
  The `loads` and `load` functions return plain Python. Types include builtin Python types as well as `OrderedMultimap` (`+`-syntax) and `Template` (`yt`-string).
73
73
 
74
+ Python data can be saved as a record, without evaluating document expressions:
75
+
76
+ ```python
77
+ >>> text = yapyon.dumps({"name": "gw", "ports": [8080, 8443]})
78
+ >>> print(text, end="")
79
+ name: "gw"
80
+ ports: [8080, 8443]
81
+ >>> yapyon.loads_record(text)
82
+ {'name': 'gw', 'ports': [8080, 8443]}
83
+ ```
84
+
85
+ `dump(value, fp)` writes to an already-open text stream. `dump_safe(value, path)`
86
+ adds checked file replacement and recovery reporting; its verified file-protection
87
+ support is currently Linux-only. See [exporting Python values](docs/DETAILS.md#exporting-python-values)
88
+ for limits, permissions, recovery, and caller-owned input synchronization.
89
+ Use `Tree.to_source()` instead when unfinished expressions or slots must survive.
90
+
74
91
  Some other quick commands:
75
92
  ```
76
93
  $ python -m yapyon record examples/registry.yap # A Yapyon record
@@ -108,7 +125,7 @@ Yapyon has no ambient scope nor includes and is built to be completely auditable
108
125
 
109
126
  ## Value composition and unfinished source
110
127
 
111
- The **`0.6.0.dev0` development line** adds explicit composition and faithful
128
+ The **`0.6.0` line** adds explicit composition and faithful
112
129
  saving of unfinished layers. `|` combines complete values; `:` uses ordinary
113
130
  combination at a field, while `:=` replaces that field's complete value:
114
131
 
@@ -136,9 +153,15 @@ operands may mix. Pipes require at least a ledger, even with literal operands;
136
153
  a replacement annotation alone can remain a record. Holes retain their
137
154
  existing reference/call grammar, without pipes.
138
155
 
139
- `Tree.to_source()` preserves unfinished expressions, contribution order,
140
- replacement intent, and meaningful grouping without resolving anything.
141
- Save the text and parse it again to continue filling slots and composing.
156
+ `Tree.to_source()` simplifies structurally redundant merge layers without
157
+ resolving anything. Unfinished expressions, necessary contribution boundaries,
158
+ replacement intent, and meaningful grouping survive. Unknown keys, collection
159
+ comparisons, and sequential slot operations stay layered where needed; saving
160
+ never freezes one current result. A minimal `| {}` may remain to preserve a
161
+ dictionary program's behavior after later edits or slot reuse. The normalized
162
+ text may have a lower tier
163
+ and less resource cost than its input. Save it and parse it again to continue
164
+ filling slots and composing.
142
165
  Historical fill obligations that still need computed-key comparisons and
143
166
  unattached slots remain save-time refusals; see the
144
167
  [details](docs/DETAILS.md#save-now-finish-later).
@@ -44,6 +44,23 @@ It can be quickly tested, too:
44
44
 
45
45
  The `loads` and `load` functions return plain Python. Types include builtin Python types as well as `OrderedMultimap` (`+`-syntax) and `Template` (`yt`-string).
46
46
 
47
+ Python data can be saved as a record, without evaluating document expressions:
48
+
49
+ ```python
50
+ >>> text = yapyon.dumps({"name": "gw", "ports": [8080, 8443]})
51
+ >>> print(text, end="")
52
+ name: "gw"
53
+ ports: [8080, 8443]
54
+ >>> yapyon.loads_record(text)
55
+ {'name': 'gw', 'ports': [8080, 8443]}
56
+ ```
57
+
58
+ `dump(value, fp)` writes to an already-open text stream. `dump_safe(value, path)`
59
+ adds checked file replacement and recovery reporting; its verified file-protection
60
+ support is currently Linux-only. See [exporting Python values](docs/DETAILS.md#exporting-python-values)
61
+ for limits, permissions, recovery, and caller-owned input synchronization.
62
+ Use `Tree.to_source()` instead when unfinished expressions or slots must survive.
63
+
47
64
  Some other quick commands:
48
65
  ```
49
66
  $ python -m yapyon record examples/registry.yap # A Yapyon record
@@ -81,7 +98,7 @@ Yapyon has no ambient scope nor includes and is built to be completely auditable
81
98
 
82
99
  ## Value composition and unfinished source
83
100
 
84
- The **`0.6.0.dev0` development line** adds explicit composition and faithful
101
+ The **`0.6.0` line** adds explicit composition and faithful
85
102
  saving of unfinished layers. `|` combines complete values; `:` uses ordinary
86
103
  combination at a field, while `:=` replaces that field's complete value:
87
104
 
@@ -109,9 +126,15 @@ operands may mix. Pipes require at least a ledger, even with literal operands;
109
126
  a replacement annotation alone can remain a record. Holes retain their
110
127
  existing reference/call grammar, without pipes.
111
128
 
112
- `Tree.to_source()` preserves unfinished expressions, contribution order,
113
- replacement intent, and meaningful grouping without resolving anything.
114
- Save the text and parse it again to continue filling slots and composing.
129
+ `Tree.to_source()` simplifies structurally redundant merge layers without
130
+ resolving anything. Unfinished expressions, necessary contribution boundaries,
131
+ replacement intent, and meaningful grouping survive. Unknown keys, collection
132
+ comparisons, and sequential slot operations stay layered where needed; saving
133
+ never freezes one current result. A minimal `| {}` may remain to preserve a
134
+ dictionary program's behavior after later edits or slot reuse. The normalized
135
+ text may have a lower tier
136
+ and less resource cost than its input. Save it and parse it again to continue
137
+ filling slots and composing.
115
138
  Historical fill obligations that still need computed-key comparisons and
116
139
  unattached slots remain save-time refusals; see the
117
140
  [details](docs/DETAILS.md#save-now-finish-later).
@@ -2,15 +2,15 @@
2
2
 
3
3
  ## Status
4
4
 
5
- **Development target: `0.6.0.dev0`**, implementing specification and grammar
6
- **v0.6** for merge/source composition and unfinished persistence. This status
7
- is not a claim of publication. The lexer, parser, resolver, loader, emitter,
8
- four serializers, contracts, and trees with slots share the format's merge
9
- rules; the suite and portable corpus exercise those contracts.
10
-
11
- The development source tree passes **3129 tests**, with zero skips on Python
12
- 3.13, including **121 corpus cases**. This is local validation, not publication.
13
- The last verified published baseline remains **`0.5.3` (2026-10-25)**.
5
+ **Version `0.6.0`**, implementing specification and grammar **v0.6** for
6
+ merge/source composition and unfinished persistence, with host-value record
7
+ export. The lexer, parser, resolver, loader, emitter, four serializers,
8
+ contracts, and trees with slots share the format's merge rules; the suite and
9
+ **121 portable corpus cases** exercise those contracts. The validated source
10
+ suite executes **3770 tests**, with zero skips on Python 3.11, 3.13, and 3.14
11
+ using the supported POSIX test filesystem. Unsupported-ACL refusal and recovery
12
+ are tested separately as well. Python 3.11 is the minimum supported version.
13
+ Core runtime dependencies are the standard library.
14
14
 
15
15
  **The normative specification is published, in two documents under
16
16
  [`docs/`](./):**
@@ -370,25 +370,54 @@ written. The original tree is unchanged.
370
370
  >>> saved = draft.to_source()
371
371
  >>> print(saved, end="")
372
372
  agent:
373
- name: "base"
373
+ name: "local"
374
374
  desc: y"{name}"
375
375
  harness<chosen>: {}
376
- |
377
- name: "local"
376
+ | {}
378
377
  >>> resumed = yapyon.parse(saved, source="saved-agent.yap")
379
378
  >>> resumed["agent"]["harness"].fill(yapyon.parse('mode: "cli"'))
380
379
  >>> resumed.resolve()
381
380
  {'agent': {'name': 'local', 'desc': 'local', 'harness': {'mode': 'cli'}}}
382
381
  ```
383
382
 
384
- The pipe in the saved text retains the definition and override as distinct
385
- contributions. Saving likewise retains computed-key collisions across layers,
386
- comprehensions combined with other nonempty dictionaries, collection programs,
387
- and sequential slot operations. It preserves replacement intent and meaningful
388
- right grouping rather than collapsing them to a value that happens to work for
389
- one current filler. No lookup, environment access, function/cast/serializer,
390
- comprehension iteration, template rendering, or runtime duplicate comparison
391
- runs to produce source.
383
+ The superseded `name` disappears, but `desc` remains an expression and the
384
+ harness remains a slot. Saving uses the merge operation's structural facts to
385
+ combine known-key dictionaries, select proven winners, and remove compatible
386
+ empty-collection identities. It does not need to know what `name` resolves to
387
+ in a later composition. Earlier key spelling, name/non-name kind, entry order,
388
+ and explicit replacement intent survive.
389
+
390
+ The small `| {}` marker is intentional. A dictionary program emptied by later
391
+ edits must still behave as a program when reused as slot overrides, not become
392
+ harmless literal `{}` that a slot skips. Keeping this distinction can require
393
+ a marker even while the dictionary currently has fields. A plain dictionary
394
+ selected by an incompatible-kind merge does not acquire such history. Thus
395
+ compaction removes obsolete definitions without promising entirely pipe-free
396
+ output.
397
+
398
+ Simplification is conservative, not unconditional flattening. Computed-key
399
+ validation domains, comprehensions combined with other nonempty dictionaries,
400
+ nonempty collection comparisons, and sequential slot operations retain their
401
+ necessary layers. An uncertain child can stay layered inside an otherwise
402
+ simplified dictionary. A reset inside a sequential slot program must not become
403
+ one premerged override; an ordinary kind reset must not invent `:=`. No lookup,
404
+ environment access, function/cast/serializer, comprehension iteration, template
405
+ rendering, or runtime duplicate comparison runs to produce source.
406
+
407
+ Redundant authored pipes may disappear too. The output can therefore have a
408
+ lower syntactic tier and less resource cost; a former resource-limit refusal
409
+ need not recur. Semantic errors and later fill/edit/merge behavior still matter.
410
+ The original tree's tier and the record-only emitter's rules are unchanged:
411
+
412
+ ```python
413
+ >>> layered = yapyon.parse('1 | 2')
414
+ >>> print(layered.to_source(), end="")
415
+ 2
416
+ >>> yapyon.is_record(layered.to_source())
417
+ True
418
+ >>> yapyon.tier_of('1 | 2')
419
+ 2
420
+ ```
392
421
 
393
422
  Two states still have no faithful source spelling (SPEC §15.8):
394
423
 
@@ -409,8 +438,30 @@ remain record-only and never evaluate authored pipes to make them records.
409
438
  Data expansion/serializers consume composition into finished data instead;
410
439
  source writing preserves the unfinished program.
411
440
 
441
+ When sequential slot operations need surrounding dictionary layers, their
442
+ immediate parent retains that program identity **in memory as well as in saved
443
+ source**. Removing the parent's last field does not turn it back into harmless
444
+ literal empty overrides. Whole-value replacement with a fresh literal discards
445
+ the former program; unrelated ancestors do not acquire its history. Saving does
446
+ not introduce or repair this distinction as a side effect:
447
+
448
+ ```python
449
+ >>> program = yapyon.parse('part<base>: {config: "reset"}')
450
+ >>> program["part"].merge(yapyon.parse('config: {new: 2}'))
451
+ >>> restored = yapyon.parse(program.to_source())
452
+ >>> for candidate in (program, restored):
453
+ ... candidate["part"].remove()
454
+ ... target = yapyon.parse('target<base>: {}')
455
+ ... target["target"].merge(candidate)
456
+ ... target["target"].fill(yapyon.parse('7'))
457
+ ... print(target.resolve())
458
+ {'target': {}}
459
+ {'target': {}}
460
+ ```
461
+
412
462
  Generated source uses two-space indentation, `key: value`, `key:= value`,
413
- and standalone pipes aligned with their contribution heads. It normalizes
463
+ and pipes aligned with their contribution heads (`| {}` for a compact empty
464
+ dictionary operand). It normalizes
414
465
  layout and loses comments. Reloaded diagnostics use the saved file's positions,
415
466
  not the original template files', and handles/key-location tokens belong to
416
467
  their original tree, not to its reloaded copy.
@@ -468,6 +519,141 @@ than a round-tripper. `yapyon.emit` is the same thing as a function. A
468
519
  non-record is refused at the offending computation, with the record rule
469
520
  as the reason; authored pipes are not silently evaluated.
470
521
 
522
+ ## Exporting Python values
523
+
524
+ Use `dumps` for text, conventional `dump` for an already-open text stream, and
525
+ `dump_safe` for checked file replacement:
526
+
527
+ ```python
528
+ >>> value = {"name": "gw", "ports": [8080, 8443], "enabled": True}
529
+ >>> text = yapyon.dumps(value)
530
+ >>> print(text, end="")
531
+ name: "gw"
532
+ ports: [8080, 8443]
533
+ enabled: True
534
+ >>> yapyon.loads_record(text) == value
535
+ True
536
+ >>> import io
537
+ >>> fp = io.StringIO()
538
+ >>> yapyon.dump(value, fp)
539
+ >>> fp.getvalue() == text
540
+ True
541
+ >>> fp.closed
542
+ False
543
+ ```
544
+
545
+ All three functions share the same adaptation and canonical emitter. They write
546
+ records without environment access, function calls, merging, or expression
547
+ resolution. `Tree.to_source()` saves unfinished source; `emit()` normalizes a
548
+ record tree and preserves its authored lexemes; host export has no authored
549
+ literal spellings to preserve.
550
+
551
+ ### Data and keys
552
+
553
+ Accepted recursively: `str`, `int`, finite `float`, `bool`, `None`, `bytes`,
554
+ `list`, `dict`, and `OrderedMultimap`. Any supported value may be the root.
555
+ Order, repetitions, empty containers, `None`, zero, and `False` survive. There
556
+ is no pruning, sorting, implicit string conversion, or custom-adapter protocol.
557
+ `Template`, unresolved `Tree`, tuples, sets, bytearrays, memoryviews, and arbitrary
558
+ objects are not implicitly converted. Explicitly adapt other host objects first.
559
+
560
+ Keys remain exact strings. A plain Python dictionary uses a bare name only
561
+ when that spelling preserves the exact key; otherwise it quotes the key.
562
+ Known loaded name/non-name provenance survives. Quoted keys do not become names,
563
+ and invalid or inconsistent provenance is refused rather than silently folded.
564
+ Non-string, empty, dunder, and `@`-prefixed keys remain invalid.
565
+
566
+ Shared acyclic Python containers are accepted as independently serialized
567
+ occurrences. Reloading does not preserve their mutable identity. Actual container
568
+ cycles raise `AkanError` with the current and ancestor data paths, without
569
+ invented source coordinates. Unsupported kinds/non-string keys/options are
570
+ `TypeError`; invalid text, nonfinite numbers, invalid provenance, and exceeded
571
+ export limits are `ValueError`. Text cannot contain lone surrogates.
572
+
573
+ ### Export limits and input consistency
574
+
575
+ Each function accepts the same keyword options:
576
+
577
+ | Option | Default | Meaning |
578
+ |---|---|---|
579
+ | `max_digits` | 17,200 | Maximum decimal integer digits; at least 4,300 |
580
+ | `max_depth` | 128 | Nested container levels; root container is 1, scalar root is 0 |
581
+ | `max_size` | 4 MiB | Actual serialized UTF-8 bytes, including layout, escapes, and final newline |
582
+ | `warn` | `None` | Optional warning callback; integers above 4,300 decimal digits warn |
583
+
584
+ Limits require integers, not booleans; depth and size must be positive. `warn`
585
+ is `None` or callable. These are export-specific metrics, not resolver dependency
586
+ or expansion metrics. They are independent of CPython's decimal conversion setting
587
+ and of an eventual stream's encoding. Adaptation and shared emission are bounded
588
+ before unbounded graph expansion or output allocation. Callback failures propagate.
589
+
590
+ **The exporter does not mutate or lock its input.** Keep the entire input stable
591
+ until serialization completes. If another thread can mutate it and you need a
592
+ consistent view, use your own shared lock around saving and every mutation.
593
+ Copying data during an unsynchronized traversal is not an atomic snapshot.
594
+ Safe file replacement does not synchronize the Python input.
595
+
596
+ ### Streams and safe files
597
+
598
+ `dump(value, fp, ...)` validates/prepares complete text before one `fp.write`.
599
+ It does not close, flush, or retry the caller's stream. A reported integer short
600
+ or inconsistent count is `OSError`; a writer returning `None` follows that
601
+ protocol. Native write/encoding failures propagate. Opening a file with `"w"`
602
+ may already truncate it before `dump` runs; conventional stream output is not
603
+ atomic file replacement.
604
+
605
+ `dump_safe(value, path, ...)` accepts a string or `os.PathLike` returning a string
606
+ and writes UTF-8. Its verified protection implementation is currently **Linux-only**;
607
+ other platforms raise `OSError` with `ENOTSUP` before changing the destination.
608
+ Unrecognized filesystem access metadata, including NFSv4 ACLs, also causes a
609
+ safe refusal; verified support covers ordinary Linux mode bits and POSIX ACLs,
610
+ not every filesystem mounted on Linux. The following complete example runs
611
+ where those protections are supported:
612
+
613
+ ```python
614
+ from pathlib import Path
615
+ from tempfile import TemporaryDirectory
616
+ import yapyon
617
+
618
+ value = {"port": 8080}
619
+ with TemporaryDirectory() as directory:
620
+ path = Path(directory) / "settings.yap"
621
+ yapyon.dump_safe(value, path)
622
+ with path.open(encoding="utf-8") as fp:
623
+ restored = yapyon.load_record(fp)
624
+ print(restored)
625
+ ```
626
+
627
+ Output:
628
+
629
+ ```text
630
+ {'port': 8080}
631
+ ```
632
+
633
+ The destination is not truncated while output is prepared. A complete candidate
634
+ is written and closed inside a private `0700` staging directory; replacement
635
+ publishes it only afterward. New destinations are owner-only (`0600`). Existing
636
+ Linux ownership, permission bits, POSIX access ACLs, and security labels must be
637
+ preserved or verified equal; unsupported protections and special-mode targets
638
+ are refused rather than silently weakened. The directory keeps the candidate
639
+ private even while its final access permissions are being prepared.
640
+
641
+ Existing destination symlinks are followed and left intact; replacement affects
642
+ the selected target. Other hard links to an old inode continue naming that old
643
+ file. Detected destination/path changes cause failure rather than a blind
644
+ replacement, but these checks are not a filesystem lock or protection against
645
+ hostile last-instant pathname races. No sudden-power-loss durability is promised.
646
+
647
+ On filesystem failure the native exception is preserved and gains `recovery_path`
648
+ (a retained file path, or `None`) and explanatory exception notes. Notes identify
649
+ the actual target, failed operation, retained data, completeness, and observed or
650
+ uncertain replacement outcome. Recoverable files remain private; if local staging
651
+ fails or is incomplete, a complete private fallback is attempted when possible.
652
+ An interruption closes owned descriptors without heavy fallback retries. A rename
653
+ error is not falsely described as proof that no replacement occurred, and cleanup
654
+ errors after publication explicitly report that replacement completed. The library
655
+ does not print errors; callers decide how to show or handle them.
656
+
471
657
  ## Limits
472
658
 
473
659
  Resolution has two tiers (SPEC §5.3), and they are different numbers.
@@ -253,7 +253,9 @@ of a call — the writer uses its **canonical form**:
253
253
  value contains a newline and the block form can hold it unambiguously — that
254
254
  is, no whitespace-only-but-non-empty line, no `"""` in the content, and no
255
255
  trailing `"`. A value ending in a newline puts the closing delimiter on its
256
- own line at the anchor.
256
+ own line at the anchor. If the first nonempty content line begins with a
257
+ data space, write its first space as `\x20`, so the scanner's dedent anchor
258
+ counts only the writer's indentation, not the string's leading data.
257
259
  - **Escape only what must be escaped**: `\` and the enclosing quote, plus
258
260
  characters below U+0020 and U+007F. Everything else stays literal, so UTF-8
259
261
  remains readable — `"café"`, never `"café"`.
@@ -2117,23 +2119,58 @@ must not have a separate value-combination policy. Saving does not mutate
2117
2119
  the original tree, its keys, handles, warnings, or diagnostic provenance, or
2118
2120
  relax §15.6's requirement to fill still-needed slots at resolution.
2119
2121
 
2120
- **Preserve operations and contribution boundaries.** Write retained
2121
- contributions as explicit layers (`GRAMMAR §G6`, `§G9`). Keep each input's
2122
- identity, lexical bindings, operation order, replacement intent, and
2123
- behaviorally significant grouping. Potentially equal keys from separate
2124
- dictionaries must not become duplicate entries in one dictionary; a
2125
- same-contribution duplicate must not become a legal cross-layer merge.
2126
- Comprehensions remain comprehensions, each with its own head, clauses,
2127
- and lexical scope. Computed keys stay exact-text non-name keys; saving
2128
- never promotes them, substitutes the environment, or compares expression
2129
- spellings as key identities.
2122
+ **Simplify only where structure proves equivalence.** A source writer may
2123
+ remove redundant merge operations using the same structural facts as §15.2,
2124
+ without evaluating an expression. Ordinary dictionaries with statically known
2125
+ keys may share one contribution, retaining the earlier key's position,
2126
+ spelling, and name/non-name kind and the field's replacement intent. Matched
2127
+ values still combine by §15.2; an unresolved child may retain its own layers.
2128
+ A proven winning value or compatible empty-collection identity may replace
2129
+ its redundant merge, retaining the selected value's source. Empty values are
2130
+ not pruned, and an ordinary kind change never invents explicit replacement.
2131
+
2132
+ **A dictionary program is not necessarily a literal dictionary.** In particular,
2133
+ a literal empty slot override is harmless (§15), while a composed dictionary
2134
+ program that yields an empty dictionary still applies its ordinary kind.
2135
+ Preserve that distinction even for a currently nonempty dictionary: subsequent
2136
+ edits may remove its last field before it is reused as slot overrides. A
2137
+ normalized dictionary program may retain a minimal `| {}` marker for this
2138
+ reason. The immediate parent of a selected slot's sequential overrides or
2139
+ pending combination retains its enclosing program identity when the tree is
2140
+ edited, not only when it is saved. Removing its last field does not retroactively
2141
+ make that parent harmless literal empty overrides. Whole-value replacement with
2142
+ a fresh literal discards the former program; unrelated ancestors do not acquire
2143
+ its history. Original and reparsed trees must agree on this distinction.
2144
+ A merge that structurally selects a literal dictionary must not gain history
2145
+ merely because its input used a pipe. Structural projection and retained history
2146
+ together determine whether a dictionary-program marker is needed.
2147
+
2148
+ **Preserve necessary operations and contribution boundaries.** Write retained
2149
+ contributions as explicit layers (`GRAMMAR §G6`, `§G9`) wherever their
2150
+ boundaries still affect subsequent behavior. Keep each input's validation
2151
+ domain, lexical bindings, operation order, replacement intent, and behaviorally
2152
+ significant grouping. Potentially equal keys from separate dictionaries must
2153
+ not become duplicate entries in one dictionary; a same-contribution duplicate
2154
+ must not become a legal cross-layer merge. Pending key locations and their
2155
+ edit/removal behavior survive even when an expression looks constant.
2156
+ Comprehensions remain comprehensions, each with its own head, clauses, and
2157
+ lexical scope. Computed keys stay exact-text non-name keys; saving never
2158
+ promotes them, substitutes the environment, or compares expression spellings
2159
+ as key identities. A rewrite not established safe leaves the layers in place;
2160
+ it is not a new save-time refusal.
2130
2161
 
2131
2162
  A field's separator applies to its complete right-hand value. Preserve
2132
2163
  right-grouped merge programs rather than flattening them as though merge
2133
- were associative. For a postfix on a merge result, parenthesize the whole
2134
- result rather than attaching the postfix only to the right operand. An
2135
- authored pipe remains computation even with literal operands: source
2136
- saving does not evaluate it to lower its tier.
2164
+ were associative. For a postfix on a retained merge result, parenthesize the
2165
+ whole result rather than attaching the postfix only to the right operand.
2166
+ An authored pipe makes its original document computation, even with literal
2167
+ operands (§16.5). Source normalization may remove a structurally redundant
2168
+ pipe and thereby lower the **output's** syntactic tier. It does not change
2169
+ whether the original source is a record or permit a record emitter to evaluate
2170
+ that source. Removing unnecessary work may also avoid a former resource-limit
2171
+ refusal; identical resource cost or diagnostics are not promised. Semantic
2172
+ errors, including duplicate-key, missing-reference, and retained unfilled-slot
2173
+ failures, must still survive equivalent continuations.
2137
2174
 
2138
2175
  **Sequential slot overrides may need surrounding dictionary layers.** A
2139
2176
  labeled field contributes its complete RHS as one dictionary value. Several
@@ -2189,8 +2226,9 @@ resolution; a refused tree may still resolve in memory.
2189
2226
 
2190
2227
  **Spelling and layout.** Keep literal lexemes and required expression
2191
2228
  spellings. The initial generated style uses two-space indentation, ordinary
2192
- `key: value`, replacement `key:= value`, and a standalone pipe aligned with
2193
- its contribution heads, without automatic blank lines around it. Input
2229
+ `key: value`, replacement `key:= value`, and pipes aligned with their contribution heads, without automatic blank
2230
+ lines around them. An empty dictionary operand may share the pipe's line as
2231
+ `| {}`, including a minimal dictionary-program marker. Input
2194
2232
  whitespace is wider (`GRAMMAR §G4.10`). A grouped operand uses valid flow
2195
2233
  forms inside parentheses, where indentation is not syntax. Shared expression
2196
2234
  spelling applies there. Layout and comments need not survive (§4.4);
@@ -2349,9 +2387,10 @@ matching. The same value-kind matrix applies to literal, copied, called,
2349
2387
  and constructed results. Retained comprehensions remain eager; selecting
2350
2388
  an early item must not hide a later error. A whole discarded contribution
2351
2389
  need not be evaluated merely because it was written as a comprehension.
2352
- Save retained contributions as unevaluated layers under §15.8, preserving
2353
- their independent scopes and later behavior rather than flattening or
2354
- materializing them.
2390
+ Save necessary deferred contributions as unevaluated layers under §15.8,
2391
+ preserving their independent scopes and later behavior rather than
2392
+ materializing generated entries. Structurally redundant surrounding dictionary
2393
+ operations may simplify without combining comprehension validation domains.
2355
2394
 
2356
2395
  Comprehensions and expression operators require at least the ledger tier.
2357
2396
  Environment access, yt, slots, and declared functions raise the tier exactly
@@ -2396,7 +2435,8 @@ calls contribute established fresh data (§5.6), not symbols to paste into
2396
2435
  a different scope. Unknown result-producing operands stay deferred, and
2397
2436
  use the **same eventual-kind matrix**, not a second policy based on parser
2398
2437
  classes. Pending dependencies use §5.3's existing fixpoint and cycle path.
2399
- Source saving preserves these operations without executing them (§15.8).
2438
+ Source saving preserves necessary operations without executing them and may
2439
+ remove structurally redundant operations under §15.8.
2400
2440
 
2401
2441
  An explicit pipe requires at least a ledger, even with literal operands.
2402
2442
  A replacement annotation alone does not (§12). This value-expression