basedpl 0.1.83__tar.gz → 0.1.85__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 (558) hide show
  1. basedpl-0.1.85/.config/nextest.toml +39 -0
  2. {basedpl-0.1.83 → basedpl-0.1.85}/.github/workflows/test.yml +2 -1
  3. {basedpl-0.1.83 → basedpl-0.1.85}/CONTRIBUTING.md +3 -3
  4. {basedpl-0.1.83 → basedpl-0.1.85}/Cargo.lock +107 -54
  5. {basedpl-0.1.83 → basedpl-0.1.85}/Cargo.toml +18 -20
  6. {basedpl-0.1.83 → basedpl-0.1.85}/DEV.md +92 -62
  7. {basedpl-0.1.83 → basedpl-0.1.85}/PKG-INFO +2 -2
  8. basedpl-0.1.83/nbs/target.qmd → basedpl-0.1.85/TARGET.md +5 -3
  9. {basedpl-0.1.83/python/basedpl → basedpl-0.1.85/editors/jetbrains/BPL.tmbundle/Syntaxes}/bpl.tmLanguage.json +2 -2
  10. {basedpl-0.1.83/python/basedpl → basedpl-0.1.85/editors/jetbrains/BPL.tmbundle/Syntaxes}/hpl.tmLanguage.json +2 -2
  11. {basedpl-0.1.83 → basedpl-0.1.85}/editors/jetbrains/BPL.xml +10 -0
  12. {basedpl-0.1.83 → basedpl-0.1.85}/editors/vim/syntax/bpl.vim +2 -2
  13. basedpl-0.1.85/image/Cargo.toml +19 -0
  14. {basedpl-0.1.83/src/image → basedpl-0.1.85/image/src}/codecs.rs +1 -1
  15. {basedpl-0.1.83/src/image → basedpl-0.1.85/image/src}/imageio.rs +1 -1
  16. basedpl-0.1.85/image/src/lib.rs +50 -0
  17. basedpl-0.1.85/jit/Cargo.toml +20 -0
  18. basedpl-0.1.83/src/jit.rs → basedpl-0.1.85/jit/src/lib.rs +5 -5
  19. {basedpl-0.1.83 → basedpl-0.1.85}/lib/dyalog.bpl +11 -11
  20. {basedpl-0.1.83 → basedpl-0.1.85}/lib/graph.bpl +2 -2
  21. {basedpl-0.1.83 → basedpl-0.1.85}/lib/numeric.bpl +3 -3
  22. {basedpl-0.1.83 → basedpl-0.1.85}/lib/power.bpl +1 -1
  23. {basedpl-0.1.83 → basedpl-0.1.85}/lib/string.bpl +6 -6
  24. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/assignment.ipynb +6 -6
  25. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/bpl.xml +2 -2
  26. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/comparison.qmd +3 -3
  27. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/composition.qmd +7 -7
  28. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/data.ipynb +18 -18
  29. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/distributions.ipynb +2 -2
  30. basedpl-0.1.85/nbs/foundations.qmd +111 -0
  31. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/attractor.bpl +2 -2
  32. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/boids.bpl +2 -2
  33. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/flow.bpl +3 -3
  34. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/prefs.bpl +1 -1
  35. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/reaction.bpl +1 -1
  36. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/getting-started.ipynb +2 -2
  37. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/at.qmd +3 -3
  38. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/backslash-bar.qmd +2 -2
  39. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/backslash.qmd +3 -3
  40. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-backslash.qmd +12 -12
  41. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-bar.qmd +2 -2
  42. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-diaeresis.qmd +2 -2
  43. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-divide.qmd +1 -1
  44. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-slash.qmd +2 -2
  45. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-star.qmd +3 -3
  46. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-stile.qmd +2 -2
  47. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/circle-times.qmd +2 -2
  48. basedpl-0.1.85/nbs/glyphs/circle.qmd +46 -0
  49. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/colon.qmd +5 -5
  50. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/comma-bar.qmd +3 -3
  51. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/comma.qmd +4 -4
  52. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/del-stile.qmd +2 -2
  53. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/delta-stile.qmd +2 -2
  54. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/diaeresis.qmd +2 -2
  55. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/domino.qmd +2 -2
  56. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/down-arrow.qmd +2 -2
  57. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/down-tack.qmd +3 -3
  58. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/equals.qmd +1 -1
  59. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/greater-than-or-equal.qmd +2 -2
  60. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/hash.qmd +10 -10
  61. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/hydrant.qmd +2 -2
  62. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/iota-underbar.qmd +2 -2
  63. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/iota.qmd +3 -3
  64. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/jot-diaeresis.qmd +5 -3
  65. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/jot.qmd +2 -2
  66. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/left-shoe-underbar.qmd +3 -3
  67. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/left-shoe.qmd +3 -3
  68. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/left-tack.qmd +2 -2
  69. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/left-tail-arrow.qmd +3 -3
  70. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/less-than-or-equal.qmd +2 -2
  71. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/minus.qmd +3 -3
  72. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/not-equals.qmd +1 -1
  73. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/obelus.qmd +3 -3
  74. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/partial.qmd +2 -2
  75. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/pi.qmd +4 -4
  76. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/plus.qmd +2 -2
  77. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quad-colon.qmd +2 -2
  78. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quad-jot.qmd +4 -4
  79. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/radical.qmd +4 -4
  80. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/rho.qmd +2 -2
  81. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/right-shoe.qmd +2 -2
  82. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/right-tack.qmd +2 -2
  83. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/right-tail-arrow.qmd +3 -3
  84. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/squad.qmd +2 -2
  85. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/star-diaeresis.qmd +6 -6
  86. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/star.qmd +3 -3
  87. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/stile-tilde.qmd +3 -3
  88. basedpl-0.1.85/nbs/glyphs/superscript-minus.qmd +23 -0
  89. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/tilde-diaeresis.qmd +3 -3
  90. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/tilde.qmd +2 -2
  91. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/times.qmd +3 -3
  92. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/up-arrow.qmd +2 -2
  93. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/up-down-arrow.qmd +3 -3
  94. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/up-tack.qmd +3 -3
  95. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/vee-bar.qmd +2 -2
  96. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/vee.qmd +2 -2
  97. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/wedge-bar.qmd +2 -2
  98. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/wedge.qmd +2 -2
  99. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs.qmd +7 -6
  100. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/hpl.xml +2 -2
  101. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/index-notation.qmd +4 -4
  102. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/keyboard.qmd +2 -2
  103. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/keyed.ipynb +4 -4
  104. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/llms.txt +10 -9
  105. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/numbers.qmd +6 -6
  106. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/performance.qmd +3 -3
  107. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/python.ipynb +1 -1
  108. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/repl.qmd +1 -1
  109. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/scripts.ipynb +47 -22
  110. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/01_basics.ipynb +31 -31
  111. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/02_functions.ipynb +22 -22
  112. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/03_operators.ipynb +46 -46
  113. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/04_nested-arrays.ipynb +20 -20
  114. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/05_searching-indexing.ipynb +3 -3
  115. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/06_rearranging-arrays.ipynb +14 -14
  116. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/study/07_numerical-tools.ipynb +4 -4
  117. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/syntax.qmd +4 -2
  118. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/csv.qmd +1 -1
  119. basedpl-0.1.85/nbs/system/date.qmd +19 -0
  120. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/decompose.qmd +2 -2
  121. basedpl-0.1.85/nbs/system/deflate.qmd +10 -0
  122. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/distribution.qmd +1 -1
  123. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/explain.qmd +2 -2
  124. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/image.qmd +2 -2
  125. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/index.qmd +3 -3
  126. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/json.qmd +2 -2
  127. basedpl-0.1.85/nbs/system/literal.qmd +10 -0
  128. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/path.qmd +1 -1
  129. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/ucs.qmd +1 -1
  130. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/xml.qmd +2 -2
  131. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system-functions.qmd +2 -2
  132. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/web.ipynb +4 -4
  133. basedpl-0.1.85/nbs/xml.ipynb +918 -0
  134. {basedpl-0.1.83 → basedpl-0.1.85}/py/Cargo.toml +2 -0
  135. {basedpl-0.1.83 → basedpl-0.1.85}/py/src/lib.rs +20 -14
  136. {basedpl-0.1.83 → basedpl-0.1.85}/pyproject.toml +2 -2
  137. {basedpl-0.1.83/editors/jetbrains/BPL.tmbundle/Syntaxes → basedpl-0.1.85/python/basedpl}/bpl.tmLanguage.json +2 -2
  138. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/bpltests.py +218 -161
  139. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/language.js +2 -2
  140. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/editors.py +3 -3
  141. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/functions.py +3 -3
  142. {basedpl-0.1.83/editors/jetbrains/BPL.tmbundle/Syntaxes → basedpl-0.1.85/python/basedpl}/hpl.tmLanguage.json +2 -2
  143. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/keyboards.py +1 -0
  144. {basedpl-0.1.83 → basedpl-0.1.85}/src/array/storage.rs +7 -3
  145. {basedpl-0.1.83 → basedpl-0.1.85}/src/array.rs +19 -15
  146. {basedpl-0.1.83 → basedpl-0.1.85}/src/batch.rs +11 -18
  147. {basedpl-0.1.83 → basedpl-0.1.85}/src/csv.rs +2 -2
  148. {basedpl-0.1.83 → basedpl-0.1.85}/src/data.rs +1 -1
  149. {basedpl-0.1.83 → basedpl-0.1.85}/src/date.rs +8 -8
  150. {basedpl-0.1.83 → basedpl-0.1.85}/src/derivative/tape.rs +13 -19
  151. {basedpl-0.1.83 → basedpl-0.1.85}/src/derivative.rs +4 -10
  152. {basedpl-0.1.83 → basedpl-0.1.85}/src/display.rs +3 -3
  153. {basedpl-0.1.83 → basedpl-0.1.85}/src/element.rs +3 -53
  154. {basedpl-0.1.83 → basedpl-0.1.85}/src/error.rs +2 -2
  155. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/assign.rs +7 -10
  156. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/binder.rs +25 -13
  157. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/agenda.rs +4 -4
  158. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/each.rs +3 -2
  159. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/folds.rs +7 -4
  160. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/key.rs +5 -5
  161. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/power.rs +6 -4
  162. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/products.rs +6 -7
  163. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators.rs +20 -0
  164. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/rewrite.rs +5 -5
  165. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/session.rs +12 -8
  166. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/tree.rs +1 -3
  167. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval.rs +25 -30
  168. basedpl-0.1.85/src/events.rs +90 -0
  169. {basedpl-0.1.83 → basedpl-0.1.85}/src/explain.rs +25 -25
  170. {basedpl-0.1.83 → basedpl-0.1.85}/src/files.rs +4 -4
  171. {basedpl-0.1.83 → basedpl-0.1.85}/src/fusion.rs +169 -189
  172. {basedpl-0.1.83 → basedpl-0.1.85}/src/host.rs +0 -7
  173. {basedpl-0.1.83 → basedpl-0.1.85}/src/host_web.rs +0 -3
  174. {basedpl-0.1.83 → basedpl-0.1.85}/src/image.rs +6 -48
  175. {basedpl-0.1.83 → basedpl-0.1.85}/src/json.rs +2 -2
  176. {basedpl-0.1.83 → basedpl-0.1.85}/src/keyed.rs +1 -1
  177. {basedpl-0.1.83 → basedpl-0.1.85}/src/lib.rs +15 -5
  178. {basedpl-0.1.83 → basedpl-0.1.85}/src/number.rs +11 -11
  179. {basedpl-0.1.83 → basedpl-0.1.85}/src/number_theory.rs +1 -1
  180. {basedpl-0.1.83 → basedpl-0.1.85}/src/pervasive/fold.rs +9 -6
  181. {basedpl-0.1.83 → basedpl-0.1.85}/src/pervasive/product.rs +2 -2
  182. {basedpl-0.1.83 → basedpl-0.1.85}/src/pervasive/scan.rs +2 -2
  183. {basedpl-0.1.83 → basedpl-0.1.85}/src/pervasive.rs +54 -25
  184. {basedpl-0.1.83 → basedpl-0.1.85}/src/plan.rs +122 -47
  185. {basedpl-0.1.83 → basedpl-0.1.85}/src/polynomial.rs +1 -1
  186. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/facts.rs +1 -1
  187. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/numeric.rs +4 -4
  188. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/search.rs +2 -2
  189. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/structural.rs +7 -7
  190. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive.rs +16 -15
  191. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/blocks/grouping.rs +8 -34
  192. basedpl-0.1.85/src/program/blocks/items.rs +60 -0
  193. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/blocks/record.rs +1 -1
  194. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/blocks.rs +191 -217
  195. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/contraction.rs +10 -12
  196. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/layout.rs +15 -12
  197. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/run.rs +82 -32
  198. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/trace.rs +164 -177
  199. {basedpl-0.1.83 → basedpl-0.1.85}/src/program/verify.rs +2 -12
  200. {basedpl-0.1.83 → basedpl-0.1.85}/src/program.rs +108 -31
  201. {basedpl-0.1.83 → basedpl-0.1.85}/src/protocol.rs +1 -1
  202. {basedpl-0.1.83 → basedpl-0.1.85}/src/search.rs +0 -4
  203. {basedpl-0.1.83 → basedpl-0.1.85}/src/selection.rs +4 -4
  204. {basedpl-0.1.83 → basedpl-0.1.85}/src/settings.rs +17 -8
  205. {basedpl-0.1.83 → basedpl-0.1.85}/src/symbols.rs +4 -4
  206. {basedpl-0.1.83 → basedpl-0.1.85}/src/syntax.rs +61 -45
  207. {basedpl-0.1.83 → basedpl-0.1.85}/src/system.rs +4 -4
  208. {basedpl-0.1.83 → basedpl-0.1.85}/src/transform.rs +3 -3
  209. {basedpl-0.1.83 → basedpl-0.1.85}/src/xml.rs +1 -1
  210. basedpl-0.1.85/testkit/Cargo.toml +19 -0
  211. basedpl-0.1.85/testkit/src/lib.rs +21 -0
  212. {basedpl-0.1.83 → basedpl-0.1.85/testkit}/src/reference.rs +127 -69
  213. basedpl-0.1.85/testkit/src/timing.rs +470 -0
  214. {basedpl-0.1.83 → basedpl-0.1.85}/tests/acceptance/held_out.bpl +5 -5
  215. {basedpl-0.1.83 → basedpl-0.1.85}/tests/core.rs +47 -1
  216. {basedpl-0.1.83 → basedpl-0.1.85}/tests/derivatives.rs +8 -7
  217. basedpl-0.1.85/tests/explain.rs +73 -0
  218. {basedpl-0.1.83 → basedpl-0.1.85}/tests/jit.rs +51 -44
  219. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/README.md +9 -14
  220. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/aplcart.bpl +286 -295
  221. basedpl-0.1.85/tests/reference/aplcart_mathish.bpl +11 -0
  222. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/april.bpl +90 -150
  223. basedpl-0.1.85/tests/reference/april_mathish.bpl +61 -0
  224. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/bqn.bpl +5 -5
  225. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/core.bpl +339 -409
  226. basedpl-0.1.85/tests/reference/core_mathish.bpl +151 -0
  227. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/dyalog.bpl +2 -5
  228. basedpl-0.1.85/tests/reference/dyalog_mathish.bpl +5 -0
  229. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/graphics.bpl +22 -16
  230. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/lib.bpl +0 -12
  231. basedpl-0.1.85/tests/reference/lib_mathish.bpl +14 -0
  232. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/ngn.bpl +19 -22
  233. basedpl-0.1.85/tests/reference/ngn_mathish.bpl +5 -0
  234. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/static.bpl +10 -6
  235. basedpl-0.1.85/tests/reference.rs +364 -0
  236. {basedpl-0.1.83 → basedpl-0.1.85}/tests/settings.rs +50 -39
  237. basedpl-0.1.85/tests/speed/README.md +15 -0
  238. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/arrays.bpl +288 -277
  239. basedpl-0.1.85/tests/speed/bodies.bpl +13 -0
  240. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/calls.bpl +4 -3
  241. basedpl-0.1.85/tests/speed/comparisons_mathish.bpl +14 -0
  242. basedpl-0.1.85/tests/speed/growth.bpl +65 -0
  243. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/images.bpl +25 -24
  244. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/maps.bpl +69 -67
  245. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/models.bpl +51 -51
  246. basedpl-0.1.85/tests/speed/moving.bpl +14 -0
  247. basedpl-0.1.85/tests/speed/steps.bpl +99 -0
  248. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/structure.bpl +57 -56
  249. {basedpl-0.1.83 → basedpl-0.1.85}/tests/speed/tables.bpl +6 -6
  250. basedpl-0.1.85/tests/speed.rs +85 -0
  251. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_api.py +1 -1
  252. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_bpltests.py +31 -9
  253. {basedpl-0.1.83 → basedpl-0.1.85}/tests/wasm-speed.mjs +7 -6
  254. {basedpl-0.1.83 → basedpl-0.1.85}/tests/wasm.mjs +3 -1
  255. basedpl-0.1.83/nbs/foundations.qmd +0 -160
  256. basedpl-0.1.83/nbs/glyphs/circle.qmd +0 -46
  257. basedpl-0.1.83/nbs/system/date.qmd +0 -19
  258. basedpl-0.1.83/nbs/system/deflate.qmd +0 -10
  259. basedpl-0.1.83/nbs/system/literal.qmd +0 -10
  260. basedpl-0.1.83/nbs/xml.ipynb +0 -918
  261. basedpl-0.1.83/src/program/blocks/items.rs +0 -187
  262. basedpl-0.1.83/src/timing.rs +0 -340
  263. basedpl-0.1.83/tests/explain.rs +0 -124
  264. basedpl-0.1.83/tests/instructions.txt +0 -52
  265. basedpl-0.1.83/tests/reference.rs +0 -194
  266. basedpl-0.1.83/tests/scaling.rs +0 -135
  267. basedpl-0.1.83/tests/speed/README.md +0 -13
  268. basedpl-0.1.83/tests/speed.rs +0 -24
  269. {basedpl-0.1.83 → basedpl-0.1.85}/.cargo/config.toml +0 -0
  270. {basedpl-0.1.83 → basedpl-0.1.85}/.gitattributes +0 -0
  271. {basedpl-0.1.83 → basedpl-0.1.85}/.github/workflows/ci.yml +0 -0
  272. {basedpl-0.1.83 → basedpl-0.1.85}/.github/workflows/docs.yml +0 -0
  273. {basedpl-0.1.83 → basedpl-0.1.85}/.gitignore +0 -0
  274. {basedpl-0.1.83 → basedpl-0.1.85}/.node-version +0 -0
  275. {basedpl-0.1.83 → basedpl-0.1.85}/LICENSE +0 -0
  276. {basedpl-0.1.83 → basedpl-0.1.85}/README.md +0 -0
  277. {basedpl-0.1.83 → basedpl-0.1.85}/_config.yml +0 -0
  278. {basedpl-0.1.83 → basedpl-0.1.85}/_layouts/default.html +0 -0
  279. {basedpl-0.1.83 → basedpl-0.1.85}/build.rs +0 -0
  280. {basedpl-0.1.83 → basedpl-0.1.85}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
  281. {basedpl-0.1.83 → basedpl-0.1.85}/editors/jetbrains/README.md +0 -0
  282. {basedpl-0.1.83 → basedpl-0.1.85}/editors/macos/BasedPL-de.txt +0 -0
  283. {basedpl-0.1.83 → basedpl-0.1.85}/editors/macos/BasedPL-es.txt +0 -0
  284. {basedpl-0.1.83 → basedpl-0.1.85}/editors/macos/BasedPL-fr.txt +0 -0
  285. {basedpl-0.1.83 → basedpl-0.1.85}/editors/macos/BasedPL-uk.txt +0 -0
  286. {basedpl-0.1.83 → basedpl-0.1.85}/editors/macos/BasedPL-us.txt +0 -0
  287. {basedpl-0.1.83 → basedpl-0.1.85}/editors/vim/ftdetect/bpl.vim +0 -0
  288. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/README.md +0 -0
  289. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/build.ps1 +0 -0
  290. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/install.ps1 +0 -0
  291. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/keyboard.c +0 -0
  292. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/keyboard.def +0 -0
  293. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/keyboard.rc +0 -0
  294. {basedpl-0.1.83 → basedpl-0.1.85}/editors/windows/layout.h +0 -0
  295. {basedpl-0.1.83 → basedpl-0.1.85}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
  296. {basedpl-0.1.83 → basedpl-0.1.85}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
  297. {basedpl-0.1.83 → basedpl-0.1.85}/index_files/figure-html/cell-17-output-1.svg +0 -0
  298. {basedpl-0.1.83 → basedpl-0.1.85}/index_files/figure-html/cell-18-output-1.svg +0 -0
  299. {basedpl-0.1.83 → basedpl-0.1.85}/lib/LICENSE-april +0 -0
  300. {basedpl-0.1.83 → basedpl-0.1.85}/lib/README.md +0 -0
  301. {basedpl-0.1.83 → basedpl-0.1.85}/lib/array.bpl +0 -0
  302. {basedpl-0.1.83 → basedpl-0.1.85}/lib/regex.bpl +0 -0
  303. {basedpl-0.1.83 → basedpl-0.1.85}/lib/tree.bpl +0 -0
  304. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/.gitignore +0 -0
  305. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/_quarto.yml +0 -0
  306. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/arrays.ipynb +0 -0
  307. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/autodiff.qmd +0 -0
  308. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/bqn.xml +0 -0
  309. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/bracket-types.ipynb +0 -0
  310. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/cli.qmd +0 -0
  311. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/dfns.ipynb +0 -0
  312. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/driver.js +0 -0
  313. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/dyalog.ipynb +0 -0
  314. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/dyalog.xml +0 -0
  315. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/evaluation.qmd +0 -0
  316. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/fonts/BQN386B.woff2 +0 -0
  317. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/fonts/README.md +0 -0
  318. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/fonts.css +0 -0
  319. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/dragon.bpl +0 -0
  320. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/mandelbrot.bpl +0 -0
  321. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/mandelbrot32.bpl +0 -0
  322. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/orbits.bpl +0 -0
  323. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery/phyllotaxis.bpl +0 -0
  324. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/gallery.qmd +0 -0
  325. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/_metadata.yml +0 -0
  326. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/alpha-underbar.qmd +0 -0
  327. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/alpha.qmd +0 -0
  328. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/braces.qmd +0 -0
  329. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/brackets.qmd +0 -0
  330. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/bullet.qmd +0 -0
  331. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/del-diaeresis.qmd +0 -0
  332. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/del.qmd +0 -0
  333. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/diamond-underbar.qmd +0 -0
  334. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/diamond.qmd +0 -0
  335. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/dot.qmd +0 -0
  336. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/down-shoe.qmd +0 -0
  337. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/downstile.qmd +0 -0
  338. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/epsilon-underbar.qmd +0 -0
  339. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/epsilon.qmd +0 -0
  340. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/equal-underbar-slash.qmd +0 -0
  341. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/equal-underbar.qmd +0 -0
  342. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/error-guard.qmd +0 -0
  343. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/exclamation.qmd +0 -0
  344. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/greater-than.qmd +0 -0
  345. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/infinity.qmd +0 -0
  346. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/inverted-question.qmd +0 -0
  347. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/lamp.qmd +0 -0
  348. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/left-arrow.qmd +0 -0
  349. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/less-than.qmd +0 -0
  350. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/omega-underbar.qmd +0 -0
  351. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/omega.qmd +0 -0
  352. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/overbar.qmd +0 -0
  353. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/parentheses.qmd +0 -0
  354. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quad-diamond.qmd +0 -0
  355. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quad-equal.qmd +0 -0
  356. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quad.qmd +0 -0
  357. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/question.qmd +0 -0
  358. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/quote.qmd +0 -0
  359. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/right-arrow-from-bar.qmd +0 -0
  360. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/right-left-arrows.qmd +0 -0
  361. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/slash-bar.qmd +0 -0
  362. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/slash.qmd +0 -0
  363. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/stile.qmd +0 -0
  364. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/superscript-b.qmd +0 -0
  365. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/thorn.qmd +0 -0
  366. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/tricolon.qmd +0 -0
  367. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/up-shoe.qmd +0 -0
  368. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/upstile.qmd +0 -0
  369. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs/zilde.qmd +0 -0
  370. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/glyphs-study.qmd +0 -0
  371. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/hanzi-notation-zh.ipynb +0 -0
  372. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/hanzi-notation.ipynb +0 -0
  373. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/index.ipynb +0 -0
  374. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/indexing.ipynb +0 -0
  375. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/introspection.ipynb +0 -0
  376. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/magics.ipynb +0 -0
  377. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/mathish.qmd +0 -0
  378. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/modules.qmd +0 -0
  379. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/nbdev.yml +0 -0
  380. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/notebooks.ipynb +0 -0
  381. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/overview.ipynb +0 -0
  382. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/papers/aplwiki-arrays.md +0 -0
  383. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/papers/brickman-depth-1-scalars.md +0 -0
  384. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/papers/mercer-based-system.md +0 -0
  385. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground/bpl.js +0 -0
  386. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground/gallery.js +0 -0
  387. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground/monaco-worker.js +0 -0
  388. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground/page.js +0 -0
  389. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground/worker.js +0 -0
  390. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/playground.qmd +0 -0
  391. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/plot.ipynb +0 -0
  392. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/principles.ipynb +0 -0
  393. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/processes.qmd +0 -0
  394. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/puppy.jpg +0 -0
  395. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/regex.ipynb +0 -0
  396. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/sidebar.yml +0 -0
  397. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/strings.ipynb +0 -0
  398. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/style.qmd +0 -0
  399. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/styles.css +0 -0
  400. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/_metadata.yml +0 -0
  401. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/c.qmd +0 -0
  402. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/canvas.qmd +0 -0
  403. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/constants.qmd +0 -0
  404. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/copy.qmd +0 -0
  405. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/delay.qmd +0 -0
  406. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/detach.qmd +0 -0
  407. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/edge.qmd +0 -0
  408. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/element.qmd +0 -0
  409. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/ex.qmd +0 -0
  410. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/fetch.qmd +0 -0
  411. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/float.qmd +0 -0
  412. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/hash.qmd +0 -0
  413. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/host.qmd +0 -0
  414. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/js.qmd +0 -0
  415. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/load.qmd +0 -0
  416. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/memory.qmd +0 -0
  417. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/metadata.qmd +0 -0
  418. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/mime.qmd +0 -0
  419. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/mkdir.qmd +0 -0
  420. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/nc.qmd +0 -0
  421. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/nget.qmd +0 -0
  422. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/nl.qmd +0 -0
  423. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/normalize.qmd +0 -0
  424. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/nput.qmd +0 -0
  425. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/plot.qmd +0 -0
  426. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/prefs.qmd +0 -0
  427. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/r.qmd +0 -0
  428. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/rand.qmd +0 -0
  429. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/readdir.qmd +0 -0
  430. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/remove.qmd +0 -0
  431. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/rename.qmd +0 -0
  432. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/replace.qmd +0 -0
  433. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/signal.qmd +0 -0
  434. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/special.qmd +0 -0
  435. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/src.qmd +0 -0
  436. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/storage.qmd +0 -0
  437. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/svg.qmd +0 -0
  438. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/time.qmd +0 -0
  439. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/uuid.qmd +0 -0
  440. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/system/vfi.qmd +0 -0
  441. {basedpl-0.1.83 → basedpl-0.1.85}/nbs/terms.qmd +0 -0
  442. {basedpl-0.1.83 → basedpl-0.1.85}/package-lock.json +0 -0
  443. {basedpl-0.1.83 → basedpl-0.1.85}/package.json +0 -0
  444. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/README.md +0 -0
  445. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/aplcart.jsonl +0 -0
  446. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/april.jsonl +0 -0
  447. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/bqn.jsonl +0 -0
  448. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/core.jsonl +0 -0
  449. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/dyalog.jsonl +0 -0
  450. {basedpl-0.1.83 → basedpl-0.1.85}/provenance/ngn.jsonl +0 -0
  451. {basedpl-0.1.83 → basedpl-0.1.85}/py/build.rs +0 -0
  452. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/__init__.py +0 -0
  453. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/_modidx.py +0 -0
  454. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/__init__.py +0 -0
  455. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/fonts/BQN386B.ttf +0 -0
  456. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/fonts/LICENSE-BQN386 +0 -0
  457. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/fonts/LICENSE-SAX2 +0 -0
  458. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/fonts/SAX2B.ttf +0 -0
  459. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
  460. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
  461. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +0 -0
  462. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  463. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
  464. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
  465. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
  466. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +0 -0
  467. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  468. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
  469. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
  470. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
  471. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +0 -0
  472. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  473. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
  474. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
  475. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
  476. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +0 -0
  477. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  478. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
  479. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
  480. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
  481. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +0 -0
  482. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
  483. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
  484. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/SAX2B.woff2 +0 -0
  485. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/bpl-editor.js +0 -0
  486. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/input.js +0 -0
  487. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/layout.json +0 -0
  488. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/browser/lb.js +0 -0
  489. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/dyalog.py +0 -0
  490. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/font.py +0 -0
  491. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/fonts.css +0 -0
  492. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/install.py +0 -0
  493. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/ipython.py +0 -0
  494. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/keyboards.json +0 -0
  495. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/notebook_runner.py +0 -0
  496. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/notebooks.py +0 -0
  497. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/printing.py +0 -0
  498. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/reference.py +0 -0
  499. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/syntax.py +0 -0
  500. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/windows_keyboard.py +0 -0
  501. {basedpl-0.1.83 → basedpl-0.1.85}/python/basedpl/worker.py +0 -0
  502. {basedpl-0.1.83 → basedpl-0.1.85}/rustfmt.toml +0 -0
  503. {basedpl-0.1.83 → basedpl-0.1.85}/src/agreement.rs +0 -0
  504. {basedpl-0.1.83 → basedpl-0.1.85}/src/array/text.rs +0 -0
  505. {basedpl-0.1.83 → basedpl-0.1.85}/src/cancel.rs +0 -0
  506. {basedpl-0.1.83 → basedpl-0.1.85}/src/canvas.js +0 -0
  507. {basedpl-0.1.83 → basedpl-0.1.85}/src/canvas.rs +0 -0
  508. {basedpl-0.1.83 → basedpl-0.1.85}/src/distribution.rs +0 -0
  509. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/bindings.rs +0 -0
  510. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/dissect.rs +0 -0
  511. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/axes.rs +0 -0
  512. {basedpl-0.1.83 → basedpl-0.1.85}/src/eval/operators/rank.rs +0 -0
  513. {basedpl-0.1.83 → basedpl-0.1.85}/src/execution.rs +0 -0
  514. {basedpl-0.1.83 → basedpl-0.1.85}/src/inspection.rs +0 -0
  515. {basedpl-0.1.83 → basedpl-0.1.85}/src/js.rs +0 -0
  516. {basedpl-0.1.83 → basedpl-0.1.85}/src/name.rs +0 -0
  517. {basedpl-0.1.83 → basedpl-0.1.85}/src/optimize.rs +0 -0
  518. {basedpl-0.1.83 → basedpl-0.1.85}/src/plot.rs +0 -0
  519. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/indexing.rs +0 -0
  520. {basedpl-0.1.83 → basedpl-0.1.85}/src/primitive/inverse.rs +0 -0
  521. {basedpl-0.1.83 → basedpl-0.1.85}/src/regex.rs +0 -0
  522. {basedpl-0.1.83 → basedpl-0.1.85}/tests/common/mod.rs +0 -0
  523. {basedpl-0.1.83 → basedpl-0.1.85}/tests/conftest.py +0 -0
  524. {basedpl-0.1.83 → basedpl-0.1.85}/tests/highlighting.mjs +0 -0
  525. {basedpl-0.1.83 → basedpl-0.1.85}/tests/input.mjs +0 -0
  526. {basedpl-0.1.83 → basedpl-0.1.85}/tests/ratchet.rs +0 -0
  527. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-aplcart +0 -0
  528. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-april +0 -0
  529. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-bqn +0 -0
  530. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-bqncrate +0 -0
  531. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-dyalog +0 -0
  532. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/LICENSE-ngn +0 -0
  533. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/distributions.bpl +0 -0
  534. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/regex.bpl +0 -0
  535. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/static-int32.bpl +0 -0
  536. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/support/april.bpl +0 -0
  537. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/support/avl.bpl +0 -0
  538. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/support/redblack.bpl +0 -0
  539. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/support/sbst.bpl +0 -0
  540. {basedpl-0.1.83 → basedpl-0.1.85}/tests/reference/support/splay.bpl +0 -0
  541. {basedpl-0.1.83 → basedpl-0.1.85}/tests/skipped.txt +0 -0
  542. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_basic.py +0 -0
  543. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_glyphs.py +0 -0
  544. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_graphics.py +0 -0
  545. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_install.py +0 -0
  546. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_instructions.py +0 -0
  547. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_ipython.py +0 -0
  548. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_kernel.py +0 -0
  549. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_keylayout.py +0 -0
  550. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_notebooks.py +0 -0
  551. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_orchestration.py +0 -0
  552. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_reference.py +0 -0
  553. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_repl.py +0 -0
  554. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_windows_keyboard.py +0 -0
  555. {basedpl-0.1.83 → basedpl-0.1.85}/tests/test_worker.py +0 -0
  556. {basedpl-0.1.83 → basedpl-0.1.85}/tests/wasm-pkg.mjs +0 -0
  557. {basedpl-0.1.83 → basedpl-0.1.85}/tests/windows_keyboard.c +0 -0
  558. {basedpl-0.1.83 → basedpl-0.1.85}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
