basedpl 0.1.85__tar.gz → 0.1.86__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.

Potentially problematic release.


This version of basedpl might be problematic. Click here for more details.

Files changed (546) hide show
  1. {basedpl-0.1.85 → basedpl-0.1.86}/Cargo.lock +26 -26
  2. {basedpl-0.1.85 → basedpl-0.1.86}/Cargo.toml +4 -4
  3. {basedpl-0.1.85 → basedpl-0.1.86}/DEV.md +26 -32
  4. {basedpl-0.1.85 → basedpl-0.1.86}/PKG-INFO +1 -1
  5. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/evaluation.qmd +3 -3
  6. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/foundations.qmd +3 -1
  7. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/dot.qmd +26 -0
  8. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quad-colon.qmd +2 -0
  9. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/llms.txt +2 -2
  10. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/python.ipynb +58 -11
  11. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/01_basics.ipynb +3 -3
  12. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/syntax.qmd +2 -0
  13. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/explain.qmd +3 -4
  14. {basedpl-0.1.85 → basedpl-0.1.86}/py/src/lib.rs +32 -49
  15. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/__init__.py +5 -1
  16. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/bpltests.py +3 -3
  17. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/functions.py +6 -4
  18. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/printing.py +22 -5
  19. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/syntax.py +4 -2
  20. {basedpl-0.1.85 → basedpl-0.1.86}/src/array.rs +12 -14
  21. {basedpl-0.1.85 → basedpl-0.1.86}/src/batch.rs +9 -24
  22. {basedpl-0.1.85 → basedpl-0.1.86}/src/distribution.rs +18 -9
  23. {basedpl-0.1.85 → basedpl-0.1.86}/src/error.rs +3 -5
  24. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/assign.rs +35 -46
  25. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/binder.rs +181 -291
  26. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/bindings.rs +15 -149
  27. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/agenda.rs +1 -32
  28. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/axes.rs +16 -1
  29. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/folds.rs +4 -1
  30. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators.rs +1 -51
  31. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/rewrite.rs +12 -23
  32. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/session.rs +53 -97
  33. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval.rs +65 -31
  34. {basedpl-0.1.85 → basedpl-0.1.86}/src/events.rs +1 -0
  35. {basedpl-0.1.85 → basedpl-0.1.86}/src/fusion.rs +15 -17
  36. {basedpl-0.1.85 → basedpl-0.1.86}/src/number.rs +7 -9
  37. {basedpl-0.1.85 → basedpl-0.1.86}/src/pervasive.rs +4 -2
  38. {basedpl-0.1.85 → basedpl-0.1.86}/src/plan.rs +7 -6
  39. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/indexing.rs +9 -38
  40. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/structural.rs +23 -0
  41. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/blocks/grouping.rs +2 -2
  42. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/blocks.rs +4 -3
  43. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/trace.rs +5 -3
  44. {basedpl-0.1.85 → basedpl-0.1.86}/src/program.rs +1 -1
  45. {basedpl-0.1.85 → basedpl-0.1.86}/src/syntax.rs +65 -26
  46. {basedpl-0.1.85 → basedpl-0.1.86}/src/transform.rs +16 -22
  47. {basedpl-0.1.85 → basedpl-0.1.86}/testkit/src/lib.rs +11 -0
  48. {basedpl-0.1.85 → basedpl-0.1.86}/testkit/src/reference.rs +2 -8
  49. {basedpl-0.1.85 → basedpl-0.1.86}/testkit/src/timing.rs +24 -16
  50. {basedpl-0.1.85 → basedpl-0.1.86}/tests/core.rs +31 -0
  51. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/april_mathish.bpl +7 -0
  52. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/core.bpl +95 -19
  53. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference.rs +5 -5
  54. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/README.md +1 -1
  55. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/arrays.bpl +0 -21
  56. basedpl-0.1.86/tests/speed/calls.bpl +12 -0
  57. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/growth.bpl +19 -19
  58. basedpl-0.1.86/tests/speed/keyed.bpl +28 -0
  59. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/maps.bpl +3 -13
  60. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/steps.bpl +10 -32
  61. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/structure.bpl +7 -0
  62. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/tables.bpl +2 -2
  63. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed.rs +14 -15
  64. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_api.py +60 -11
  65. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_bpltests.py +11 -0
  66. basedpl-0.1.85/src/eval/tree.rs +0 -855
  67. basedpl-0.1.85/tests/speed/calls.bpl +0 -21
  68. {basedpl-0.1.85 → basedpl-0.1.86}/.cargo/config.toml +0 -0
  69. {basedpl-0.1.85 → basedpl-0.1.86}/.config/nextest.toml +0 -0
  70. {basedpl-0.1.85 → basedpl-0.1.86}/.gitattributes +0 -0
  71. {basedpl-0.1.85 → basedpl-0.1.86}/.github/workflows/ci.yml +0 -0
  72. {basedpl-0.1.85 → basedpl-0.1.86}/.github/workflows/docs.yml +0 -0
  73. {basedpl-0.1.85 → basedpl-0.1.86}/.github/workflows/test.yml +0 -0
  74. {basedpl-0.1.85 → basedpl-0.1.86}/.gitignore +0 -0
  75. {basedpl-0.1.85 → basedpl-0.1.86}/.node-version +0 -0
  76. {basedpl-0.1.85 → basedpl-0.1.86}/CONTRIBUTING.md +0 -0
  77. {basedpl-0.1.85 → basedpl-0.1.86}/LICENSE +0 -0
  78. {basedpl-0.1.85 → basedpl-0.1.86}/README.md +0 -0
  79. {basedpl-0.1.85 → basedpl-0.1.86}/TARGET.md +0 -0
  80. {basedpl-0.1.85 → basedpl-0.1.86}/_config.yml +0 -0
  81. {basedpl-0.1.85 → basedpl-0.1.86}/_layouts/default.html +0 -0
  82. {basedpl-0.1.85 → basedpl-0.1.86}/build.rs +0 -0
  83. {basedpl-0.1.85 → basedpl-0.1.86}/editors/jetbrains/BPL.tmbundle/Syntaxes/bpl.tmLanguage.json +0 -0
  84. {basedpl-0.1.85 → basedpl-0.1.86}/editors/jetbrains/BPL.tmbundle/Syntaxes/hpl.tmLanguage.json +0 -0
  85. {basedpl-0.1.85 → basedpl-0.1.86}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
  86. {basedpl-0.1.85 → basedpl-0.1.86}/editors/jetbrains/BPL.xml +0 -0
  87. {basedpl-0.1.85 → basedpl-0.1.86}/editors/jetbrains/README.md +0 -0
  88. {basedpl-0.1.85 → basedpl-0.1.86}/editors/macos/BasedPL-de.txt +0 -0
  89. {basedpl-0.1.85 → basedpl-0.1.86}/editors/macos/BasedPL-es.txt +0 -0
  90. {basedpl-0.1.85 → basedpl-0.1.86}/editors/macos/BasedPL-fr.txt +0 -0
  91. {basedpl-0.1.85 → basedpl-0.1.86}/editors/macos/BasedPL-uk.txt +0 -0
  92. {basedpl-0.1.85 → basedpl-0.1.86}/editors/macos/BasedPL-us.txt +0 -0
  93. {basedpl-0.1.85 → basedpl-0.1.86}/editors/vim/ftdetect/bpl.vim +0 -0
  94. {basedpl-0.1.85 → basedpl-0.1.86}/editors/vim/syntax/bpl.vim +0 -0
  95. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/README.md +0 -0
  96. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/build.ps1 +0 -0
  97. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/install.ps1 +0 -0
  98. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/keyboard.c +0 -0
  99. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/keyboard.def +0 -0
  100. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/keyboard.rc +0 -0
  101. {basedpl-0.1.85 → basedpl-0.1.86}/editors/windows/layout.h +0 -0
  102. {basedpl-0.1.85 → basedpl-0.1.86}/image/Cargo.toml +0 -0
  103. {basedpl-0.1.85 → basedpl-0.1.86}/image/src/codecs.rs +0 -0
  104. {basedpl-0.1.85 → basedpl-0.1.86}/image/src/imageio.rs +0 -0
  105. {basedpl-0.1.85 → basedpl-0.1.86}/image/src/lib.rs +0 -0
  106. {basedpl-0.1.85 → basedpl-0.1.86}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
  107. {basedpl-0.1.85 → basedpl-0.1.86}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
  108. {basedpl-0.1.85 → basedpl-0.1.86}/index_files/figure-html/cell-17-output-1.svg +0 -0
  109. {basedpl-0.1.85 → basedpl-0.1.86}/index_files/figure-html/cell-18-output-1.svg +0 -0
  110. {basedpl-0.1.85 → basedpl-0.1.86}/jit/Cargo.toml +0 -0
  111. {basedpl-0.1.85 → basedpl-0.1.86}/jit/src/lib.rs +0 -0
  112. {basedpl-0.1.85 → basedpl-0.1.86}/lib/LICENSE-april +0 -0
  113. {basedpl-0.1.85 → basedpl-0.1.86}/lib/README.md +0 -0
  114. {basedpl-0.1.85 → basedpl-0.1.86}/lib/array.bpl +0 -0
  115. {basedpl-0.1.85 → basedpl-0.1.86}/lib/dyalog.bpl +0 -0
  116. {basedpl-0.1.85 → basedpl-0.1.86}/lib/graph.bpl +0 -0
  117. {basedpl-0.1.85 → basedpl-0.1.86}/lib/numeric.bpl +0 -0
  118. {basedpl-0.1.85 → basedpl-0.1.86}/lib/power.bpl +0 -0
  119. {basedpl-0.1.85 → basedpl-0.1.86}/lib/regex.bpl +0 -0
  120. {basedpl-0.1.85 → basedpl-0.1.86}/lib/string.bpl +0 -0
  121. {basedpl-0.1.85 → basedpl-0.1.86}/lib/tree.bpl +0 -0
  122. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/.gitignore +0 -0
  123. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/_quarto.yml +0 -0
  124. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/arrays.ipynb +0 -0
  125. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/assignment.ipynb +0 -0
  126. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/autodiff.qmd +0 -0
  127. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/bpl.xml +0 -0
  128. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/bqn.xml +0 -0
  129. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/bracket-types.ipynb +0 -0
  130. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/cli.qmd +0 -0
  131. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/comparison.qmd +0 -0
  132. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/composition.qmd +0 -0
  133. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/data.ipynb +0 -0
  134. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/dfns.ipynb +0 -0
  135. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/distributions.ipynb +0 -0
  136. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/driver.js +0 -0
  137. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/dyalog.ipynb +0 -0
  138. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/dyalog.xml +0 -0
  139. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/fonts/BQN386B.woff2 +0 -0
  140. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/fonts/README.md +0 -0
  141. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/fonts.css +0 -0
  142. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/attractor.bpl +0 -0
  143. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/boids.bpl +0 -0
  144. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/dragon.bpl +0 -0
  145. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/flow.bpl +0 -0
  146. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/mandelbrot.bpl +0 -0
  147. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/mandelbrot32.bpl +0 -0
  148. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/orbits.bpl +0 -0
  149. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/phyllotaxis.bpl +0 -0
  150. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/prefs.bpl +0 -0
  151. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery/reaction.bpl +0 -0
  152. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/gallery.qmd +0 -0
  153. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/getting-started.ipynb +0 -0
  154. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/_metadata.yml +0 -0
  155. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/alpha-underbar.qmd +0 -0
  156. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/alpha.qmd +0 -0
  157. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/at.qmd +0 -0
  158. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/backslash-bar.qmd +0 -0
  159. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/backslash.qmd +0 -0
  160. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/braces.qmd +0 -0
  161. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/brackets.qmd +0 -0
  162. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/bullet.qmd +0 -0
  163. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-backslash.qmd +0 -0
  164. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-bar.qmd +0 -0
  165. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-diaeresis.qmd +0 -0
  166. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-divide.qmd +0 -0
  167. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-slash.qmd +0 -0
  168. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-star.qmd +0 -0
  169. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-stile.qmd +0 -0
  170. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle-times.qmd +0 -0
  171. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/circle.qmd +0 -0
  172. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/colon.qmd +0 -0
  173. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/comma-bar.qmd +0 -0
  174. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/comma.qmd +0 -0
  175. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/del-diaeresis.qmd +0 -0
  176. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/del-stile.qmd +0 -0
  177. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/del.qmd +0 -0
  178. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/delta-stile.qmd +0 -0
  179. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/diaeresis.qmd +0 -0
  180. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/diamond-underbar.qmd +0 -0
  181. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/diamond.qmd +0 -0
  182. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/domino.qmd +0 -0
  183. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/down-arrow.qmd +0 -0
  184. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/down-shoe.qmd +0 -0
  185. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/down-tack.qmd +0 -0
  186. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/downstile.qmd +0 -0
  187. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/epsilon-underbar.qmd +0 -0
  188. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/epsilon.qmd +0 -0
  189. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/equal-underbar-slash.qmd +0 -0
  190. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/equal-underbar.qmd +0 -0
  191. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/equals.qmd +0 -0
  192. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/error-guard.qmd +0 -0
  193. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/exclamation.qmd +0 -0
  194. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/greater-than-or-equal.qmd +0 -0
  195. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/greater-than.qmd +0 -0
  196. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/hash.qmd +0 -0
  197. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/hydrant.qmd +0 -0
  198. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/infinity.qmd +0 -0
  199. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/inverted-question.qmd +0 -0
  200. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/iota-underbar.qmd +0 -0
  201. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/iota.qmd +0 -0
  202. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/jot-diaeresis.qmd +0 -0
  203. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/jot.qmd +0 -0
  204. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/lamp.qmd +0 -0
  205. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/left-arrow.qmd +0 -0
  206. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/left-shoe-underbar.qmd +0 -0
  207. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/left-shoe.qmd +0 -0
  208. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/left-tack.qmd +0 -0
  209. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/left-tail-arrow.qmd +0 -0
  210. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/less-than-or-equal.qmd +0 -0
  211. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/less-than.qmd +0 -0
  212. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/minus.qmd +0 -0
  213. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/not-equals.qmd +0 -0
  214. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/obelus.qmd +0 -0
  215. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/omega-underbar.qmd +0 -0
  216. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/omega.qmd +0 -0
  217. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/overbar.qmd +0 -0
  218. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/parentheses.qmd +0 -0
  219. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/partial.qmd +0 -0
  220. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/pi.qmd +0 -0
  221. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/plus.qmd +0 -0
  222. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quad-diamond.qmd +0 -0
  223. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quad-equal.qmd +0 -0
  224. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quad-jot.qmd +0 -0
  225. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quad.qmd +0 -0
  226. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/question.qmd +0 -0
  227. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/quote.qmd +0 -0
  228. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/radical.qmd +0 -0
  229. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/rho.qmd +0 -0
  230. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/right-arrow-from-bar.qmd +0 -0
  231. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/right-left-arrows.qmd +0 -0
  232. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/right-shoe.qmd +0 -0
  233. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/right-tack.qmd +0 -0
  234. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/right-tail-arrow.qmd +0 -0
  235. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/slash-bar.qmd +0 -0
  236. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/slash.qmd +0 -0
  237. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/squad.qmd +0 -0
  238. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/star-diaeresis.qmd +0 -0
  239. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/star.qmd +0 -0
  240. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/stile-tilde.qmd +0 -0
  241. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/stile.qmd +0 -0
  242. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/superscript-b.qmd +0 -0
  243. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/superscript-minus.qmd +0 -0
  244. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/thorn.qmd +0 -0
  245. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/tilde-diaeresis.qmd +0 -0
  246. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/tilde.qmd +0 -0
  247. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/times.qmd +0 -0
  248. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/tricolon.qmd +0 -0
  249. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/up-arrow.qmd +0 -0
  250. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/up-down-arrow.qmd +0 -0
  251. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/up-shoe.qmd +0 -0
  252. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/up-tack.qmd +0 -0
  253. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/upstile.qmd +0 -0
  254. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/vee-bar.qmd +0 -0
  255. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/vee.qmd +0 -0
  256. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/wedge-bar.qmd +0 -0
  257. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/wedge.qmd +0 -0
  258. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs/zilde.qmd +0 -0
  259. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs-study.qmd +0 -0
  260. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/glyphs.qmd +0 -0
  261. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/hanzi-notation-zh.ipynb +0 -0
  262. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/hanzi-notation.ipynb +0 -0
  263. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/hpl.xml +0 -0
  264. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/index-notation.qmd +0 -0
  265. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/index.ipynb +0 -0
  266. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/indexing.ipynb +0 -0
  267. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/introspection.ipynb +0 -0
  268. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/keyboard.qmd +0 -0
  269. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/keyed.ipynb +0 -0
  270. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/magics.ipynb +0 -0
  271. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/mathish.qmd +0 -0
  272. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/modules.qmd +0 -0
  273. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/nbdev.yml +0 -0
  274. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/notebooks.ipynb +0 -0
  275. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/numbers.qmd +0 -0
  276. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/overview.ipynb +0 -0
  277. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/papers/aplwiki-arrays.md +0 -0
  278. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/papers/brickman-depth-1-scalars.md +0 -0
  279. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/papers/mercer-based-system.md +0 -0
  280. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/performance.qmd +0 -0
  281. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground/bpl.js +0 -0
  282. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground/gallery.js +0 -0
  283. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground/monaco-worker.js +0 -0
  284. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground/page.js +0 -0
  285. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground/worker.js +0 -0
  286. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/playground.qmd +0 -0
  287. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/plot.ipynb +0 -0
  288. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/principles.ipynb +0 -0
  289. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/processes.qmd +0 -0
  290. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/puppy.jpg +0 -0
  291. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/regex.ipynb +0 -0
  292. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/repl.qmd +0 -0
  293. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/scripts.ipynb +0 -0
  294. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/sidebar.yml +0 -0
  295. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/strings.ipynb +0 -0
  296. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/02_functions.ipynb +0 -0
  297. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/03_operators.ipynb +0 -0
  298. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/04_nested-arrays.ipynb +0 -0
  299. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/05_searching-indexing.ipynb +0 -0
  300. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/06_rearranging-arrays.ipynb +0 -0
  301. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/study/07_numerical-tools.ipynb +0 -0
  302. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/style.qmd +0 -0
  303. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/styles.css +0 -0
  304. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/_metadata.yml +0 -0
  305. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/c.qmd +0 -0
  306. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/canvas.qmd +0 -0
  307. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/constants.qmd +0 -0
  308. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/copy.qmd +0 -0
  309. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/csv.qmd +0 -0
  310. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/date.qmd +0 -0
  311. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/decompose.qmd +0 -0
  312. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/deflate.qmd +0 -0
  313. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/delay.qmd +0 -0
  314. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/detach.qmd +0 -0
  315. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/distribution.qmd +0 -0
  316. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/edge.qmd +0 -0
  317. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/element.qmd +0 -0
  318. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/ex.qmd +0 -0
  319. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/fetch.qmd +0 -0
  320. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/float.qmd +0 -0
  321. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/hash.qmd +0 -0
  322. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/host.qmd +0 -0
  323. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/image.qmd +0 -0
  324. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/index.qmd +0 -0
  325. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/js.qmd +0 -0
  326. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/json.qmd +0 -0
  327. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/literal.qmd +0 -0
  328. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/load.qmd +0 -0
  329. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/memory.qmd +0 -0
  330. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/metadata.qmd +0 -0
  331. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/mime.qmd +0 -0
  332. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/mkdir.qmd +0 -0
  333. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/nc.qmd +0 -0
  334. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/nget.qmd +0 -0
  335. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/nl.qmd +0 -0
  336. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/normalize.qmd +0 -0
  337. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/nput.qmd +0 -0
  338. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/path.qmd +0 -0
  339. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/plot.qmd +0 -0
  340. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/prefs.qmd +0 -0
  341. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/r.qmd +0 -0
  342. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/rand.qmd +0 -0
  343. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/readdir.qmd +0 -0
  344. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/remove.qmd +0 -0
  345. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/rename.qmd +0 -0
  346. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/replace.qmd +0 -0
  347. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/signal.qmd +0 -0
  348. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/special.qmd +0 -0
  349. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/src.qmd +0 -0
  350. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/storage.qmd +0 -0
  351. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/svg.qmd +0 -0
  352. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/time.qmd +0 -0
  353. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/ucs.qmd +0 -0
  354. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/uuid.qmd +0 -0
  355. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/vfi.qmd +0 -0
  356. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system/xml.qmd +0 -0
  357. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/system-functions.qmd +0 -0
  358. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/terms.qmd +0 -0
  359. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/web.ipynb +0 -0
  360. {basedpl-0.1.85 → basedpl-0.1.86}/nbs/xml.ipynb +0 -0
  361. {basedpl-0.1.85 → basedpl-0.1.86}/package-lock.json +0 -0
  362. {basedpl-0.1.85 → basedpl-0.1.86}/package.json +0 -0
  363. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/README.md +0 -0
  364. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/aplcart.jsonl +0 -0
  365. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/april.jsonl +0 -0
  366. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/bqn.jsonl +0 -0
  367. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/core.jsonl +0 -0
  368. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/dyalog.jsonl +0 -0
  369. {basedpl-0.1.85 → basedpl-0.1.86}/provenance/ngn.jsonl +0 -0
  370. {basedpl-0.1.85 → basedpl-0.1.86}/py/Cargo.toml +0 -0
  371. {basedpl-0.1.85 → basedpl-0.1.86}/py/build.rs +0 -0
  372. {basedpl-0.1.85 → basedpl-0.1.86}/pyproject.toml +0 -0
  373. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/_modidx.py +0 -0
  374. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/__init__.py +0 -0
  375. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/fonts/BQN386B.ttf +0 -0
  376. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/fonts/LICENSE-BQN386 +0 -0
  377. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/fonts/LICENSE-SAX2 +0 -0
  378. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/fonts/SAX2B.ttf +0 -0
  379. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
  380. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
  381. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +0 -0
  382. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  383. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
  384. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
  385. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
  386. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +0 -0
  387. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  388. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
  389. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
  390. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
  391. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +0 -0
  392. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  393. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
  394. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
  395. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
  396. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +0 -0
  397. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  398. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
  399. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
  400. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
  401. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +0 -0
  402. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  403. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
  404. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/bpl.tmLanguage.json +0 -0
  405. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/SAX2B.woff2 +0 -0
  406. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/bpl-editor.js +0 -0
  407. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/input.js +0 -0
  408. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/language.js +0 -0
  409. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/layout.json +0 -0
  410. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/browser/lb.js +0 -0
  411. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/dyalog.py +0 -0
  412. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/editors.py +0 -0
  413. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/font.py +0 -0
  414. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/fonts.css +0 -0
  415. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/hpl.tmLanguage.json +0 -0
  416. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/install.py +0 -0
  417. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/ipython.py +0 -0
  418. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/keyboards.json +0 -0
  419. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/keyboards.py +0 -0
  420. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/notebook_runner.py +0 -0
  421. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/notebooks.py +0 -0
  422. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/reference.py +0 -0
  423. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/windows_keyboard.py +0 -0
  424. {basedpl-0.1.85 → basedpl-0.1.86}/python/basedpl/worker.py +0 -0
  425. {basedpl-0.1.85 → basedpl-0.1.86}/rustfmt.toml +0 -0
  426. {basedpl-0.1.85 → basedpl-0.1.86}/src/agreement.rs +0 -0
  427. {basedpl-0.1.85 → basedpl-0.1.86}/src/array/storage.rs +0 -0
  428. {basedpl-0.1.85 → basedpl-0.1.86}/src/array/text.rs +0 -0
  429. {basedpl-0.1.85 → basedpl-0.1.86}/src/cancel.rs +0 -0
  430. {basedpl-0.1.85 → basedpl-0.1.86}/src/canvas.js +0 -0
  431. {basedpl-0.1.85 → basedpl-0.1.86}/src/canvas.rs +0 -0
  432. {basedpl-0.1.85 → basedpl-0.1.86}/src/csv.rs +0 -0
  433. {basedpl-0.1.85 → basedpl-0.1.86}/src/data.rs +0 -0
  434. {basedpl-0.1.85 → basedpl-0.1.86}/src/date.rs +0 -0
  435. {basedpl-0.1.85 → basedpl-0.1.86}/src/derivative/tape.rs +0 -0
  436. {basedpl-0.1.85 → basedpl-0.1.86}/src/derivative.rs +0 -0
  437. {basedpl-0.1.85 → basedpl-0.1.86}/src/display.rs +0 -0
  438. {basedpl-0.1.85 → basedpl-0.1.86}/src/element.rs +0 -0
  439. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/dissect.rs +0 -0
  440. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/each.rs +0 -0
  441. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/key.rs +0 -0
  442. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/power.rs +0 -0
  443. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/products.rs +0 -0
  444. {basedpl-0.1.85 → basedpl-0.1.86}/src/eval/operators/rank.rs +0 -0
  445. {basedpl-0.1.85 → basedpl-0.1.86}/src/execution.rs +0 -0
  446. {basedpl-0.1.85 → basedpl-0.1.86}/src/explain.rs +0 -0
  447. {basedpl-0.1.85 → basedpl-0.1.86}/src/files.rs +0 -0
  448. {basedpl-0.1.85 → basedpl-0.1.86}/src/host.rs +0 -0
  449. {basedpl-0.1.85 → basedpl-0.1.86}/src/host_web.rs +0 -0
  450. {basedpl-0.1.85 → basedpl-0.1.86}/src/image.rs +0 -0
  451. {basedpl-0.1.85 → basedpl-0.1.86}/src/inspection.rs +0 -0
  452. {basedpl-0.1.85 → basedpl-0.1.86}/src/js.rs +0 -0
  453. {basedpl-0.1.85 → basedpl-0.1.86}/src/json.rs +0 -0
  454. {basedpl-0.1.85 → basedpl-0.1.86}/src/keyed.rs +0 -0
  455. {basedpl-0.1.85 → basedpl-0.1.86}/src/lib.rs +0 -0
  456. {basedpl-0.1.85 → basedpl-0.1.86}/src/name.rs +0 -0
  457. {basedpl-0.1.85 → basedpl-0.1.86}/src/number_theory.rs +0 -0
  458. {basedpl-0.1.85 → basedpl-0.1.86}/src/optimize.rs +0 -0
  459. {basedpl-0.1.85 → basedpl-0.1.86}/src/pervasive/fold.rs +0 -0
  460. {basedpl-0.1.85 → basedpl-0.1.86}/src/pervasive/product.rs +0 -0
  461. {basedpl-0.1.85 → basedpl-0.1.86}/src/pervasive/scan.rs +0 -0
  462. {basedpl-0.1.85 → basedpl-0.1.86}/src/plot.rs +0 -0
  463. {basedpl-0.1.85 → basedpl-0.1.86}/src/polynomial.rs +0 -0
  464. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/facts.rs +0 -0
  465. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/inverse.rs +0 -0
  466. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/numeric.rs +0 -0
  467. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive/search.rs +0 -0
  468. {basedpl-0.1.85 → basedpl-0.1.86}/src/primitive.rs +0 -0
  469. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/blocks/items.rs +0 -0
  470. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/blocks/record.rs +0 -0
  471. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/contraction.rs +0 -0
  472. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/layout.rs +0 -0
  473. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/run.rs +0 -0
  474. {basedpl-0.1.85 → basedpl-0.1.86}/src/program/verify.rs +0 -0
  475. {basedpl-0.1.85 → basedpl-0.1.86}/src/protocol.rs +0 -0
  476. {basedpl-0.1.85 → basedpl-0.1.86}/src/regex.rs +0 -0
  477. {basedpl-0.1.85 → basedpl-0.1.86}/src/search.rs +0 -0
  478. {basedpl-0.1.85 → basedpl-0.1.86}/src/selection.rs +0 -0
  479. {basedpl-0.1.85 → basedpl-0.1.86}/src/settings.rs +0 -0
  480. {basedpl-0.1.85 → basedpl-0.1.86}/src/symbols.rs +0 -0
  481. {basedpl-0.1.85 → basedpl-0.1.86}/src/system.rs +0 -0
  482. {basedpl-0.1.85 → basedpl-0.1.86}/src/xml.rs +0 -0
  483. {basedpl-0.1.85 → basedpl-0.1.86}/testkit/Cargo.toml +0 -0
  484. {basedpl-0.1.85 → basedpl-0.1.86}/tests/acceptance/held_out.bpl +0 -0
  485. {basedpl-0.1.85 → basedpl-0.1.86}/tests/common/mod.rs +0 -0
  486. {basedpl-0.1.85 → basedpl-0.1.86}/tests/conftest.py +0 -0
  487. {basedpl-0.1.85 → basedpl-0.1.86}/tests/derivatives.rs +0 -0
  488. {basedpl-0.1.85 → basedpl-0.1.86}/tests/explain.rs +0 -0
  489. {basedpl-0.1.85 → basedpl-0.1.86}/tests/highlighting.mjs +0 -0
  490. {basedpl-0.1.85 → basedpl-0.1.86}/tests/input.mjs +0 -0
  491. {basedpl-0.1.85 → basedpl-0.1.86}/tests/jit.rs +0 -0
  492. {basedpl-0.1.85 → basedpl-0.1.86}/tests/ratchet.rs +0 -0
  493. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-aplcart +0 -0
  494. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-april +0 -0
  495. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-bqn +0 -0
  496. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-bqncrate +0 -0
  497. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-dyalog +0 -0
  498. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/LICENSE-ngn +0 -0
  499. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/README.md +0 -0
  500. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/aplcart.bpl +0 -0
  501. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/aplcart_mathish.bpl +0 -0
  502. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/april.bpl +0 -0
  503. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/bqn.bpl +0 -0
  504. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/core_mathish.bpl +0 -0
  505. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/distributions.bpl +0 -0
  506. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/dyalog.bpl +0 -0
  507. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/dyalog_mathish.bpl +0 -0
  508. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/graphics.bpl +0 -0
  509. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/lib.bpl +0 -0
  510. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/lib_mathish.bpl +0 -0
  511. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/ngn.bpl +0 -0
  512. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/ngn_mathish.bpl +0 -0
  513. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/regex.bpl +0 -0
  514. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/static-int32.bpl +0 -0
  515. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/static.bpl +0 -0
  516. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/support/april.bpl +0 -0
  517. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/support/avl.bpl +0 -0
  518. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/support/redblack.bpl +0 -0
  519. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/support/sbst.bpl +0 -0
  520. {basedpl-0.1.85 → basedpl-0.1.86}/tests/reference/support/splay.bpl +0 -0
  521. {basedpl-0.1.85 → basedpl-0.1.86}/tests/settings.rs +0 -0
  522. {basedpl-0.1.85 → basedpl-0.1.86}/tests/skipped.txt +0 -0
  523. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/bodies.bpl +0 -0
  524. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/comparisons_mathish.bpl +0 -0
  525. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/images.bpl +0 -0
  526. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/models.bpl +0 -0
  527. {basedpl-0.1.85 → basedpl-0.1.86}/tests/speed/moving.bpl +0 -0
  528. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_basic.py +0 -0
  529. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_glyphs.py +0 -0
  530. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_graphics.py +0 -0
  531. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_install.py +0 -0
  532. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_instructions.py +0 -0
  533. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_ipython.py +0 -0
  534. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_kernel.py +0 -0
  535. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_keylayout.py +0 -0
  536. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_notebooks.py +0 -0
  537. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_orchestration.py +0 -0
  538. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_reference.py +0 -0
  539. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_repl.py +0 -0
  540. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_windows_keyboard.py +0 -0
  541. {basedpl-0.1.85 → basedpl-0.1.86}/tests/test_worker.py +0 -0
  542. {basedpl-0.1.85 → basedpl-0.1.86}/tests/wasm-pkg.mjs +0 -0
  543. {basedpl-0.1.85 → basedpl-0.1.86}/tests/wasm-speed.mjs +0 -0
  544. {basedpl-0.1.85 → basedpl-0.1.86}/tests/wasm.mjs +0 -0
  545. {basedpl-0.1.85 → basedpl-0.1.86}/tests/windows_keyboard.c +0 -0
  546. {basedpl-0.1.85 → basedpl-0.1.86}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