@@ -0,0 +1,39 @@
1
+ # `cargo nextest run` runs each test in its own process and every binary at once. The threads of one process take turns at its one session (`src/eval.rs`), so separate processes are what run tests in parallel.
2
+ [profile.default]
3
+ # A test running past 5 s is reported as slow. One still running at 30 s is stopped and fails.
4
+ slow-timeout = { period = "5s", terminate-after = 6 }
5
+ fail-fast = false
6
+
7
+ [test-groups]
8
+ timed = { max-threads = 1 }
9
+
10
+ # The reference runner starts one child process per core. It starts first and runs with nothing beside it, so no timing runs beside it.
11
+ [[profile.default.overrides]]
12
+ filter = 'binary(reference)'
13
+ threads-required = 'num-cpus'
14
+ priority = 100
15
+
16
+ # Memory-bound timings run with nothing beside them.
17
+ [[profile.default.overrides]]
18
+ filter = 'binary(speed) and test(=timed_images)'
19
+ threads-required = 'num-cpus'
20
+ test-group = 'timed'
21
+ priority = -100
22
+
23
+ # Other timings run one at a time, beside light correctness tests, after every other test has started.
24
+ [[profile.default.overrides]]
25
+ filter = 'binary(speed) and test(/^timed_/)'
26
+ test-group = 'timed'
27
+ priority = -100
28
+
29
+ # Optional selection excluding timings, used by focused cross-repo diagnostics. It gives reference one slot because this selection contains no timing tests.
30
+ [profile.untimed]
31
+ default-filter = 'not (binary(speed) and test(/^timed_/))'
32
+
33
+ [[profile.untimed.overrides]]
34
+ filter = 'binary(reference)'
35
+ threads-required = 1
36
+
37
+ # Optional timing-only selection. An explicit cross-repo ('untimed', 'timed', 'speed') run uses this after correctness and before rustymath timings. Plain run_tests uses default and includes everything.
38
+ [profile.timed]
39
+ default-filter = 'binary(speed) and test(/^timed_/)'
@@ -17,6 +17,7 @@ jobs:
17
17
  # `tests/highlighting.mjs` reads the TextMate grammar through `shiki`, which `package.json` pins.
18
18
  - run: npm ci
19
19
  - uses: dtolnay/rust-toolchain@stable
20
+ - uses: taiki-e/install-action@nextest
20
21
  # The repository has no `Cargo.lock`. Creating one first makes rust-cache's key change when a dependency publishes a new version.
21
22
  - run: cargo generate-lockfile
22
23
  - uses: Swatinem/rust-cache@v2
@@ -30,7 +31,7 @@ jobs:
30
31
  - run: node tests/input.mjs
31
32
  - run: node tests/highlighting.mjs
32
33
  if: ${{ !cancelled() }}
33
- - run: cargo test --release
34
+ - run: cargo nextest run --cargo-profile release -E 'not binary(speed)'
34
35
  if: ${{ !cancelled() }}
35
36
  - run: pytest -q
36
37
  if: ${{ !cancelled() }}
@@ -14,10 +14,10 @@ For a standalone executable without Python, run `cargo install --path cli`. Carg
14
14
 
15
15
  ## Contributing
16
16
 
17
- Install the development and documentation tools with `pip install -e '.[dev]'`. That also builds the extension and installs it in the editable package. The main commands are:
17
+ Install the development and documentation tools with `pip install -e '.[dev]'`, and install the Rust test runner with `cargo install cargo-nextest --locked`. Run `cargo develop` to build and install the extension and CLI. The main commands are:
18
18
 