@@ -99,7 +99,7 @@ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
99
99
 
100
100
  [[package]]
101
101
  name = "basedpl"
102
- version = "0.1.85"
102
+ version = "0.1.86"
103
103
  dependencies = [
104
104
  "base64 0.23.1",
105
105
  "basedpl-image",
@@ -144,7 +144,7 @@ dependencies = [
144
144
 
145
145
  [[package]]
146
146
  name = "basedpl-cli"
147
- version = "0.1.85"
147
+ version = "0.1.86"
148
148
  dependencies = [
149
149
  "async-trait",
150
150
  "basedpl",
@@ -159,7 +159,7 @@ dependencies = [
159
159
 
160
160
  [[package]]
161
161
  name = "basedpl-image"
162
- version = "0.1.85"
162
+ version = "0.1.86"
163
163
  dependencies = [
164
164
  "flate2",
165
165
  "image",
@@ -168,7 +168,7 @@ dependencies = [
168
168
 
169
169
  [[package]]
170
170
  name = "basedpl-jit"
171
- version = "0.1.85"
171
+ version = "0.1.86"
172
172
  dependencies = [
173
173
  "cranelift-codegen",
174
174
  "cranelift-frontend",
@@ -180,7 +180,7 @@ dependencies = [
180
180
 
181
181
  [[package]]
182
182
  name = "basedpl-py"
183
- version = "0.1.85"
183
+ version = "0.1.86"
184
184
  dependencies = [
185
185
  "basedpl",
186
186
  "basedpl-testkit",
@@ -199,7 +199,7 @@ dependencies = [
199
199
 
200
200
  [[package]]
201
201
  name = "basedpl-testkit"
202
- version = "0.1.85"
202
+ version = "0.1.86"
203
203
  dependencies = [
204
204
  "basedpl",
205
205
  "rustymath",
@@ -210,7 +210,7 @@ dependencies = [
210
210
 
211
211
  [[package]]
212
212
  name = "basedpl-wasm"
213
- version = "0.1.85"
213
+ version = "0.1.86"
214
214
  dependencies = [
215
215
  "basedpl",
216
216
  "basedpl-testkit",
@@ -371,9 +371,9 @@ dependencies = [
371
371
 
372
372
  [[package]]
373
373
  name = "const-oid"
374
- version = "0.10.2"
374
+ version = "0.10.3"
375
375
  source = "registry+https://github.com/rust-lang/crates.io-index"
376
- checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
376
+ checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
377
377
 
378
378
  [[package]]
379
379
  name = "core-foundation-sys"
@@ -572,9 +572,9 @@ checksum = "6f34b169b8cbbaed2b4995205f1d02d7eac4b2771df5479255fe5483e1334a39"
572
572
 
573
573
  [[package]]
574
574
  name = "crc32fast"
575
- version = "1.5.4"
575
+ version = "1.5.5"
576
576
  source = "registry+https://github.com/rust-lang/crates.io-index"
577
- checksum = "5f97d3416d5337d15c4b0d78c8c91df922ca143f57ec20e2d1c188333047ef04"
577
+ checksum = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64"
578
578
  dependencies = [
579
579
  "cfg-if",
580
580
  ]
@@ -748,9 +748,9 @@ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
748
748
 
749
749
  [[package]]
750
750
  name = "fancy-regex"
751
- version = "0.20.0"
751
+ version = "0.20.1"
752
752
  source = "registry+https://github.com/rust-lang/crates.io-index"
753
- checksum = "20ed7f62ce0ae0da1a8b93c3c7104ab7e0760a74491e097c701fff966e945390"
753
+ checksum = "7b32c6266c2b14b0db7aa3409d3ee3f0ddda3b1d0279c4ba24fbec18af81d90e"
754
754
  dependencies = [
755
755
  "bit-set",
756
756
  "regex-automata",
@@ -1168,9 +1168,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
1168
1168
 
1169
1169
  [[package]]
1170
1170
  name = "libz-sys"
1171
- version = "1.1.32"
1171
+ version = "1.1.33"
1172
1172
  source = "registry+https://github.com/rust-lang/crates.io-index"
1173
- checksum = "69965d2409bff8c8cea3829009fff66a86f05a0570656552ef70f616e8e4bd85"
1173
+ checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045"
1174
1174
  dependencies = [
1175
1175
  "cc",
1176
1176
  "pkg-config",
@@ -1705,9 +1705,9 @@ dependencies = [
1705
1705
 
1706
1706
  [[package]]
1707
1707
  name = "rustymath"
1708
- version = "0.1.59"
1708
+ version = "0.1.60"
1709
1709
  source = "registry+https://github.com/rust-lang/crates.io-index"
1710
- checksum = "847c937449ea0665badfd51f0e15198160fba8ebd8223f63daf4569c9e1f4165"
1710
+ checksum = "6e9538bb97de236048c4d8f14cdcb17f2f1dae4d5acaae4c4940277759a1cd68"
1711
1711
  dependencies = [
1712
1712
  "num-complex",
1713
1713
  "num-traits",
@@ -1717,9 +1717,9 @@ dependencies = [
1717
1717
 
1718
1718
  [[package]]
1719
1719
  name = "rustymath-buffer"
1720
- version = "0.1.59"
1720
+ version = "0.1.60"
1721
1721
  source = "registry+https://github.com/rust-lang/crates.io-index"
1722
- checksum = "d51201abcdd5246e011512cf929931bc41f509b846ecc19a92375c7f4413d773"
1722
+ checksum = "a8977795490b1cf1829989cc5f2395d03ac3e1f77ea5e262c0067b0ae172df65"
1723
1723
  dependencies = [
1724
1724
  "num-rational",
1725
1725
  "pyo3",
@@ -1728,9 +1728,9 @@ dependencies = [
1728
1728
 
1729
1729
  [[package]]
1730
1730
  name = "rustymath-core"
1731
- version = "0.1.59"
1731
+ version = "0.1.60"
1732
1732
  source = "registry+https://github.com/rust-lang/crates.io-index"
1733
- checksum = "f6cf11a507f5ab892d7ef9af69ed50caccd0e76005bc8e8f93b12b93ce768f65"
1733
+ checksum = "a7ddcfdb1e9528a84aa2611a547b377a3e3997e0b70bb6049e646e53188a2256"
1734
1734
  dependencies = [
1735
1735
  "foldhash",
1736
1736
  "half",
@@ -1749,9 +1749,9 @@ dependencies = [
1749
1749
 
1750
1750
  [[package]]
1751
1751
  name = "rustymath-kernels"
1752
- version = "0.1.59"
1752
+ version = "0.1.60"
1753
1753
  source = "registry+https://github.com/rust-lang/crates.io-index"
1754
- checksum = "6b2cb08b142b6ec8f3f831ede01c4ec6c3bba177fc177b784dc8fe19c0888c9d"
1754
+ checksum = "90d5461da1e8478038759e2a623c16adfd1d4893f900064ba7e077bbdef29dbe"
1755
1755
  dependencies = [
1756
1756
  "half",
1757
1757
  "num-complex",
@@ -1762,9 +1762,9 @@ dependencies = [
1762
1762
 
1763
1763
  [[package]]
1764
1764
  name = "rustymath-timing"
1765
- version = "0.1.59"
1765
+ version = "0.1.60"
1766
1766
  source = "registry+https://github.com/rust-lang/crates.io-index"
1767
- checksum = "38f2d2c1d5e098a3959c7edc1544afe9d1d0a69f410d04705307286b0ca5fc1d"
1767
+ checksum = "b6abe4faa21c3dcfdef01bbcbe443771fdc973d2b9f2301495d275926d7a07e7"
1768
1768
  dependencies = [
1769
1769
  "libc",
1770
1770
  "rustymath-core",
@@ -2519,7 +2519,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
2519
2519
 
2520
2520
  [[package]]
2521
2521
  name = "xtask"
2522
- version = "0.1.85"
2522
+ version = "0.1.86"
2523
2523
  dependencies = [
2524
2524
  "anyhow",
2525
2525
  "serde_json",
@@ -5,15 +5,15 @@ members = ["image", "jit", "py", "testkit"]
5
5
  join_comments = true
6
6
 
7
7
  [workspace.package]
8
- version = "0.1.85"
8
+ version = "0.1.86"
9
9
  edition = "2024"
10
10
  rust-version = "1.98"
11
11
  license = "Apache-2.0"
12
12
 
13
13
  [workspace.dependencies]
14
- rustymath = { version = ">=0.1.59, <1", default-features = false }
15
- rustymath-buffer = ">=0.1.55, <1"
16
- rustymath-timing = ">=0.1.56, <1"
14
+ rustymath = { version = ">=0.1.60, <1", default-features = false }
15
+ rustymath-buffer = ">=0.1.60, <1"
16
+ rustymath-timing = ">=0.1.60, <1"
17
17
  pyo3 = ">=0.29.2, <1"
18
18
  pyo3-build-config = ">=0.29.2, <1"
19
19
  ctrlc = ">=3.5.2, <4"
@@ -24,20 +24,20 @@ Judge simplicity by system ownership and caller obligations, not just line count
24
24
 
25
25
  Performance targets are analytical functions running inside Power, Each, broadcasting, scan, reduce, Agenda and similar array operators, in tacit and dfn forms and meaningful AD uses. Top-level statement overhead, scalar interactive latency, recursion/Fibonacci and guarded-dfn latency are not targets. Exclude fixed outer-statement/host setup and first-time recording/compilation from steady-state comparisons and budgets; report first-call costs separately. Measure useful repeated body work and completed operator execution, including its final force. Charge all lookup, binding, dispatch, allocation and kernel work that repeats inside the operator. Use existing calibrated tools or measured slopes to remove or amortize fixed outer costs, never an estimated blanket overhead subtraction. Report the measurement boundary and raw versus adjusted costs. If outer costs cannot be separated cleanly, report the completed workload's cost with that limitation explicit.
26
26
 
27
- The active work plan is `meta/next-release-plan.md`; it owns proposed stages, complexity gates, the mechanism queue and current baseline/results. This reference describes implemented contracts. `meta/eager-release-plan.md` retains the earlier eager-release reasoning and settled language changes; `meta/owners.md` describes subsystem interfaces. Existing behaviour is the default: discuss a simpler alternative before a substantive semantic change. `meta/` records evidence, not extra instructions or file leases. `AGENTS.md` holds the founding principles. `nbs/foundations.qmd` explains the working eager/Program architecture and its reasons. `TARGET.md` describes the parked graph design and constrains nothing. BPL and rustymath are co-designed: change either project to keep one mechanism per job and one home per fact.
27
+ The active work plan is `meta/next-release-plan.md`; it records proposed stages, trade-offs, the mechanism queue and current baseline/results. Its implementation choices are working hypotheses, not additional user constraints. This reference describes implemented contracts. `meta/eager-release-plan.md` retains the earlier eager-release reasoning and recorded language decisions; `meta/owners.md` describes subsystem interfaces. Existing behaviour is the default: discuss a simpler alternative before a substantive semantic change. `meta/` records evidence and current plans. `AGENTS.md` holds the founding principles. `nbs/foundations.qmd` explains the working eager/Program architecture and its reasons. `TARGET.md` describes the parked graph design and constrains nothing. BPL and rustymath are co-designed: changing either project can remove duplicate mechanisms and give facts one home.
28
28
 
29
- Current source, builds and both projects' `meta/` directories are on this Mac under `/Users/jhoward/aai-ws/{basedpl,rustymath}`. Mac is authoritative for current planning and release work; do not overwrite it with older Syd1 copies. `meta/` isn't in git. `meta/open.md` lists current work and links the plan. Reference worktrees live outside `~/aai-ws`, because the uv workspace takes every sibling directory as a member and the generated cargo patches point at siblings. The Mac pre-rewrite pair is `/Users/jhoward/git/prewrite-mac-apVxJ7tG/{basedpl,rustymath}` at BPL `96ea793` / RM `d39f693`. Syd1 retains these earlier reference archives:
29
+ Use the working host and workspace named in `meta/open.md` for current source, builds and both projects' `meta/` records. Never overwrite that host's current work with older copies from another host. `meta/` isn't in git. `meta/open.md` lists current work and links the plan. Reference worktrees live outside `~/aai-ws`, because the uv workspace takes every sibling directory as a member and the generated cargo patches point at siblings. The Mac pre-rewrite pair is `/Users/jhoward/git/prewrite-mac-apVxJ7tG/{basedpl,rustymath}` at BPL `96ea793` / RM `d39f693`. Syd1 retains these earlier reference archives:
30
30
  - `/home/ubuntu/git/graph-refs/{basedpl,rustymath}`: tag `graph-parked`.
31
31
  - `/home/ubuntu/git/pre-rewrite-refs/{basedpl,rustymath}`: basedpl `96ea793` and rustymath `d39f693`, the baseline. With `json5` 1.3.1 they pass all 8,035 reference cases. `json5` 1.3.7 parses integers past `u64` as floats. Results: `meta/pre-rewrite-baseline.md`. Per-case costs: `meta/pre-rewrite-costs.tsv`.
32
32
  - `/home/ubuntu/git/release-refs/{basedpl,rustymath}`: v0.1.82 and v0.1.54.
33
33
 
34
- Main coordinates connected work and publishes interface changes to consumers. Use this Mac for current development and release work. Normally use `cargo develop` to install the real work in the real environment and test it directly. No protective ambient restore or extra environment copy is needed. One coordinator owns builds, installs and validation while writers continue. Use existing automatic snapshot helpers only when they help that work continue; do not mandate extra manual captures. Artifact/source/fixture pins and `build=` serve actual before/after comparisons or diagnosis, not ceremony. Source review is not runtime proof. Add process complexity only when it clearly helps agents work faster. There are no file leases, global editing freezes or continuous rebuild watchers.
34
+ Main coordinates connected work and shares interface changes with consumers. Use the working host named in `meta/open.md` for current development and release work. Normally use `cargo develop` to install the real work in the real environment and test it directly; protective restores and extra environment copies add work without helping this dedicated workspace. A build/validation coordinator usually keeps writers productive while expensive builds run. Automatic snapshots, source pins and `build=` are useful for comparisons and diagnosis when they reduce coordination work. Source review and runtime checks provide different evidence. Hash-verified edits usually make file leases and editing freezes unnecessary. Choose coordination and rebuild frequency for useful feedback, not ceremony.
35
35
 
36
- Use local Python kernels for current work; each fork keeps its own kernel. Check `socket.gethostname()` before relying on machine identity. Review edits with `journal(os.environ['EXHASH_JOURNAL'], author=<agent id>)`. Earlier Syd1 kernels and journals belong to the retained remote evidence. Keep commits local unless the current shipping instructions request a push.
36
+ Python kernels on the current working host retain useful analysis state. Separate kernels let forks work independently. Confirm `socket.gethostname()` when machine identity matters, since confusing hosts invalidates comparisons. `journal(os.environ['EXHASH_JOURNAL'], author=<agent id>)` helps review one agent's edits. Earlier Syd1 kernels and journals belong to the retained remote evidence. Keep commits local unless the current shipping instructions request a push.
37
37
 
38
- Python checks use installed builds, which the coordinator installs; never load an uninstalled extension through `PYTHONPATH` or `sys.path`. Run no formatter. Research that changes no code still records its findings in `meta/`. `create`'s reply names no host: check `socket.gethostname()` after it.
38
+ Python checks use installed builds, which the coordinator installs; never load an uninstalled extension through `PYTHONPATH` or `sys.path`. Run no formatter. Useful read-only findings belong in the relevant existing `meta/` record so later work can use them. `create`'s reply names no host; `socket.gethostname()` confirms it.
39
39
 
40
- Reference evaluations keep their two-second deadline (`reference::TIMEOUT`). The worker's separate 30-second watchdog bounds work that doesn't poll cancellation. Every asserted value, kind, error and output gates, including cases that call `•explain`, `•memory` or `•storage`. Route-directive violations remain separately reported obligations; they never waive a case's assertions. Retain exhash inputs in a kernel variable. After a conflict, refresh addresses and preserve semantic intent. Never shrink cases, introduce skips, relax budgets or alter expected mathematics to clear failures without Jeremy's agreement.
40
+ Reference evaluations keep their two-second deadline (`reference::TIMEOUT`). The worker's separate 30-second watchdog bounds work that doesn't poll cancellation. Every asserted value, kind, error and output gates, including cases that call `•explain`, `•memory` or `•storage`. Route-directive violations remain separately reported obligations; they never waive a case's assertions. Retain exhash inputs in a kernel variable. After a conflict, refresh addresses and preserve semantic intent. Prefer fixing the cause over weakening a check. A smaller fixture, explicit skip or adjusted budget can be appropriate when it preserves the useful signal; record the reason and changed coverage or measured cost rather than silently clearing a failure. Substantive changes to the expected mathematics still need discussion with Jeremy.
41
41
 
42
42
  The reference below remains applicable. Read the relevant part when using its tools or changing its concern: accuracy and dynamic kinds for numerical work; build/test, routes and budgets for validation; cancellation and timing locks for jobs; browser and machine code for those targets. Do not reread unrelated tool catalogues at every handoff.
43
43
 
@@ -66,7 +66,7 @@ Accuracy: `nbs/numbers.qmd`'s "Accuracy": floats within 4 ulps of correctly roun
66
66
 
67
67
  Non-commitments don't license breakage: keep the exact results the Numbers page lists. Remove code existing only for agreement between results or accuracy past documented bounds, where removal cuts lines or adds speed without substantive complexity and breaks nothing else.
68
68
 
69
- Dynamic kinds: autodiff and fast code target static kinds, branching and updating with approaches like Agenda (`⍚`), Under (`f@g`, `f@[p]`) or selective assignment (`x.[p]←`), not with dfn guards on traced values. Dynamic kinds serve interactive analysis: tacit code over dataset-sized arrays, and simple dfns over values such as dates and strings. A call settles when its kernel can't fail an item at its operands' ranges (`plan::ranges`: a held constant's own value, nonnegative where the operand is known never negative, otherwise any), as rustymath's `Kernel::may_raise_on` decides; that check is the fact's one home. Only settled calls defer and fuse. Integer arithmetic settles: it computes at the narrowest width that holds every result (u8+u8 → i16) and wraps at i64. `√ * ⍟ ○` settle only where the ranges meet the domain. A call that doesn't settle runs eagerly as one whole-array call and never defers; on a complex result, the whole call runs again, complex. The `ₐ` forms are the fast path for real-domain math. Dfn guards on traced values run correctly and aren't speed targets. The speed tests keep dynamic-kinds cases, so costs stay known and new slowdowns fail. A slow event from a value-dependent type under dynamic kinds: `allows` (known cost).
69
+ Dynamic kinds: autodiff and fast code target static kinds, branching and updating with approaches like Agenda (`⍚`), Under (`f@g`, `f@[p]`) or selective assignment (`x.[p]←`), not with dfn guards on traced values. Dynamic kinds serve interactive analysis: tacit code over dataset-sized arrays, and simple dfns over values such as dates and strings. A call settles when its kernel can't fail an item at its operands' ranges (`plan::ranges`: a held constant's own value, nonnegative where the operand is known never negative, otherwise any), as rustymath's `Kernel::may_raise_on` decides; that check is the fact's one home. Only settled calls defer and fuse. Integer arithmetic settles: it computes at the narrowest width that holds every result (u8+u8 → i16) and wraps at i64. `√ * ⍟ ○` settle only where the ranges meet the domain. A call that doesn't settle runs eagerly as one whole-array call and never defers; on a complex result, the whole call runs again, complex. The `ₐ` forms are the fast path for real-domain math. Dfn guards run correctly; they have no throughput, instruction or allocation budgets. Data-dependent guards stop batching. The speed tests keep dynamic-kinds cases, so costs stay known and new slowdowns fail. A slow event from a value-dependent type under dynamic kinds: `allows` (known cost).
70
70
 
71
71
  Build and test:
72
72
 
@@ -144,11 +144,11 @@ Budgets:
144
144
 
145
145
  Routes:
146
146
 
147
- - `tests/reference.rs`'s `reference_cases` checks routes through `reference::route_check`: each case with route directives once under ordinary preferences, and each timed speed case after warm-up with small fixture dimensions under `Sizes::SMALL`, forcing results outside timing. It prints each route and kind of event in rustymath's inventory (`events::Route`) that no routed case exercises. `check_file` checks a file's route directives likewise, on one thread. `⍝⍝⍝ route NAME` above a case requires that fast route. A permitted slow event never excuses a missing required route.
148
- - Speed setups write scalable dimensions as `full size small`. The timing session supplies dyadic `size` as `⊣` for full-size timings, `⊢` for small route checks, and for counts the power of two nearest the pair's geometric mean (`Size::Counted`), after leading preferences have set the parser's numeric kinds. Fixed feature and window dimensions stay fixed. `timing::costs` captures the two full-size warm-up runs through `Capture::violations`, then times uncaptured evaluations: the fastest of at least five that take 5 ms together, or of two once they take 20 ms (`rustymath_timing::fastest` with `LEAST`). A file's `widths` cases take their `exact` times together after its other cases, since each change of section reruns the setup. Native and WASM cost records retain and display route obligations. `Sizes::batch` owns the repeated-constant chunk bound: 2²¹ by default and 4096 under `SMALL`.
149
- - Unlisted slow events fail: `stored` (pending items computed outside a fused group), `forced` (a call computing pending items it reads as items; rows with reason `read as values`, an argument such as a count, or `an effect`, the pending arrays that an effect computes first, aren't slow), `fallbacks` (batched fallback), `mixed` (a write leaving mixed storage), `itemwise`, `stopped` (stopped trace). Name them as `•explain` does: function (`forced`), code (`mixed`), route (`itemwise`), reason (the rest). `⍝⍝⍝ allows RECORD "EVENT": principle` permits work (a matrix product reading its arguments whole); `⍝⍝⍝ gap RECORD "EVENT": what should happen` names a fast-path gap. A stopped trace takes `allows` only for a by-design stop (dynamic kinds' value-dependent types), else `gap`. `declined` (a considered route not taken) is informational; a `gap` or `allows` can name its route and reason (`fusion: an exact argument`). Every annotation must match an observed event; remove it when the event disappears. `cargo test -- --nocapture` prints remaining gaps.
147
+ - `tests/reference.rs`'s `reference_cases` checks routes through `reference::route_check`: each case with route directives once under ordinary preferences, and each annotated speed case after warm-up with small fixture dimensions under `Sizes::SMALL`, forcing results outside timing. It prints each route and kind of event in rustymath's inventory (`events::Route`) that no routed case exercises. `check_file` checks a file's route directives likewise, on one thread. `⍝⍝⍝ route NAME` above a case requires that fast route. A permitted slow event never excuses a missing required route.
148
+ - Speed setups write scalable dimensions as `full size small`. The timing session supplies dyadic `size` as `⊣` for full-size timings, `⊢` for small route checks, and for counts the power of two nearest the pair's geometric mean (`Size::Counted`), after leading preferences have set the parser's numeric kinds. Fixed feature and window dimensions stay fixed. `timing::costs` checks annotated cases' routes after an explained warm-up. Other cases have one uncaptured warm-up. Ordinary checks take two completed timing samples for both costs and width denominators. Calibration and exclusive retries retain measurement sampling: the fastest of at least five evaluations that take 5 ms together, or of two once they take 20 ms (`Sampling::Measure`). A file's `widths` cases take their `exact` times together after its other cases, since each change of section reruns the setup. Native and WASM cost records retain and display annotated route obligations. `Sizes::batch` owns the repeated-constant chunk bound: 2²¹ by default and 4096 under `SMALL`.
149
+ - In route-annotated cases, unlisted slow events fail: `stored` (pending items computed outside a fused group), `forced` (a call computing pending items it reads as items; rows with reason `read as values`, an argument such as a count, or `an effect`, the pending arrays that an effect computes first, aren't slow), `fallbacks` (batched fallback), `mixed` (a write leaving mixed storage), `itemwise`, `stopped` (stopped trace). Name them as `•explain` does: function (`forced`), code (`mixed`), route (`itemwise`), reason (the rest). `⍝⍝⍝ allows RECORD "EVENT": principle` permits work (a matrix product reading its arguments whole); `⍝⍝⍝ gap RECORD "EVENT": what should happen` names a fast-path gap. A stopped trace takes `allows` only for a by-design stop (dynamic kinds' value-dependent types), else `gap`. `declined` (a considered route not taken) is informational; a `gap` or `allows` can name its route and reason (`fusion: an exact argument`). Every annotation must match an observed event; remove it when the event disappears. `cargo test -- --nocapture` prints remaining gaps.
150
150
  - `tests/skipped.txt`: full-size cases explicitly set aside, one per line: test name, tab, section (`*` for every section), tab, case key, tab, the open item that records why. Coverage and unit suites use the case's code as its key. Reference-file rows use `reference:<file>.bpl`, the exact section and the existing case ID, or the first comment line when the ID is empty. `reference::mark_skipped` defines that key and rejects ambiguous or stale entries against the full file before selection. Rust checks and worker inventories share the matcher. `check_file` retains skipped identities, reasons and modes; skips are unresolved, not passes. Remove an entry when its case is ready to run again.
151
- - Events: Rust in both repositories reports routes taken, declines and stopped traces via `rustymath::events`; basedpl records itemwise routes in `•explain`'s rows. Uncaptured reporting costs one atomic load. `reference_cases` compares each routed case's and speed case's observed successes, declines and fixed itemwise routes with its directives; the inventory counts warm-up runs too, while directives check only the warmed run. It checks event-name coverage, not every branch at an emission site. Study an unexpected event before annotating it, as for a case over budget.
151
+ - Events: Rust in both repositories reports routes taken, declines and stopped traces via `rustymath::events`; basedpl records itemwise routes in `•explain`'s rows. Uncaptured reporting costs one atomic load. `reference_cases` compares each routed reference or speed case's observed successes, declines and fixed itemwise routes with its directives; the inventory counts warm-up runs too, while directives check only the warmed run. It checks event-name coverage, not every branch at an emission site. Study an unexpected event before annotating it, as for a case over budget.
152
152
 
153
153
  Retries: an ordinary speed run times under a shared hold of the timing lock on one thread, then retimes each case over budget once under the exclusive hold where no build holds the lock (`rustymath_timing::try_exclusive`), failing only cases still over. Where builds hold the lock, it prints those cases `unconfirmed` and fails none. Calibration runs (`BASEDPL_COSTS`) and `thread_scaling` hold the lock exclusively and retime each failing case after each pause in `rustymath_timing::RETRY_PAUSES` (0.1, 1, 10 s; 10 s outlasts longer load bursts from other VMs on CI's runner), failing only cases that fail every time. Before each retry, speed tests and `bpl --costs` keep the thread busy 0.1 s (`rustymath_timing::warm`): idle cores start slow (on this Mac, small cases timed straight after the 10 s pause cost up to 3× without it). Retries print old and new costs (speedups in `thread_scaling`), even in passing runs; `logged_costs` keeps a retried case's lowest. Study a case that needs retries in most runs, as a slowdown.
154
154
 
@@ -294,7 +294,7 @@ A small repro must retain the concrete types, widths, generic caller chain, inli
294
294
 
295
295
  | Files | Responsibility |
296
296
  |---|---|
297
- | `syntax.rs`, `name.rs`, `eval/binder.rs`, `eval/tree.rs` | structural parse; interned names; runtime category binding; trains; dot access, subscripts; dfn statements' compiled recordings |
297
+ | `syntax.rs`, `name.rs`, `eval/binder.rs` | structural parse; interned names; runtime category binding; trains; dot access, subscripts; ordinary statement evaluation |
298
298
  | `eval.rs`, `eval/session.rs`, `eval/bindings.rs`, `eval/operators.rs`, `eval/operators/`, `eval/assign.rs`, `eval/dissect.rs` | shared calls, function values; sessions, modules; binding storage; operators; scopes; assignments; expression trees of bound values |
299
299
  | `execution.rs`, `error.rs` | cancellation, deadlines, input/output, retained diagnostics |
300
300
  | `array.rs`, `array/storage.rs`, `array/text.rs` | values, layouts, compact and mixed storage, gathering, source formatting |
@@ -322,27 +322,21 @@ The lexer/parser records byte spans and structural syntax without evaluating exp
322
322
 
323
323
  `symbols.rs` owns APL, simplified and traditional Hanzi spellings. Its rows also hold each glyph's names: a glyph name for the character, which is also its page's file name in `nbs/glyphs/`, and a name for each valence, or one name where both valences do the same thing. The glyph reference, named entry and help read them there. Python's exported names read them, with each system function's name, through `symbols::builtins`. `hanzi_aliases` enables Hanzi glyph spellings, canonicalizing token decisions while retaining original source and spans. Other Hanzi remain name characters. `_` quotes the next non-whitespace character into a name, including a glyph alias. The `notation` preference affects structured function/operator display, not stored source, serialization or structural APIs; help and editor metadata use the same spelling table.
324
324
 
325
- The binder resolves runtime categories right to left. It owns unfinished strands, trains and bound arguments; shared function nodes are immutable. Grammatical reduction produces application requests instead of calling functions. An array that holds a function as an item has its own binder category, `Callable` (`Category::bound`), while `Category::of`, which assignment's grammar reads, keeps it `Value`. `Binder::push` works out each entity's role once, as it pushes it: `Category::before` resolves `Callable` against the role of the entity below, which is to its right, to `Function` where that entity is a subject or an absent `⍺`, and to `Value` otherwise. `Rule::get` and the strengths don't change, and recordings check `Callable` as a category of its own. A function-only operand slot converts such an array to `FunctionNode::Array` in `constant_operand`, and `Function::from_value` makes the same conversion where a call by text needs a function. Calls give values: a call's result, a subscript's selection and a scope's result bind as arrays, whatever they hold. `Bound::given` is the rule's one home: it makes a function result a function atom and gives the `Bound` the category `Value`, which `Bound::category` returns in place of the value's own. `Entity::held` puts a `Bound` on the binder's stack with that category, and the recorder's `leaf` and `group` take the `&Entity`, so a recording checks the category the value bound with. A field read from a name is the one exception: `Entity::grouped` gives that group its field's binding back, as `Session::static_category` reads it. Dot access is written as a `⊃` call (`assign::dot_path`), so `("k"⊃T) x` calls the field too. Primitive/operator rows own names, operand kinds, ranks, pervasion, axis behaviour and reduction identities. Change those rows instead of duplicating metadata in consumers. A non-extending primitive above its natural ranks runs through Rank; pervasive Each/Outer/Rank paths reuse whole-array kernels.
325
+ The binder resolves runtime categories right to left. It owns unfinished strands, trains and bound arguments; shared function nodes are immutable. Grammatical reduction produces application requests instead of calling functions. An array that holds a function as an item has its own binder category, `Callable` (`Category::bound`), while `Category::of`, which assignment's grammar reads, keeps it `Value`. `Binder::push` works out each entity's role once, as it pushes it: `Category::before` resolves `Callable` against the role of the entity below, which is to its right, to `Function` where that entity is a subject or an absent `⍺`, and to `Value` otherwise. `Rule::get` and the strengths don't change. A function-only operand slot converts such an array to `FunctionNode::Array` in `constant_operand`, and `Function::from_value` makes the same conversion where a call by text needs a function. Calls give values: a call's result, a subscript's selection and a scope's result bind as arrays, whatever they hold. `Bound::given` is the rule's one home: it makes a function result a function atom and gives the `Bound` the category `Value`, which `Bound::category` returns in place of the value's own. `Entity::held` puts a `Bound` on the binder's stack with that category. A field read from a name is the one exception: `Entity::grouped` gives that group its field's binding back, as `Session::static_category` reads it. Dot access is written as a `⊃` call (`assign::dot_path`), so `("k"⊃T) x` calls the field too. Primitive/operator rows own names, operand kinds, ranks, pervasion, axis behaviour and reduction identities. Change those rows instead of duplicating metadata in consumers. A non-extending primitive above its natural ranks runs through Rank; pervasive Each/Outer/Rank paths reuse whole-array kernels.
326
326
 
327
327
  Dot names rewrite to Pick and dot brackets to selection. Numeric subscripts derive selection on arrays and `⍠` on functions from the bound operand. Writable subscripts normalize to selection calls at assignment. `ⱼ`, `ₑ` or `ᵣ` between two arrays then rewrites to the primitives it stands for, as `xⱼy` to `x+y×0ⱼ1` (`syntax::joined_term`). Dot parentheses evaluate a namespace: `T.(expr)` and `T⍎text` bind each key on the first axis of `T` to its item or major cell as a local, resolve other names in the caller and keep assignments local. They share the scoped execution route and lexical lifetime checks. Between functions, dot remains inner product.
328
328
 
329
- `Bindings` (`eval/bindings.rs`) holds every binding: the frames of running calls and scopes, each module's names, the current frame and the running module. Other code reads and writes bindings only through its methods. A lookup gives where a name is bound, as a `Place`, with its binding, and reads, writes and removals take a `Place`. `Bindings::here` gives the place where a plain assignment binds a name. Parsing interns each name as a `Name` (`name.rs`), a number that is the same in every session, and a name becomes text again only where text comes in or goes out. Each frame has slots on one stack that every frame shares: first one for each of the six names that a call binds itself, then one for each of a dfn's locals, the names before an `←` in its statements (`Definition::locals`). A call allocates nothing for its names. A call with no left argument binds `⍺` to an absent argument, so lookup finds the call's own `⍺` and never an outer frame's. A name without a slot, such as one that `⍎` binds or an assignment in a scope binds, goes in its frame's side map. A scope's frame holds its record, and a lookup that the side map misses there reads a key through the record's own index of its keys (`Keys::position`), so a scope copies nothing and a key's text never becomes a `Name`. Each module keeps its names as entries that an index finds, and deleting a name empties its entry without moving the others. A compiled read of a name carries an address (`Bindings::address`): the slots on its lexical chain that can hold it, and its module's entry. It reads through `Bindings::load`, which looks the name up as an uncompiled read does where a frame on the chain binds names without slots or the running module isn't the recorded one. Lexical frames use non-owning parent indices. Closures see live bindings, not snapshots. A dfn's last read of a local, `⍵` or `⍺` takes the binding out of its slot (`syntax::release`), and leaves `Binding::Released`, which stops lookup there with a VALUE error. The binder hands a dfn call the arguments it owns (`Argument`), so `⍵` and `⍺` hold them without a copy. `dispatch` gives a dfn the arguments as its caller gave them, and so a composition or fork with an operand that can use them (`Function::owns`, set when the function is built); it lends them to any other composition or fork, and a compiled statement gives a group's train the arguments that it holds (`operators::train_call`). An operator hands its operand each value that it made and doesn't read again: `∘`'s inner result, a fork's tine results, `⍣`'s states, a fold's running result, and the cells and selections that it gathers. It gives its own arguments to its operand's last call, as `∘`, `⊘`, `↣`, `↢`, a unit `⍚`, `⍣` with one count and a fork's left tine do. It lends them where it reads them after a call, as Under, Rank, Axis, stencils, Over, inner products and `⍣`'s other forms do, and it lends any value that it reads again, such as the state that `⍣∞` compares and the batches that a batched try reruns after a stop. A train reads its arguments in its last part and in each fork's left tine, and the last of those reads takes them. Plain assignment is local; modified/selective assignment updates the nearest existing binding. Retain the resolved place and original array across modifier calls rather than looking the name up again. Returns and outer writes reject functions, including those nested in arrays/prototypes, whose frames would not survive. Tail calls retain dependencies from arguments and the called function. No collector is used; recheck this lifetime reasoning before permitting escaping lexical captures.
329
+ `Bindings` (`eval/bindings.rs`) holds every binding: the frames of running calls and scopes, each module's names, the current frame and the running module. Other code reads and writes bindings only through its methods. A lookup gives where a name is bound, as a `Place`, with its binding, and reads, writes and removals take a `Place`. `Bindings::here` gives the place where a plain assignment binds a name. Parsing interns each name as a `Name` (`name.rs`), a number that is the same in every session, and a name becomes text again only where text comes in or goes out. Each frame has slots on one stack that every frame shares: first one for each of the six names that a call binds itself, then one for each of a dfn's locals, the names before an `←` in its statements (`Definition::locals`). A call allocates nothing for its names. A call with no left argument binds `⍺` to an absent argument, so lookup finds the call's own `⍺` and never an outer frame's. A name without a slot, such as one that `⍎` binds or an assignment in a scope binds, goes in its frame's side map. A scope's frame holds its record, and a lookup that the side map misses there reads a key through the record's own index of its keys (`Keys::position`), so a scope copies nothing and a key's text never becomes a `Name`. Each module maps interned names directly to bindings. A module `Place` retains its name across deletion and reinsertion. Lexical frames use non-owning parent indices. Closures see live bindings, not snapshots. A dfn's last read of a local, `⍵` or `⍺` takes the binding out of its slot (`syntax::release`), and leaves `Binding::Released`, which stops lookup there with a VALUE error. The binder hands a dfn call the arguments it owns (`Argument`), so `⍵` and `⍺` hold them without a copy. `dispatch` gives a dfn the arguments as its caller gave them, and so a composition or fork with an operand that can use them (`Function::owns`, set when the function is built); it lends them to any other composition or fork. An operator hands its operand each value that it made and doesn't read again: `∘`'s inner result, a fork's tine results, `⍣`'s states, a fold's running result, and the cells and selections that it gathers. It gives its own arguments to its operand's last call, as `∘`, `⊘`, `↣`, `↢`, a unit `⍚`, `⍣` with one count and a fork's left tine do. It lends them where it reads them after a call, as Under, Rank, Axis, stencils, Over, inner products and `⍣`'s other forms do, and it lends any value that it reads again, such as the state that `⍣∞` compares and the batches that a batched try reruns after a stop. A train reads its arguments in its last part and in each fork's left tine, and the last of those reads takes them. Plain assignment is local; modified/selective assignment updates the nearest existing binding. Retain the resolved place and original array across modifier calls rather than looking the name up again. Returns and outer writes reject functions, including those nested in arrays/prototypes, whose frames would not survive. Tail calls retain dependencies from arguments and the called function. No collector is used; recheck this lifetime reasoning before permitting escaping lexical captures.
330
330
 
331
331
  Module 0 owns session names. Each `•load` runs in a new module, without the caller's frame and with echo off, and returns its non-private names alphabetically. Modules remain for the session's lifetime. Recursive loading of a canonical path is a DOMAIN error. Paths starting `./` or `../` resolve against the source file; other paths use the working directory. Execute/load do not run the top-level preference header.
332
332
 
333
333
  Dfns run statements in order and return the last statement's value. Final assignments are silent. An absent left argument propagates through the binder's absent-binding rules; default-left assignment runs only when needed. Guard handlers see bindings as they stood at failure; nothing rolls back. Wildcard `∞::` excludes interrupt, timeout and unsupported errors. Explicit named guards can catch them; catching an interrupt clears its flag.
334
334
 
335
- The binder compiles a dfn statement on the statement's first evaluation (`eval/tree.rs`, `Session::statement_step`). Its recorder follows the binder's two stacks over registers and constants, and emits an instruction for each node that needs evaluating and for each reduction. A move between the stacks and the drop of an absent `⍺` compile to nothing, and a derive or a bind on constants compiles to a constant, so an operator bound to a constant operand, as in `⍤1`, derives once. Later evaluations run the instructions: they make the same calls in the same order, checking the category of each name, group and call result against the recorded one. Each checked instruction keeps a template of the binder's state at that point (`binder::Resume`): what its two stacks hold, its cursor, the leaf it had just resolved or the result it had just pushed, and the assignment it was making. Where a category differs, the binder carries on from that state (`Binder::resumed`). Registers hold the binder's own entities (`binder::Entity`), in an inline array of 8 (`INLINE`) or on the heap for a statement that needs more. The recording keeps its constants as entities, and an instruction borrows them, so a call reads a constant's array or function without copying it (`array_of`, `function_of`). The parse tree depends on the evaluator, because each `syntax::Statement` holds its own recording. A change to a reduction that the binder records (a drop, a strand, an attach, a call, a derive, a bound right operand or a train) must change the recorder and the instructions too. `strand`, `attached`, `split_call`, `derived`, `bound_right`, `train` and `tails` in `eval/binder.rs` serve both, and the binder tells the recorder its cursor and whether a call is its last reduction. The `_ => rc.fail()` arm in `Binder::reduce` stops recording any statement with a reduction that the instructions don't cover, and `Recorder::finish` then gives no recording. The binder evaluates that statement correctly every time.
335
+ Every ordinary statement runs through `Binder`. Dot access, subscripts, selector sections, joiners and runs that start with an operator normalize before reduction (`Session::sections`, `joined`, `members_with`, `rewrite::expression`). Whether a rewrite applies depends on the current bindings. `Session::static_category` reads a name's category without evaluating it, a dot path's field category, or a group's category through the operand grammar. A run ending in a dyadic operator starts with its right operand on the binder's stack.
336
336
 
337
- Each group or run in the statement is a level, whose instructions sit inline between an `Enter` and an `Exit`, so one loop runs the statement. The recorder writes a level's instructions straight into the statement's as the binder evaluates the level, keeping a mirror of the level's binder (`tree::Walk`) while it runs. A failed check resumes the binder of the level that holds the instruction. Where the group's value keeps its recorded category, the instructions after its `Exit` carry on. Otherwise the level that holds it resumes, and so on out to the statement. Dot access, subscripts, joiners and runs that start with an operator rewrite a statement before the binder walks it (`Session::joined`, `Session::members_with`), and the recording keeps the rewritten nodes. Whether a rewrite applies, and whether a run starts with an operator or ends in a dyadic one, depend on what names hold, which one reader reads without evaluating anything (`Session::static_category`): a name by its binding, a dot path by its field, and any other group by the operand grammar of assignment targets (`Session::trailing_operand`). While a statement records, the reader keeps a fact for each name or dot path it read, with the name's address and the category it found (`tree::Fact`). A recording checks a level's facts again when the level starts, and the binder evaluates the statement or group from its own nodes where one differs. A run that ends in a dyadic operator is a level whose binder starts with the run's right operand on its stack, read where the level that holds it keeps it.
337
+ `Session::assigned` sends every assignment through the shared assignment owner. Bracket items use `Session::item_result` and `Session::bracket`. Typed numerical construction and replay live in `program/trace.rs`; they do not record or replay grammatical reductions.
338
338
 
339
- A group or run whose leaves are all literals, primitives, operator glyphs or such groups, and which makes no call, records as the array or function it gave, so a train like `(+/÷≢)` builds once. The recorder drops such a group's instructions by truncating the statement's back to where the group started (`Recorder::truncate`). A run that ends in a dyadic operator, whose right operand is constant, records as a constant too. A group whose last step builds its value as a train exits with the train's tines (`Term::Tines`). A call of that group calls the tines in place (`Op::CallTines`, `operators::train_call`). The call builds the train and calls it instead while a transformation or `•explain` runs, where the last tine isn't a function or two array tines are side by side, and where the train may hold a fast combination (`rewrite::may_combine`), which only the train's function computes (`operators::calls_tines`).
340
-
341
- An assignment compiles to one instruction, which runs `Session::assigned`, the step after the target is found that the binder runs too: `Session::assign`, the one home of every target form, or a store of a plain name straight into the frame's slot for it, which `Bindings::here` found when the statement compiled. What a target's names hold decides where a target of more than one node starts (`Session::assignment_start`), so the instruction checks that start again, and the binder carries on with the assignment in progress where it moved. A default argument, an error guard's kinds and a dfn's last statement compile as other statements do.
342
-
343
- Each item of a bracket literal is a level whose value goes into the literal at once, as `Session::item_result` converts it, and `Session::bracket` builds the literal for `resolve` and for the compiled `Array` instruction alike. A literal with a computed key that isn't constant stays with `resolve`. Each statement keeps the recording of its first evaluation (`Statement::recording`). A later call whose `⍺` is absent where that evaluation's held an argument, or the reverse, resumes the binder where the statement reads `⍺`.
344
-
345
- Tail calls reuse frames while preserving lexical dependencies. Handlers disable tail reuse. Evaluation depth is capped at 20,000 natively and at 244 in the browser, whose stack runs out first. Each call of a function other than a primitive counts toward it, and so do each statement of a dfn other than its last, each group, each run that ends in a dyadic operator and each bracket item, compiled or not. A compiled statement or level counts with `Session::descend` alone, without the interrupt check and stack growth of `Session::nested`. Calls of primitives other than `⍎` don't count, because a primitive never calls back into BPL. They skip the depth, capture and stack bookkeeping, and on numbers a form that applies a kernel to each pair of items runs that kernel at once (`Primitive::scalar_call`). A separate 20,000-frame limit bounds retained lexical frames. Late-bound name resolution stops at 128 levels. These are execution limits, not a sandbox against arbitrarily deep source, arrays or function graphs.
339
+ Tail calls reuse frames while preserving lexical dependencies. Handlers disable tail reuse. Evaluation depth is capped at 20,000 natively and at 244 in the browser, whose stack runs out first. Each call of a function other than a primitive counts toward it, and so do each statement of a dfn other than its last, each group, each run that ends in a dyadic operator and each bracket item. Calls of primitives other than `⍎` don't count, because a primitive never calls back into BPL. They skip the depth, capture and stack bookkeeping, and on numbers a form that applies a kernel to each pair of items runs that kernel at once (`Primitive::scalar_call`). A separate 20,000-frame limit bounds retained lexical frames. Late-bound name resolution stops at 128 levels. These are execution limits, not a sandbox against arbitrarily deep source, arrays or function graphs.
346
340
 
347
341
  ## Values, layouts and assignment
348
342
 
@@ -350,7 +344,7 @@ Tail calls reuse frames while preserving lexical dependencies. Handlers disable
350
344
 
351
345
  - Compact storage: a rustymath `buffer::Buffer` of one dtype (Booleans, narrow integers, width-specific floats or complex numbers, characters); `Items` borrows it as a `buffer::View`. Promotion rules for those dtypes stay in basedpl (`Promotion`, `array/storage.rs`); a rustymath buffer keeps the dtype it's given. Ordinary integer array width (`array::ordinary_width`): narrowest holding its values under dynamic kinds; the `int` width under static kinds, where storage follows kind.
352
346
  - Mixed storage: `Value`s; memoizes prototype, innermost lexical dependency, whether any item is a function; other properties computed on demand.
353
- - Segmented storage (`Segments`): two or more arrays of one rank and kind, with no keys or names on their axes, held flat as one leaf array, with each item's offset and shape, as DuckDB's list vectors and Arrow's ListView hold lists; an item reads as a view of its range of the leaf, and a view of nested items takes its own first item's prototype (`ArrayData::nested_prototype`). `Value::gathered` builds it with no copy where every item is a view of one stored array (`Segments::of`: Rank's `⊂` cells, a partition's parts, a selection of segmented items). A producer whose items are made together builds its leaf whole (`Segments::new`), as `keyed::text_column` does for `•csv` and `•json` texts, one range for each distinct text. Items computed apart stay mixed. Each's batched try reads items of one layout and kind as one array (`Items::stacked`: a view of a segmented leaf where they lie in order, else a copy). Search, classification and grade compare exact cells, a segmented array's as slices of its leaf, through rustymath's `search::Exact`. A write turns it mixed first (`Storage::values_mut`).
347
+ - Fixed storage: an `IntBuf` with a fixed integer kind. `Items::Fixed` retains the fixed-kind flag when borrowing its items.
354
348
  - Layout and storage share one allocation. `Shape` holds ranks 0-2 inline → small arrays allocate no shape. Constructors take `impl Into<Shape>`: pass a slice or an array (`[n]`), not a built `Vec`.
355
349
  - Shape, key or name change on a shared array → a view of the base's storage, no copy. Part of compact storage (a Rank cell, a partition: `Value::part`) → a view of a range of the base's items; a view keeps its whole base alive (as NumPy's). Part of mixed storage → a copy (the memo covers all items).
356
350
  - A large result of a fusible float call holds a pending call in place of its storage, computed on first read (`fusion.rs`).
@@ -364,7 +358,7 @@ Fill: numeric zero, character blank. Mixed nonempty arrays derive their prototyp
364
358
 
365
359
  `Gather` owns copying and widening. `Steps` (rustymath's `gather`): strides, ranges and fills, rotations, offset tables. `Gather::walk` copies compact storage via `rustymath::gather::walk`. Structural operations should use `remap`/gathering, not per-item `Value` reconstruction. Equal-shape cells copy in blocks. `Items` reads counts, positions and axes from compact storage without boxing items. Shape, tally, positions, predicates: dedicated integer and Boolean builders.
366
360
 
367
- Fill choice: `⍠`'s options record or a window specification's `fill` key (`WindowSpec`, `primitive/structural.rs`). `Primitive::fill_for` validates one scalar item of the data's type (`Value::fill_of`); nested data takes any BPL value. Native fills travel with rustymath's mappings through pending copies, kernels and traces. `copied_fill` consumes fills of mixed data eagerly. Keyed pervasive calls attach native fills to their agreements without copying operands first. Values keep the chosen fill; tangents and label ids read their own zero fill. Maps needing two different fills keep separate copies.
361
+ Fill choice: `⍠`'s options record or a window specification's `fill` key (`WindowSpec`, `primitive/structural.rs`). `Primitive::fill_for` validates one scalar item of the data's type (`Value::fill_of`); nested data takes any BPL value. Ordinary integer data can widen when its current storage cannot hold the fill. Structural plans retain an explicit fill as a separate input, addressed by `Missing::Scalar`; absent an explicit fill, the `ReadPlan` reads its default. `Mapping` carries positions without fill data.
368
362
 
369
363
  Writes: Under with a function, and selective assignment, run the selector on the root while every call builds a node, then walk its result back to the root's positions (`selection::selecting`). A compact root enters as one input node. Any other root enters through leaves (`selection::Leafed`): each compact array or atom, at any depth, as a view of the leaf node for its type of item; each nested array rebuilt from its parts; each host item (exact number, function, operator) copied to an address of its own (`Value::readdressed`).
370
364
 
@@ -510,12 +504,12 @@ Batched maps (`batch.rs`):
510
504
  - Folds and scans `folded_cells` misses (e.g. by a dfn) run the fold's own loop over the batch's items, one call per stage on item `j` of every cell (`Batch::at`); `fold_array`, `primitive_fold` join stage batches into one (`joined`). Every fold and scan route decides structural cases (unit, empty lanes, result shape) in `FoldPlan` and ends in `folded`, the only place giving the result its layout, fused folds included. Folds and scans by non-primitives over several lanes try their own batched run: `operators::by_lanes` moves the fold axis last and runs the derived fold over lanes via `batch::tried`; `operators::by_triples`, for `f.g` with non-primitive `g`: one batched `g` call on a frame of rows by contraction by columns, then the `f` fold along the contraction, per chunk of rows whose triples hold at most `batch::CHUNK` items (`operators::by_rows`, shared with products of primitives). A try giving `None` → the usual loop from the start. A fold keeps its stops on its operand's `Definition` (`Function::remembers`).
511
505
  - Stops: `batch::tries` holds every try's conditions. A call no route covers stops the run (`transform::Stop`). Constants with axes that, spread over the frame, would exceed both 4× the arguments' items and `batch::CHUNK` (2²¹) items stop it, naming a chunk of cells whose share is at most `CHUNK` (`oversized`, `Stop::chunk`); `tried` then runs the operand once per chunk (`batch::chunked`), each a batched level on a one-axis frame, joining results as the per-cell run would. A chunk stopping for size restarts with its own smaller chunk. One cell's share alone over `CHUNK` → one call per cell.
512
506
  - Code that must run once per cell asks the levels first (`Levels::effect`): output, input, `⍕` of a carried value, acting system-function code (`Effect::Acts`, via `Context::acts`); a guard or prototype call that would catch an error (`Effect::Catches`); a write outside the map's frames (`Effect::Writes`, via `Levels::record_write`). An observing read (`Value::observed`: a count, a position) stops the run too.
513
- - A guard on a batch of the run splits it (`Session::guard` via `operators::guard`): `batch::truths` gives each cell's Boolean; each side runs once as a guard case on its cells (`Levels::case`), through `⍚`'s `Cells`; batched bindings of the run's frames read at the side's cells (`Session::restricted`, via `batch::read_cells`, `operators::cells_at`); `Cells::assembled` joins the sides. In a case, the run's frame is the case's cells, random draws draw for them, and a write to an enclosing frame stops the run.
514
- - A map inside the run, the run innermost, widens it (`batch::Entry::Widen`): a case with no definition, frame = the run's frame then the map's; the run's batches among the map's arguments lay over it (`batch::laid_over`); bindings made before the widening lay over it when read (`Session::read_binding`). A widened run that stops, or an Each with array results, falls back to per-cell calls inside the run. A dfn guard already splitting cells in another frame stops the run as recursion (`Cause::Recursion`); sides differing in layout or kind stop it as a call with no rule.
515
- - Each stop carries its cause (`transform::Cause`), setting how long a dfn operand remembers it (`Cause::kept`): effect, write, observing read, recursion: always; no covering route: while later calls repeat argument kinds and cell shapes; memory guard: while they also repeat the frame shape; caught error: never (it depends on cell values). `Definition::remember` holds `ALWAYS` or an argument signature (`batch::signature`), each with the cause (`batch::holding`). A covered later try falls back without calling the operand, with an `"an earlier stop"` event naming the cause. A stop's `fallbacks` event names its cause (`Cause::reason`) and, for an uncovered primitive call, the glyph (`Stop::refusing`).
507
+ - A dfn guard observes its predicate through ordinary `Value::boolean`. A per-cell predicate stops batching before either body runs. Constant and shape predicates can remain batched. Guard correctness is tested; guarded-dfn throughput has no wall, instruction or allocation budget. Use Agenda/Under for intentional whole-array branching.
508
+ - A map inside the run, with the run innermost, widens it (`batch::Entry::Widen`): its frame is the run's frame followed by the map's. The run's batches among the arguments lay over it (`batch::laid_over`); bindings made before widening lay over it when read (`Session::read_binding`). `Levels::widen/end_widening` save and restore the frame and binding-write boundary. A widened run that stops, or an Each with array results, falls back to per-cell calls inside the run.
509
+ - Each stop carries its cause (`transform::Cause`), setting how long a dfn operand remembers it (`Cause::kept`): effect, write, observing read: always; no covering route: while later calls repeat argument kinds and cell shapes; memory guard: while they also repeat the frame shape; caught error: never (it depends on cell values). `Definition::remember` holds `ALWAYS` or an argument signature (`batch::signature`), each with the cause (`batch::holding`). A covered later try falls back without calling the operand, with an `"an earlier stop"` event naming the cause. A stop's `fallbacks` event names its cause (`Cause::reason`) and, for an uncovered primitive call, the glyph (`Stop::refusing`).
516
510
  - Code with no batch rule reading a batch's items gets item carriers (item i of every cell) and records an `itemwise` row, route `"batched items"`. `explain::itemwise`: the one helper for item-at-a-time routes; the innermost call claims the counts (`Function::reported`), as for `forced`. A kernel then reading a number meets the stop `Carrier::computed` gives a batch → a missed reader costs speed or a fallback, never a wrong result.
517
511
  - A batched run can also start inside a `∂` call: its level is newer than the `∂` tag → batch rules take each call first; their whole-array calls reach the derivative rules. A batch's whole can carry a dual (kind checks read `Value::template_dtype`). Stacks of matrices whose wholes carry a dual take derivative rules via `Pairing::Matrices` (`eval::whole_cells`): stacked kernels read compact storage. `∂` inside the run differentiates by batches of atoms or arrays: `derivative::numbers` counts a cell's numbers from the batch's template; all cells share each direction's seed; the Jacobian joins into one batch (`batch::joined`). A planless move on a dual whose primal is a batch runs on primal and tangent apart (`derivative::apart`). Adjoints a transpose adds into a batch add as one sum on its whole (`batch::scatter_add`). An attached rule runs on the whole batch at its argument's `∂` tag (`batch::call`); `batch::split_whole`, `batch::dual_of_wholes` keep the newest level outermost.
518
- - Random: a map's draws read streams that the outermost map's count, each map's place, axis by axis, and the draw's place among its cell's draws pick (`distribution::map`, `distribution::cell`, `rustymath::random::Key::folded`); a batched run's cells take their places from its frame. Batched and per-cell runs draw the same numbers, under a splitting guard too; a batched run in chunks that draws falls back to its cells. A batched try outside any map that falls back restores each generator's count (`distribution::settle`).
512
+ - Random draws run in the batched frame's cell order (`distribution::drawing/drawn_cells`). A nested map widens the same frame and keeps that outer-major order. The outer batched attempt records each generator's starting counter in `Session::drawn`; only its Begin owner settles the journal. Success commits the draws and fallback restores counters before ordinary per-cell execution. Widened nested calls never settle the outer journal.
519
513
  - The result must be a batch at the run's level, a strand of batches whose kinds join (`joined`), or a carrier-free atom or compact array as every cell's result; else fallback. A pervasive call stops where its result kind differs from the one kind a route gives every item (`pervasive::expected`) → each cell keeps its per-cell kind.
520
514
  - `reference::check` runs each reference case with `batch` off, on, and on under fusion's small sizes (`settings::Sizes::SMALL`), comparing storage kinds with the first run's.
521
515
 
@@ -623,7 +617,7 @@ CSV columns, JSON arrays and Python lists share `data::imported`: a non-fill fin
623
617
  - Each expectation evaluates after its code, under the settings the code leaves. A float matches within 1e-13, or 8 ulps of its own width where greater, unless the header sets a tolerance (`reference::same_atom`). `.bpl` files define active coverage. Captured foreign expectations have no exactness; local expectations compare exactness and structural values independently, and fix where storage is mixed: the result must be mixed exactly where the expectation is, at each nesting level (`kind_difference`), unless the header carries `mixed`.
624
618
  - Pending gaps go in inventory JSONL, not passing error tests. Format and review/activation workflow: `tests/reference/README.md`. `python/basedpl/reference.py` and `bpltests.py` own import, capture, inventory and worker checks. `lib/*.bpl`: readable dfn examples; modules import other library files with private relative names.
625
619
 
626
- `tests/speed.rs`: each speed file's `timed_` test checks its cases' costs against native budgets from `speed/*.bpl` via `testkit/src/timing.rs`, and its `counts_` test checks their instructions and allocated bytes for each item (`timing::counts`). `speed/growth.bpl` holds the growth and allocation cases, and `speed/steps.bpl` the per-call cases. The worker and Python measurement tools reuse it. `tests/speed.rs` and `tests/reference.rs`'s children register rustymath's memory guard and turn on its checks (`memory::set_checks`) in one-case-at-a-time processes: a reference case leaving more bytes held in large allocations than it found, on each of two runs, fails as a leak, as does a speed case whose timed runs leave more than its first run. A free or reallocation passing more bytes than its block holds aborts with a backtrace. Python tests cover conversion, cancellation and frontend behaviour, not a second Rust semantic suite. Combine related checks into readable tests.
620
+ `tests/speed.rs`: each speed file has a `counts_` test for instructions and allocated bytes per item (`timing::counts`). Files with wall-time budgets also have a `timed_` test. `speed/growth.bpl` holds growth/allocation cases; `speed/steps.bpl` holds per-call cases. Worker and Python measurement tools reuse these helpers. Counts also check retained large allocations with the reference runner's two-successful-run policy: a positive after warm-up triggers confirmation, continued growth fails, and errors remain errors. The guard counts allocations of at least 64 KiB. Counted-size, compilation-disabled runs do not provide identical full-size/JIT retention coverage. Timed cases additionally check storage retained after their first run. The test processes register rustymath's memory guard and enable its checks; a free/reallocation exceeding its block aborts with a backtrace. Python tests cover conversion, cancellation and frontend behaviour, not a second Rust semantic suite. Combine related checks into readable tests.
627
621
 
628
622
  ## Documentation and generated assets
629
623
 
@@ -648,9 +642,9 @@ Quarto renders saved outputs. `bpl-nb --save` updates notebook outputs without c
648
642
 
649
643
  Before approval: verify successful tests for the release commit and the relevant installed artifacts. Isolated wheel installs only for packaging-sensitive work or release preparation, with a small relevant subset of existing tests. `ship-rs-build --profile dist` builds the distributed configuration; bare `ship-rs-build` uses release, for local checks.
650
644
 
651
- Before each release, run `bpl-tests prerelease` from basedpl's root, in a shell, not a kernel, while no one else edits either repository. Development builds, native timings and target builds use the `release` profile unless `--profile NAME` selects another. The checked test profile stays separate. It runs both repositories' release checks and saves:
645
+ Before each release, run `bpl-tests prerelease` from basedpl's root, in a shell, not a kernel. A consistent source checkpoint makes its results useful; coordinate edits with validation so the recorded artifacts identify the tested candidate, rather than imposing a blanket editing freeze. Development builds, native timings and target builds use the `release` profile unless `--profile NAME` selects another. The checked test profile stays separate. It runs both repositories' release checks and saves:
652
646
 
653
- 1. Builds, checked tests and saves run in parallel once their dependencies pass: development installation, `nbdev-prepare`, and checked-profile native correctness tests in their own target directory. basedpl's development installation waits for rustymath's. It includes editor generation; basedpl's Node tests, saved BPL notebooks and `target_builds` wait for it, and browser tests follow `target_builds`.
647
+ 1. Builds, checked tests and saves run in parallel once their dependencies pass: development installation, `nbdev-prepare`, and checked-profile native correctness tests in Cargo's normal checked-profile directory under the shared target. basedpl's development installation waits for rustymath's. It includes editor generation; basedpl's Node tests, saved BPL notebooks and `target_builds` wait for it, and browser tests follow `target_builds`.
654
648
  2. After those steps, one at a time with nothing else running: one full default `run_tests` per repository (correctness, instructions, allocations and timings), one `pytest -q` per repository (including rustymath's Python speed tests), the three uncompiled native-kernel controls, `thread_scaling`, and browser speed tests in selector batches. Native suites are not repeated in per-file batches. The fresh browser-speed command partitions fixtures after development installation, never through the bootstrap process's old extension. Each completed browser report is flushed to the stage log immediately, without a duplicate final report. Each browser batch has the existing 30-second execution budget and verifies every selected `(file, section, code)` identity, including retries. With `--keep-going`, a failed step does not hide later independent steps.
655
649
  3. `nbdev-clean` in both repositories, in a `finally` block after failures, launch errors or cancellation.
656
650
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: basedpl
3
- Version: 0.1.85
3
+ Version: 0.1.86
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Requires-Dist: fastcore
@@ -173,7 +173,7 @@ A [map](terms.qmd#term-map) with no cells, and an empty inner product, call thei
173
173
 
174
174
  Where it can, a map calls its operand once on all its cells together, in one batched call. Each primitive that the operand calls then runs once on the whole arguments: `{⍵×⍵+1}¨v` costs about what `v×v+1` costs. A system function that doesn't act, such as `•json` or `•ucs`, runs once for each cell within the batched call. The results, errors, output, writes to names and [random draws](system/rand.qmd) are the same as when the operand runs once for each cell.
175
175
 
176
- A guard's predicate that reads a cell's value splits the batched call, as [`⍚`](glyphs/diamond-underbar.qmd) splits its argument's cells. The cells where the predicate holds run the rest of the body together, and the other cells run the bodies after it together, each with its own cells of every value that differs from cell to cell. `{⍵<0?0;√⍵}¨v` runs `√` once, on the cells that aren't negative. A side that no cell takes doesn't run.
176
+ A guard that reads a cell's value stops batching. The map then calls its operand separately for each cell, running only the selected body. Guards that depend only on shared constants or cell shapes can stay batched. Use [`⍚`](glyphs/diamond-underbar.qmd) or Under for whole-array conditional work; dfn guards have no performance requirement.
177
177
 
178
178
  A fold or scan by a dfn of an array with more than one lane, such as one along each row of a matrix, makes one batched call for each stage. The call at position `j` runs on item `j` of every lane. `{⍺-⍵}/m` folds every row of `m` from the right with one call for each column, rather than one for each item. In `x f.g y` with a dfn `g`, one batched call runs `g` on every pairing of a row of `x`, a position along the contraction and a column of `y`. `f` then folds along the contraction. Where its batched call stops, a fold or inner product calls its operand once for each item, for the same reasons as a map, below.
179
179
 
@@ -189,13 +189,13 @@ The map calls its operand once for each cell instead where the operand:
189
189
  - has a guard that catches an error
190
190
  - gives a result that holds arrays as items
191
191
  - calls a primitive that can't run on all the cells at once
192
- - has a guard on a cell's value whose two sides give results of different shapes, or of different kinds under dynamic kinds, write to a name outside the dfn, or call the dfn again
192
+ - has a guard that reads a cell's value
193
193
  - combines each cell with an array that every cell shares, where repeating that array for every cell would hold more than about 2 million items and 4 times the items of the call's arguments, and the array alone holds more than about a million items
194
194
  - has an argument whose copy for every cell would pass the size limit for one array
195
195
 
196
196
  Where such a shared array is smaller, the map calls its operand once on each chunk of cells instead, so that each call repeats the array into at most about 2 million items, and joins the chunks' results.
197
197
 
198
- A dfn remembers why its batched call stopped, and later maps skip the batched call while that cause would recur. After output, input, `⍕`, a system function that acts, a write to a name outside the map, a read of a cell's value or a guard in a recursive call, they skip it on every later call. After a call that can't run on all the cells at once, they skip it while the arguments keep their kinds and cell shapes. After a call that would repeat a shared array too far, they skip it while the frame also keeps its shape. A caught error isn't remembered, because whether an error arises depends on the cells' values.
198
+ A dfn remembers why its batched call stopped, and later maps skip the batched call while that cause would recur. After output, input, `⍕`, a system function that acts, a write to a name outside the map or a read of a cell's value, they skip it on every later call. After a call that can't run on all the cells at once, they skip it while the arguments keep their kinds and cell shapes. After a call that would repeat a shared array too far, they skip it while the frame also keeps its shape. A caught error isn't remembered, because whether an error arises depends on the cells' values.
199
199
 
200
200
  A map always calls its operand once for each cell where an argument that differs from cell to cell is held in mixed storage, as [`•storage`](system/storage.qmd) reports for nested arrays and exact rationals. A map of one cell whose arguments' cells are atoms makes no batched call either, because one plain call is faster. The `fallbacks` table of [`•explain`](system/explain.qmd) lists, with the reason, each map whose batched call fell back to one call for each cell, each map that skipped its batched call because an earlier one stopped. Its `itemwise` table lists each batched call that read its cells' items one at a time. With `batch` set to `$f` in [`•prefs`](system/prefs.qmd), every map calls its operand once for each cell.
201
201
 
@@ -65,6 +65,8 @@ Each and Rank try to apply a function once to a batch of cells. A cell is the pa
65
65
 
66
66
  Ordinary nested and ragged arrays keep their existing representation. Uniform whole-array work can batch; an unsupported layout or result takes the normal per-cell path. Per-cell program replay and one-pass ragged batching are different optimizations. Neither requires a segmented storage format merely to preserve existing values.
67
67
 
68
+ A guard that reads a cell's data stops batching and runs normally per cell. Constant and shape guards can remain batched. Guarded-dfn throughput has no budget or optimization requirement; Agenda and Under express intentional whole-array branching. Ordinary unguarded per-cell analytical work remains a performance target.
69
+
68
70
  Transformation tags select the newest active level among a call's arguments. A batch can contain a dual, and a derivative can encounter earlier derivative levels. Calls made by a rule enter normal dispatch again, preserving these nesting relationships. Each level has a scoped lifetime: normal returns and errors perform its semantic exits; a panic restores the outer transformation state without running language work. Code reading actual items asks the transformation boundary to observe them. Item kernels should consume the buffer, slice or storage view they operate on rather than require unrelated callers to pass a proof wrapper.
69
71
 
70
72
  [JAX's interpreter stack, lifting and batching](https://github.com/jax-ml/jax/blob/main/docs/autodidax.md#part-1-transformations-as-interpreters-standard-evaluation-jvp-and-vmap) provides the model for composing transformations around primitive calls. BPL controls its evaluator and function values, including ordinary fallback when a transformation stops.
@@ -95,7 +97,7 @@ Lowering retains immutable read recipes. Basedpl binds values and slots, schedul
95
97
 
96
98
  Pending items are observed at the storage/read boundary. A read can force pending work under the settings captured by its calls. Language shape, kind, name and host-operation checks remain with their owners. Recording stops are internal control flow, distinct from user errors. Glyph pages define individual operations' results and errors; this page adds no new exceptional-input guarantees.
97
99
 
98
- Default fills, explicit fills, an empty result's prototype and write destinations are different facts. They can share lower-level operations without becoming interchangeable. Reads and writes should consume established selection geometry instead of reconstructing it from a stored result. A copied value does not by itself retain the relationship needed for assignment.
100
+ Default fills, explicit fills, an empty result's prototype and write destinations are different facts. They can share lower-level operations without becoming interchangeable. Reads and writes should consume established selection geometry instead of reconstructing it from a stored result. A copied value does not by itself retain the relationship needed for assignment. Python array brackets and function-result selection share native selector operations whose slice bounds resolve against the selected array's actual layout.
99
101
 
100
102
  Keep hot numerical bodies inlinable, and dispatch once per block or whole call where appropriate. Retain a simple native path for the browser, which has no BPL JIT. Share the mathematical algorithm instead of creating a BPL-specific numerical implementation or a blanket vector-call ABI.
101
103
 
@@ -68,6 +68,32 @@ T←["a":1 "x":[10 20 30]]
68
68
  ⊢.x.[[2 0]] T ⍝ 30 10
69
69
  ```
70
70
 
71
+ `.[I]` by itself is a selector function, equivalent to `⊢.[I]`. Ordinary operators can modify it: `.[I]¨` selects from each item.
72
+
73
+ `T.<operators>[I]` applies those operators to the selector before calling it on `T`. The first bracket at the current level starts the selectors. Parentheses and dfns keep their contents together. Put a bracket-valued operator operand in parentheses, as in `T.⍤([0 1])[I]`. Numeric superscripts specify Rank in this position.
74
+
75
+ ```bpl
76
+ T←[[10 20] [30 40]]
77
+ .[1]¨T ⍝ 20 40
78
+ T.¨[1] ⍝ 20 40
79
+ m←2 3⍴⍳6ₓ
80
+ m.¹[1] ⍝ [1 4]ₓ
81
+ m.¹ ²[1] ⍝ [3 4 5]ₓ
82
+ m.⍤(1 2)[1] ⍝ [3 4 5]ₓ
83
+ ```
84
+
85
+ A named or parenthesized operator head needs a space after the dot: `T. op[I]` or `T. (op)[I]`. Tight `T.op[I]` keeps its field meaning, and tight `T.(expr)[I]` keeps its scope meaning. A spaced function head retains its ordinary inner-product meaning.
86
+
87
+ ```bpl
88
+ T←[[10 20] [30 40]]
89
+ op←¨
90
+ T. op[1] ⍝ 20 40
91
+ T. (op)[1] ⍝ 20 40
92
+ ```
93
+
94
+ The data subject evaluates first. The selectors evaluate once when the selector function is built, outside its operators. With a function subject, the operators select from that function's result: `f.¨[I]` is `(.[I]¨)∘f`. The function runs once on the original arguments. The function subject binds as tightly as in `f.[I]`. These selectors also work through Under and as selective assignment targets.
95
+
96
+
71
97
  After a keyed vector `T`, `T.(expr)` evaluates `expr` with each key of `T` as a name for its item. After a matrix, or any array with keys on its first axis, each key names its major cell. Names that aren't keys resolve in the current scope, and a key hides a name it shares. A key that holds a function binds as a function. The scope's own result binds where a subject would, whatever it holds, as a call's result does: `T.f 3` calls the function that field `f` holds, where `T.(f) 3` is a strand of that function and 3. Assignments inside the parentheses stay there, and leave `T` and the current scope unchanged. [Execute](hydrant.qmd) does the same for code in text: `T⍎"price×qty"` is `T.(price×qty)`. A scope doesn't map over an array of records. Write `{⍵.(expr)}¨recs` for that.
72
98
 
73
99
  ```bpl
@@ -71,6 +71,8 @@ Wrapping a primitive in a dfn gives the general rule:
71
71
 
72
72
  ```bpl
73
73
  {+/⍵}⍠1 2⁝2 3 4⍴⍳24ₓ ⍝ [6 22 38⋄54 70 86]ₓ
74
+ m←2 4⍴⍳8
75
+ 1 1 2 2{⍺⊆⍵}⍠1 m ⍝ [[0 1] [2 3]⋄[4 5] [6 7]]
74
76
  ```
75
77
 
76
78
  ## Inverse