19
19
  ```bash
20
- cargo test
20
+ cargo nextest run --cargo-profile release
21
21
  cargo develop
22
22
  bpl -e '2×3+4'
23
23
  cargo fastfmt
@@ -25,7 +25,7 @@ pytest
25
25
  ship-rs-build
26
26
  ```
27
27
 
28
- After Rust changes, run `cargo test` for the Rust tests, then `cargo develop` to install what `cargo test` built: the extension, and the native `bpl` command in your environment. Both use one compilation of each crate. `cargo develop` comes from `fastws-cli`, one of the development tools. Run `pip install -e '.[dev]'` again only when the package metadata changes. Use `cargo fastfmt`, not `cargo fmt`.
28
+ After Rust changes, run `cargo develop` to rebuild and install the extension and native `bpl` command, then `cargo nextest run --cargo-profile release` for the Rust tests. Both use the release build. `cargo develop` comes from `fastws-cli`, one of the development tools. Run `pip install -e '.[dev]'` again only when the package metadata changes. Use `cargo fastfmt`, not `cargo fmt`.
29
29
 
30
30
  Before a release, run `bpl-tests prerelease` from the repository root. Among its steps, it writes the syntax highlighters' glyph lists and the macOS keyboard layout bundle, saves the notebooks' outputs, and runs nbdev's `prepare` to export, test and clean the notebooks and render the README. DEV.md's "Release" section lists every step.
31
31
 
@@ -67,7 +67,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
67
67
  dependencies = [
68
68
  "proc-macro2",
69
69
  "quote",
70
- "syn 3.0.9",
70
+ "syn 3.0.10",
71
71
  ]
72
72
 
73
73
  [[package]]
@@ -99,16 +99,14 @@ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
99
99
 
100
100
  [[package]]
101
101
  name = "basedpl"
102
- version = "0.1.83"
102
+ version = "0.1.85"
103
103
  dependencies = [
104
104
  "base64 0.23.1",
105
+ "basedpl-image",
106
+ "basedpl-jit",
107
+ "basedpl-testkit",
105
108
  "bytemuck",
106
109
  "chrono",
107
- "cranelift-codegen",
108
- "cranelift-frontend",
109
- "cranelift-jit",
110
- "cranelift-module",
111
- "cranelift-native",
112
110
  "csv",
113
111
  "fancy-regex",
114
112
  "flate2",
@@ -116,7 +114,6 @@ dependencies = [
116
114
  "globset",
117
115
  "half",
118
116
  "icu_normalizer",
119
- "image",
120
117
  "js-sys",
121
118
  "json5",
122
119
  "nix",
@@ -125,12 +122,12 @@ dependencies = [
125
122
  "num-rational",
126
123
  "num-traits",
127
124
  "plotters",
128
- "png",
129
125
  "psm",
130
126
  "rand",
131
127
  "roxmltree",
132
128
  "rustix",
133
129
  "rustymath",
130
+ "rustymath-timing",
134
131
  "serde",
135
132
  "serde_json",
136
133
  "sha2 0.11.1",
@@ -147,10 +144,11 @@ dependencies = [
147
144
 
148
145
  [[package]]
149
146
  name = "basedpl-cli"
150
- version = "0.1.83"
147
+ version = "0.1.85"
151
148
  dependencies = [
152
149
  "async-trait",
153
150
  "basedpl",
151
+ "basedpl-testkit",
154
152
  "ctrlc",
155
153
  "kernmini",
156
154
  "rustyline",
@@ -159,11 +157,33 @@ dependencies = [
159
157
  "serde_json",
160
158
  ]
161
159
 
160
+ [[package]]
161
+ name = "basedpl-image"
162
+ version = "0.1.85"
163
+ dependencies = [
164
+ "flate2",
165
+ "image",
166
+ "png",
167
+ ]
168
+
169
+ [[package]]
170
+ name = "basedpl-jit"
171
+ version = "0.1.85"
172
+ dependencies = [
173
+ "cranelift-codegen",
174
+ "cranelift-frontend",
175
+ "cranelift-jit",
176
+ "cranelift-module",
177
+ "cranelift-native",
178
+ "rustymath",
179
+ ]
180
+
162
181
  [[package]]
163
182
  name = "basedpl-py"
164
- version = "0.1.83"
183
+ version = "0.1.85"
165
184
  dependencies = [
166
185
  "basedpl",
186
+ "basedpl-testkit",
167
187
  "ctrlc",
168
188
  "kernmini",
169
189
  "num-bigint",
@@ -173,16 +193,30 @@ dependencies = [
173
193
  "rustyline",
174
194
  "rustymath",
175
195
  "rustymath-buffer",
196
+ "rustymath-timing",
197
+ "serde_json",
198
+ ]
199
+
200
+ [[package]]
201
+ name = "basedpl-testkit"
202
+ version = "0.1.85"
203
+ dependencies = [
204
+ "basedpl",
205
+ "rustymath",
206
+ "rustymath-timing",
176
207
  "serde_json",
208
+ "tempfile",
177
209
  ]
178
210
 
179
211
  [[package]]
180
212
  name = "basedpl-wasm"
181
- version = "0.1.83"
213
+ version = "0.1.85"
182
214
  dependencies = [
183
215
  "basedpl",
216
+ "basedpl-testkit",
184
217
  "js-sys",
185
218
  "rustymath",
219
+ "rustymath-timing",
186
220
  "serde_json",
187
221
  "talc",
188
222
  "wasm-bindgen",
@@ -266,20 +300,6 @@ name = "bytemuck"
266
300
  version = "1.25.2"
267
301
  source = "registry+https://github.com/rust-lang/crates.io-index"
268
302
  checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
269
- dependencies = [
270
- "bytemuck_derive",
271
- ]
272
-
273
- [[package]]
274
- name = "bytemuck_derive"
275
- version = "1.12.1"
276
- source = "registry+https://github.com/rust-lang/crates.io-index"
277
- checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c"
278
- dependencies = [
279
- "proc-macro2",
280
- "quote",
281
- "syn 3.0.9",
282
- ]
283
303
 
284
304
  [[package]]
285
305
  name = "byteorder-lite"
@@ -683,7 +703,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
683
703
  dependencies = [
684
704
  "proc-macro2",
685
705
  "quote",
686
- "syn 3.0.9",
706
+ "syn 3.0.10",
687
707
  ]
688
708
 
689
709
  [[package]]
@@ -872,7 +892,6 @@ version = "2.7.1"
872
892
  source = "registry+https://github.com/rust-lang/crates.io-index"
873
893
  checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
874
894
  dependencies = [
875
- "bytemuck",
876
895
  "cfg-if",
877
896
  "crunchy",
878
897
  "num-traits",
@@ -1079,9 +1098,9 @@ dependencies = [
1079
1098
 
1080
1099
  [[package]]
1081
1100
  name = "itoa"
1082
- version = "1.0.18"
1101
+ version = "1.0.19"
1083
1102
  source = "registry+https://github.com/rust-lang/crates.io-index"
1084
- checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
1103
+ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
1085
1104
 
1086
1105
  [[package]]
1087
1106
  name = "js-sys"
@@ -1149,9 +1168,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
1149
1168
 
1150
1169
  [[package]]
1151
1170
  name = "libz-sys"
1152
- version = "1.1.31"
1171
+ version = "1.1.32"
1153
1172
  source = "registry+https://github.com/rust-lang/crates.io-index"
1154
- checksum = "ff20308ecabd635a2dc1dd5834a86c462cca20efba1d5d3ddab1f8aea3455cb2"
1173
+ checksum = "69965d2409bff8c8cea3829009fff66a86f05a0570656552ef70f616e8e4bd85"
1155
1174
  dependencies = [
1156
1175
  "cc",
1157
1176
  "pkg-config",
@@ -1303,7 +1322,6 @@ version = "0.4.6"
1303
1322
  source = "registry+https://github.com/rust-lang/crates.io-index"
1304
1323
  checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
1305
1324
  dependencies = [
1306
- "bytemuck",
1307
1325
  "num-traits",
1308
1326
  ]
1309
1327
 
@@ -1507,7 +1525,7 @@ dependencies = [
1507
1525
  "proc-macro2",
1508
1526
  "pyo3-macros-backend",
1509
1527
  "quote",
1510
- "syn 3.0.9",
1528
+ "syn 3.0.10",
1511
1529
  ]
1512
1530
 
1513
1531
  [[package]]
@@ -1519,7 +1537,7 @@ dependencies = [
1519
1537
  "heck",
1520
1538
  "proc-macro2",
1521
1539
  "quote",
1522
- "syn 3.0.9",
1540
+ "syn 3.0.10",
1523
1541
  ]
1524
1542
 
1525
1543
  [[package]]
@@ -1687,9 +1705,32 @@ dependencies = [
1687
1705
 
1688
1706
  [[package]]
1689
1707
  name = "rustymath"
1690
- version = "0.1.55"
1708
+ version = "0.1.59"
1709
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1710
+ checksum = "847c937449ea0665badfd51f0e15198160fba8ebd8223f63daf4569c9e1f4165"
1711
+ dependencies = [
1712
+ "num-complex",
1713
+ "num-traits",
1714
+ "rustymath-core",
1715
+ "rustymath-kernels",
1716
+ ]
1717
+
1718
+ [[package]]
1719
+ name = "rustymath-buffer"
1720
+ version = "0.1.59"
1721
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1722
+ checksum = "d51201abcdd5246e011512cf929931bc41f509b846ecc19a92375c7f4413d773"
1723
+ dependencies = [
1724
+ "num-rational",
1725
+ "pyo3",
1726
+ "rustymath",
1727
+ ]
1728
+
1729
+ [[package]]
1730
+ name = "rustymath-core"
1731
+ version = "0.1.59"
1691
1732
  source = "registry+https://github.com/rust-lang/crates.io-index"
1692
- checksum = "76f6cf34181562715d225bf4c7493c0e8f061a78cd8976ab7fcc8731698973c3"
1733
+ checksum = "f6cf11a507f5ab892d7ef9af69ed50caccd0e76005bc8e8f93b12b93ce768f65"
1693
1734
  dependencies = [
1694
1735
  "foldhash",
1695
1736
  "half",
@@ -1707,14 +1748,26 @@ dependencies = [
1707
1748
  ]
1708
1749
 
1709
1750
  [[package]]
1710
- name = "rustymath-buffer"
1711
- version = "0.1.55"
1751
+ name = "rustymath-kernels"
1752
+ version = "0.1.59"
1712
1753
  source = "registry+https://github.com/rust-lang/crates.io-index"
1713
- checksum = "e49a20ff13e04774294f25ad9565eda8f593d0e628d161be3aaeb6298d984c61"
1754
+ checksum = "6b2cb08b142b6ec8f3f831ede01c4ec6c3bba177fc177b784dc8fe19c0888c9d"
1714
1755
  dependencies = [
1756
+ "half",
1757
+ "num-complex",
1715
1758
  "num-rational",
1716
- "pyo3",
1717
- "rustymath",
1759
+ "num-traits",
1760
+ "rustymath-core",
1761
+ ]
1762
+
1763
+ [[package]]
1764
+ name = "rustymath-timing"
1765
+ version = "0.1.59"
1766
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1767
+ checksum = "38f2d2c1d5e098a3959c7edc1544afe9d1d0a69f410d04705307286b0ca5fc1d"
1768
+ dependencies = [
1769
+ "libc",
1770
+ "rustymath-core",
1718
1771
  ]
1719
1772
 
1720
1773
  [[package]]
@@ -1771,7 +1824,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
1771
1824
  dependencies = [
1772
1825
  "proc-macro2",
1773
1826
  "quote",
1774
- "syn 3.0.9",
1827
+ "syn 3.0.10",
1775
1828
  ]
1776
1829
 
1777
1830
  [[package]]
@@ -1914,9 +1967,9 @@ dependencies = [
1914
1967
 
1915
1968
  [[package]]
1916
1969
  name = "syn"
1917
- version = "3.0.9"
1970
+ version = "3.0.10"
1918
1971
  source = "registry+https://github.com/rust-lang/crates.io-index"
1919
- checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
1972
+ checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
1920
1973
  dependencies = [
1921
1974
  "proc-macro2",
1922
1975
  "quote",
@@ -1931,7 +1984,7 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
1931
1984
  dependencies = [
1932
1985
  "proc-macro2",
1933
1986
  "quote",
1934
- "syn 3.0.9",
1987
+ "syn 3.0.10",
1935
1988
  ]
1936
1989
 
1937
1990
  [[package]]
@@ -1997,7 +2050,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
1997
2050
  dependencies = [
1998
2051
  "proc-macro2",
1999
2052
  "quote",
2000
- "syn 3.0.9",
2053
+ "syn 3.0.10",
2001
2054
  ]
2002
2055
 
2003
2056
  [[package]]
@@ -2101,9 +2154,9 @@ checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6"
2101
2154
 
2102
2155
  [[package]]
2103
2156
  name = "uuid"
2104
- version = "1.29.1"
2157
+ version = "1.29.2"
2105
2158
  source = "registry+https://github.com/rust-lang/crates.io-index"
2106
- checksum = "4a06f08a856b009bc7bbaf7d3e79808595d032dd19074c0c2ef26e49e03e6bdc"
2159
+ checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c"
2107
2160
  dependencies = [
2108
2161
  "atomic",
2109
2162
  "getrandom",
@@ -2219,7 +2272,7 @@ dependencies = [
2219
2272
  "bumpalo",
2220
2273
  "proc-macro2",
2221
2274
  "quote",
2222
- "syn 3.0.9",
2275
+ "syn 3.0.10",
2223
2276
  "wasm-bindgen-shared",
2224
2277
  ]
2225
2278
 
@@ -2466,7 +2519,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
2466
2519
 
2467
2520
  [[package]]
2468
2521
  name = "xtask"
2469
- version = "0.1.83"
2522
+ version = "0.1.85"
2470
2523
  dependencies = [
2471
2524
  "anyhow",
2472
2525
  "serde_json",
@@ -2493,7 +2546,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
2493
2546
  dependencies = [
2494
2547
  "proc-macro2",
2495
2548
  "quote",
2496
- "syn 3.0.9",
2549
+ "syn 3.0.10",
2497
2550
  "synstructure",
2498
2551
  ]
2499
2552
 
@@ -2534,7 +2587,7 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
2534
2587
  dependencies = [
2535
2588
  "proc-macro2",
2536
2589
  "quote",
2537
- "syn 3.0.9",
2590
+ "syn 3.0.10",
2538
2591
  "synstructure",
2539
2592
  ]
2540
2593
 
@@ -2568,7 +2621,7 @@ checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a"
2568
2621
  dependencies = [
2569
2622
  "proc-macro2",
2570
2623
  "quote",
2571
- "syn 3.0.9",
2624
+ "syn 3.0.10",
2572
2625
  ]
2573
2626
 
2574
2627
  [[package]]
@@ -1,24 +1,26 @@
1
1
  [workspace]
2
- members = ["py"]
2
+ members = ["image", "jit", "py", "testkit"]
3
3
 
4
4
  [workspace.metadata.fastfmt]
5
5
  join_comments = true
6
6
 
7
7
  [workspace.package]
8
- version = "0.1.83"
8
+ version = "0.1.85"
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.55, <1", default-features = false }
14
+ rustymath = { version = ">=0.1.59, <1", default-features = false }
15
15
  rustymath-buffer = ">=0.1.55, <1"
16
+ rustymath-timing = ">=0.1.56, <1"
16
17
  pyo3 = ">=0.29.2, <1"
17
18
  pyo3-build-config = ">=0.29.2, <1"
18
19
  ctrlc = ">=3.5.2, <4"
19
20
  kernmini = ">=0.1.22, <1"
20
21
  # Custom bindings override Emacs Alt-digit prefixes in this fork.
21
22
  rustyline = { git = "https://github.com/AnswerDotAI/rustyline.git", branch = "master", default-features = false, features = ["custom-bindings", "with-file-history"] }
23
+ flate2 = { version = ">=1.1.10, <2", default-features = false, features = ["zlib"] }
22
24
 
23
25
  [package]
24
26
  name = "basedpl"
@@ -33,11 +35,6 @@ doctest = false
33
35
  # Without a unit-test build, `cargo test` compiles the library only once.
34
36
  test = false
35
37
 
36
- # Plain `cargo test` skips the timing suite; `cargo test --test speed` runs it.
37
- [[test]]
38
- name = "speed"
39
- test = false
40
-
41
38
  [profile.test]
42
39
  inherits = "release"
43
40
 
@@ -51,6 +48,10 @@ incremental = true
51
48
  # Line tables change with every shifted line and recompile the code below it.
52
49
  debug = false
53
50
 
51
+ [profile.quick]
52
+ inherits = "release"
53
+ lto = "off"
54
+
54
55
  [profile.dist]
55
56
  inherits = "release"
56
57
  lto = "thin"
@@ -75,11 +76,12 @@ serde = ">=1.0.229, <2"
75
76
  serde_json = { version = "1", features = ["arbitrary_precision", "preserve_order"] }
76
77
  unicode-width = { version = ">=0.2.2, <1", default-features = false }
77
78
  num-rational = ">=0.4.2, <1"
78
- num-complex = { version = ">=0.4.6, <1", features = ["bytemuck"] }
79
+ num-complex = ">=0.4.6, <1"
79
80
  num-bigint = ">=0.4.6, <0.5"
80
81
  num-traits = ">=0.2.19, <1"
81
- half = { version = ">=2.7.1, <3", features = ["num-traits", "bytemuck"] }
82
+ half = { version = ">=2.7.1, <3", features = ["num-traits"] }
82
83
  rustymath.workspace = true
84
+ basedpl-image = { path = "image" }
83
85
  strength_reduce = ">=0.2.4, <1"
84
86
  rand = { version = ">=0.10.2, <1", features = ["chacha"] }
85
87
  # AnswerDotAI's fork measures text with a canvas, which works in a Web Worker: plotters-rs/plotters#746.
@@ -100,13 +102,10 @@ nix = { version = ">=0.31.3, <1", default-features = false, features = ["user"]
100
102
 
101
103
  [target.'cfg(target_vendor = "apple")'.dependencies]
102
104
  # The Mac build links the zlib that macOS ships, in place of compiling `miniz_oxide`.
103
- flate2 = { version = ">=1.1.10, <2", default-features = false, features = ["zlib"] }
105
+ flate2.workspace = true
104
106
 
105
107
  [target.'cfg(not(target_vendor = "apple"))'.dependencies]
106
108
  flate2 = ">=1.1.10, <2"
107
- # Macs decode and encode images through ImageIO instead.
108
- image = { version = ">=0.25.6, <1", default-features = false, features = ["png", "jpeg"] }
109
- png = ">=0.18.1, <1"
110
109
 
111
110
  [target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies]
112
111
  chrono = { version = ">=0.4.45, <0.5", features = ["unstable-locales"] }
@@ -114,12 +113,7 @@ icu_normalizer = ">=2, <3"
114
113
  fancy-regex = "0.20"
115
114
  walkdir = ">=2.5.0, <3"
116
115
  globset = ">=0.4.20, <1"
117
- # Cranelift compiles a typed program's loops while BPL runs. The browser build has no JIT.
118
- cranelift-codegen = { version = "0.137", default-features = false, features = ["std", "host-arch"] }
119
- cranelift-frontend = "0.137"
120
- cranelift-jit = "0.137"
121
- cranelift-module = "0.137"
122
- cranelift-native = "0.137"
116
+ basedpl-jit = { path = "jit" }
123
117
 
124
118
  # The browser build. `build.rs` sets `cfg(web)` for the same target.
125
119
  [target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
@@ -132,5 +126,9 @@ wasm-bindgen = ">=0.2.129, <0.3"
132
126
  # `eval::room` reads the stack pointer for the room left on the browser's main stack, where stacker reports none.
133
127
  psm = ">=0.1.32, <0.2"
134
128
 
129
+ [dev-dependencies]
130
+ basedpl-testkit = { path = "testkit" }
131
+ rustymath-timing.workspace = true
132
+
135
133
  [build-dependencies]
136
134
  serde_json = "1"