basedpl 0.1.51__tar.gz → 0.1.55__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.
- {basedpl-0.1.51 → basedpl-0.1.55}/.github/workflows/ci.yml +2 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/CONTRIBUTING.md +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/Cargo.lock +20 -11
- {basedpl-0.1.51 → basedpl-0.1.55}/Cargo.toml +2 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/DEV.md +24 -18
- {basedpl-0.1.51 → basedpl-0.1.55}/PKG-INFO +2 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +4 -98
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.txt +4 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +4 -98
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.txt +4 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +4 -98
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.txt +4 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +4 -98
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.txt +4 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +4 -98
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.txt +4 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/layout.h +3 -11
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/assignment.ipynb +33 -3
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/evaluation.qmd +2 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/getting-started.ipynb +1 -1
- basedpl-0.1.55/nbs/glyphs/del-stile.qmd +43 -0
- basedpl-0.1.55/nbs/glyphs/delta-stile.qmd +44 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/dot.qmd +16 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/equal-underbar-slash.qmd +1 -1
- basedpl-0.1.55/nbs/glyphs/greater-than.qmd +34 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/iota.qmd +10 -1
- basedpl-0.1.55/nbs/glyphs/less-than.qmd +35 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/quad-colon.qmd +2 -1
- basedpl-0.1.55/nbs/glyphs/quad-equal.qmd +28 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/squad.qmd +18 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/up-down-arrow.qmd +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs.qmd +2 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/introspection.ipynb +4 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/keyboard.qmd +3 -5
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/keyed.ipynb +61 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/llms.txt +3 -3
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/magics.ipynb +61 -44
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/notebooks.ipynb +48 -40
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/numbers.qmd +13 -13
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/python.ipynb +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/repl.qmd +3 -5
- basedpl-0.1.55/nbs/system/explain.qmd +21 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/float.qmd +2 -2
- basedpl-0.1.55/nbs/system/memory.qmd +24 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/prefs.qmd +12 -4
- basedpl-0.1.55/nbs/system/storage.qmd +15 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/terms.qmd +1 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/py/Cargo.toml +1 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/py/src/lib.rs +135 -65
- {basedpl-0.1.51 → basedpl-0.1.55}/pyproject.toml +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/__init__.py +53 -26
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/bpltests.py +6 -17
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/layout.json +6 -6
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/notebooks.py +2 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/printing.py +3 -3
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/worker.py +4 -1
- basedpl-0.1.55/src/agreement.rs +35 -0
- basedpl-0.1.55/src/array/storage.rs +535 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/array/text.rs +5 -4
- {basedpl-0.1.51 → basedpl-0.1.55}/src/array.rs +184 -281
- {basedpl-0.1.51 → basedpl-0.1.55}/src/csv.rs +11 -10
- {basedpl-0.1.51 → basedpl-0.1.55}/src/data.rs +5 -4
- {basedpl-0.1.51 → basedpl-0.1.55}/src/date.rs +2 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/src/derivative.rs +36 -12
- {basedpl-0.1.51 → basedpl-0.1.55}/src/display.rs +21 -14
- {basedpl-0.1.51 → basedpl-0.1.55}/src/distribution.rs +11 -10
- basedpl-0.1.55/src/element.rs +100 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/error.rs +39 -20
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval/assign.rs +4 -4
- basedpl-0.1.55/src/eval/idioms.rs +162 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval/operators.rs +105 -109
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval/session.rs +26 -11
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval.rs +25 -39
- basedpl-0.1.55/src/explain.rs +88 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/files.rs +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/src/fusion.rs +78 -41
- {basedpl-0.1.51 → basedpl-0.1.55}/src/host.rs +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/src/image.rs +7 -6
- {basedpl-0.1.51 → basedpl-0.1.55}/src/js.rs +26 -25
- {basedpl-0.1.51 → basedpl-0.1.55}/src/json.rs +4 -3
- {basedpl-0.1.51 → basedpl-0.1.55}/src/keyed.rs +35 -92
- {basedpl-0.1.51 → basedpl-0.1.55}/src/lib.rs +3 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/src/linear.rs +74 -86
- {basedpl-0.1.51 → basedpl-0.1.55}/src/number.rs +24 -25
- {basedpl-0.1.51 → basedpl-0.1.55}/src/number_theory.rs +5 -4
- {basedpl-0.1.51 → basedpl-0.1.55}/src/optimize.rs +9 -8
- {basedpl-0.1.51 → basedpl-0.1.55}/src/pervasive.rs +346 -540
- {basedpl-0.1.51 → basedpl-0.1.55}/src/plot.rs +9 -8
- {basedpl-0.1.51 → basedpl-0.1.55}/src/polynomial.rs +14 -13
- {basedpl-0.1.51 → basedpl-0.1.55}/src/primitive/indexing.rs +58 -70
- {basedpl-0.1.51 → basedpl-0.1.55}/src/primitive/numeric.rs +60 -59
- {basedpl-0.1.51 → basedpl-0.1.55}/src/primitive/search.rs +50 -115
- {basedpl-0.1.51 → basedpl-0.1.55}/src/primitive/structural.rs +87 -244
- {basedpl-0.1.51 → basedpl-0.1.55}/src/primitive.rs +28 -41
- {basedpl-0.1.51 → basedpl-0.1.55}/src/protocol.rs +3 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/src/regex.rs +2 -2
- {basedpl-0.1.51 → basedpl-0.1.55}/src/search.rs +15 -47
- {basedpl-0.1.51 → basedpl-0.1.55}/src/selection.rs +7 -6
- {basedpl-0.1.51 → basedpl-0.1.55}/src/syntax.rs +6 -6
- {basedpl-0.1.51 → basedpl-0.1.55}/src/system.rs +26 -10
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/core.rs +38 -38
- basedpl-0.1.55/tests/explain.rs +45 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/core.bpl +183 -64
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/scaling.rs +1 -1
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/speed.txt +32 -18
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_api.py +15 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_basic.py +6 -4
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_bpltests.py +3 -5
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_repl.py +1 -1
- basedpl-0.1.51/nbs/glyphs/del-stile.qmd +0 -26
- basedpl-0.1.51/nbs/glyphs/delta-stile.qmd +0 -27
- basedpl-0.1.51/nbs/glyphs/greater-than.qmd +0 -18
- basedpl-0.1.51/nbs/glyphs/less-than.qmd +0 -19
- basedpl-0.1.51/nbs/glyphs/quad-equal.qmd +0 -17
- basedpl-0.1.51/nbs/system/storage.qmd +0 -3
- basedpl-0.1.51/src/agreement.rs +0 -283
- basedpl-0.1.51/src/array/storage.rs +0 -743
- basedpl-0.1.51/src/element.rs +0 -206
- {basedpl-0.1.51 → basedpl-0.1.55}/.cargo/config.toml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/.gitattributes +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/.github/workflows/docs.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/.github/workflows/speed.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/.github/workflows/test.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/.gitignore +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/LICENSE +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/_config.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/_layouts/default.html +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/build.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/jetbrains/BPL.tmbundle/Syntaxes/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/jetbrains/BPL.xml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/jetbrains/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/vim/ftdetect/bpl.vim +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/vim/syntax/bpl.vim +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/build.ps1 +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/install.ps1 +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/keyboard.c +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/keyboard.def +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/editors/windows/keyboard.rc +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/index_files/figure-html/cell-17-output-1.svg +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/index_files/figure-html/cell-18-output-1.svg +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/LICENSE-april +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/array.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/dyalog.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/graph.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/numeric.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/power.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/regex.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/string.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/lib/tree.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/.gitignore +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/_quarto.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/arrays.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/bpl.xml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/bqn.xml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/bracket-types.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/cli.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/comparison.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/data.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/dfns.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/distributions.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/driver.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/dyalog.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/dyalog.xml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/fonts/LICENSE-SAX2 +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/fonts/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/fonts/SAX2B.ttf +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/fonts/SAX2B.woff2 +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/fonts.css +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/attractor.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/boids.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/dragon.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/flow.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/mandelbrot.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/mandelbrot32.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/orbits.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/phyllotaxis.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/prefs.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery/reaction.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/gallery.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/_metadata.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/alpha-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/alpha.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/at.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/backslash-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/backslash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/braces.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/brackets.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/bullet.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-backslash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-divide.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-slash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-star.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-stile.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle-times.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/circle.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/colon.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/comma-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/comma.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/del-diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/del.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/diamond-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/diamond.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/domino.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/down-arrow.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/down-shoe.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/down-tack.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/downstile.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/epsilon-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/epsilon.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/equal-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/equals.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/error-guard.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/exclamation.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/greater-than-or-equal.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/hash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/hydrant.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/infinity.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/inverted-question.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/iota-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/jot-diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/jot.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/lamp.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/left-arrow.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/left-shoe-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/left-shoe.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/left-tack.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/left-tail-arrow.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/less-than-or-equal.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/minus.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/not-equals.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/obelus.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/omega-underbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/omega.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/overbar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/parentheses.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/partial.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/pi.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/plus.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/quad-diamond.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/quad-jot.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/quad.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/question.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/quote.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/radical.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/rho.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/right-arrow-from-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/right-left-arrows.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/right-shoe.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/right-tack.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/right-tail-arrow.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/slash-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/slash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/star-diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/star.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/stile-tilde.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/stile.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/thorn.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/tilde-diaeresis.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/tilde.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/times.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/up-arrow.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/up-shoe.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/up-tack.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/upstile.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/vee-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/vee.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/wedge-bar.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/wedge.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/glyphs/zilde.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/hanzi-notation-zh.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/hanzi-notation.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/index.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/modules.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/nbdev.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/overview.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/papers/aplwiki-arrays.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/papers/brickman-depth-1-scalars.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/papers/mercer-based-system.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground/bpl.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground/gallery.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground/monaco-worker.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground/page.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground/worker.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/playground.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/plot.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/principles.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/processes.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/puppy.jpg +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/regex.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/scripts.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/sidebar.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/strings.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/styles.css +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/syntax.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/_metadata.yml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/c.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/canvas.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/constants.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/copy.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/csv.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/date.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/decompose.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/deflate.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/delay.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/distribution.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/element.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/ex.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/fetch.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/hash.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/host.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/image.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/js.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/json.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/literal.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/load.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/metadata.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/mime.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/mkdir.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/nc.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/nget.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/nl.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/normalize.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/nput.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/path.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/plot.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/r.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/rand.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/readdir.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/remove.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/rename.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/signal.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/src.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/svg.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/time.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/ucs.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/uuid.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/vfi.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system/xml.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/system-functions.qmd +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/web.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/nbs/xml.ipynb +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/package-lock.json +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/package.json +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/aplcart.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/april.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/bqn.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/core.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/dyalog.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/provenance/ngn.jsonl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/py/build.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/_modidx.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/dyalog.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/editors.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/font.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/fonts.css +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/functions.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/input.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/ipython.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/keyboards.json +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/keyboards.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/lb.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/notebook_runner.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/reference.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/syntax.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/python/basedpl/windows_keyboard.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/rustfmt.toml +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/scripts/install-macos.sh +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/scripts/prep.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/canvas.js +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/canvas.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval/binder.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/eval/dissect.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/execution.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/host_web.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/image/codecs.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/image/imageio.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/inspection.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/reference.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/symbols.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/timing.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/src/xml.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/conftest.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/derivatives.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/highlighting.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/input.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-aplcart +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-april +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-bqn +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-bqncrate +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-dyalog +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/LICENSE-ngn +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/README.md +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/aplcart.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/april.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/bqn.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/distributions.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/dyalog.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/graphics.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/lib.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/ngn.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/regex.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/support/april.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/support/avl.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/support/redblack.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/support/sbst.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference/support/splay.bpl +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/reference.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/speed.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_glyphs.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_graphics.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_ipython.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_kernel.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_keylayout.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_notebooks.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_reference.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_windows_keyboard.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/test_worker.py +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/timing-lock.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/units.rs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/wasm-pkg.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/wasm-speed.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/wasm.mjs +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/tests/windows_keyboard.c +0 -0
- {basedpl-0.1.51 → basedpl-0.1.55}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
|
@@ -30,10 +30,10 @@ jobs:
|
|
|
30
30
|
run: pip install 'fastws-cli>=0.0.25' && ${{ env.STAGE_BPL }}
|
|
31
31
|
- uses: PyO3/maturin-action@v1
|
|
32
32
|
with:
|
|
33
|
-
args: --profile dist --no-default-features --out dist -i python3.
|
|
33
|
+
args: --profile dist --no-default-features --out dist -i python3.11 -i python3.12 -i python3.13
|
|
34
34
|
manylinux: auto
|
|
35
35
|
# This runs inside the manylinux container, whose old glibc lets the binary run on older Linux distributions.
|
|
36
|
-
before-script-linux: export PATH="/opt/python/
|
|
36
|
+
before-script-linux: export PATH="/opt/python/cp311-cp311/bin:$PATH" && python3.11 -m pip install 'fastws-cli>=0.0.25' && ${{ env.STAGE_BPL }}
|
|
37
37
|
- uses: actions/upload-artifact@v7
|
|
38
38
|
with:
|
|
39
39
|
name: wheels-${{ matrix.os }}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Install from source
|
|
4
4
|
|
|
5
|
-
Requires Python 3.
|
|
5
|
+
Requires Python 3.11 or later and Rust 1.98 or later. On x86-64, it also requires a CPU with AVX2 (x86-64-v3). In your Python environment:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
git clone https://github.com/AnswerDotAI/basedpl.git
|
|
@@ -93,7 +93,7 @@ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
|
|
|
93
93
|
|
|
94
94
|
[[package]]
|
|
95
95
|
name = "basedpl"
|
|
96
|
-
version = "0.1.
|
|
96
|
+
version = "0.1.55"
|
|
97
97
|
dependencies = [
|
|
98
98
|
"base64 0.23.1",
|
|
99
99
|
"bytemuck",
|
|
@@ -140,7 +140,7 @@ dependencies = [
|
|
|
140
140
|
|
|
141
141
|
[[package]]
|
|
142
142
|
name = "basedpl-cli"
|
|
143
|
-
version = "0.1.
|
|
143
|
+
version = "0.1.55"
|
|
144
144
|
dependencies = [
|
|
145
145
|
"async-trait",
|
|
146
146
|
"basedpl",
|
|
@@ -154,22 +154,21 @@ dependencies = [
|
|
|
154
154
|
|
|
155
155
|
[[package]]
|
|
156
156
|
name = "basedpl-py"
|
|
157
|
-
version = "0.1.
|
|
157
|
+
version = "0.1.55"
|
|
158
158
|
dependencies = [
|
|
159
159
|
"basedpl",
|
|
160
|
-
"bytemuck",
|
|
161
|
-
"half",
|
|
162
160
|
"num-bigint",
|
|
163
161
|
"num-complex",
|
|
164
162
|
"num-rational",
|
|
165
163
|
"pyo3",
|
|
166
164
|
"pyo3-build-config",
|
|
165
|
+
"rustymath-buffer",
|
|
167
166
|
"serde_json",
|
|
168
167
|
]
|
|
169
168
|
|
|
170
169
|
[[package]]
|
|
171
170
|
name = "basedpl-wasm"
|
|
172
|
-
version = "0.1.
|
|
171
|
+
version = "0.1.55"
|
|
173
172
|
dependencies = [
|
|
174
173
|
"basedpl",
|
|
175
174
|
"js-sys",
|
|
@@ -902,9 +901,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
|
|
|
902
901
|
|
|
903
902
|
[[package]]
|
|
904
903
|
name = "libc"
|
|
905
|
-
version = "0.2.
|
|
904
|
+
version = "0.2.191"
|
|
906
905
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
907
|
-
checksum = "
|
|
906
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
908
907
|
|
|
909
908
|
[[package]]
|
|
910
909
|
name = "libm"
|
|
@@ -1417,9 +1416,9 @@ dependencies = [
|
|
|
1417
1416
|
|
|
1418
1417
|
[[package]]
|
|
1419
1418
|
name = "rustymath"
|
|
1420
|
-
version = "0.1.
|
|
1419
|
+
version = "0.1.28"
|
|
1421
1420
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1422
|
-
checksum = "
|
|
1421
|
+
checksum = "f314692c6406796c90b8b3569bcbd57e3c119bd9975a828197553c057ac91635"
|
|
1423
1422
|
dependencies = [
|
|
1424
1423
|
"half",
|
|
1425
1424
|
"hashbrown 0.17.1",
|
|
@@ -1433,6 +1432,16 @@ dependencies = [
|
|
|
1433
1432
|
"strength_reduce",
|
|
1434
1433
|
]
|
|
1435
1434
|
|
|
1435
|
+
[[package]]
|
|
1436
|
+
name = "rustymath-buffer"
|
|
1437
|
+
version = "0.1.28"
|
|
1438
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1439
|
+
checksum = "c47b6c4e1bae1a9e89ff8271bfa5907e5443f9c16a71a735d3d81cc6ed8a48eb"
|
|
1440
|
+
dependencies = [
|
|
1441
|
+
"pyo3",
|
|
1442
|
+
"rustymath",
|
|
1443
|
+
]
|
|
1444
|
+
|
|
1436
1445
|
[[package]]
|
|
1437
1446
|
name = "ryu"
|
|
1438
1447
|
version = "1.0.23"
|
|
@@ -2083,7 +2092,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
|
2083
2092
|
|
|
2084
2093
|
[[package]]
|
|
2085
2094
|
name = "xtask"
|
|
2086
|
-
version = "0.1.
|
|
2095
|
+
version = "0.1.55"
|
|
2087
2096
|
dependencies = [
|
|
2088
2097
|
"anyhow",
|
|
2089
2098
|
"serde_json",
|
|
@@ -5,7 +5,7 @@ members = ["py"]
|
|
|
5
5
|
join_comments = true
|
|
6
6
|
|
|
7
7
|
[workspace.package]
|
|
8
|
-
version = "0.1.
|
|
8
|
+
version = "0.1.55"
|
|
9
9
|
edition = "2021"
|
|
10
10
|
rust-version = "1.98"
|
|
11
11
|
license = "Apache-2.0"
|
|
@@ -60,7 +60,7 @@ num-complex = { version = ">=0.4.6, <1", features = ["bytemuck"] }
|
|
|
60
60
|
num-bigint = ">=0.4.6, <0.5"
|
|
61
61
|
num-traits = ">=0.2.19, <1"
|
|
62
62
|
half = { version = ">=2.7.1, <3", features = ["num-traits", "bytemuck"] }
|
|
63
|
-
rustymath = { version = ">=0.1.
|
|
63
|
+
rustymath = { version = ">=0.1.28, <1", default-features = false }
|
|
64
64
|
strength_reduce = ">=0.2.4, <1"
|
|
65
65
|
rand = ">=0.10.2, <1"
|
|
66
66
|
# AnswerDotAI's fork measures text with a canvas, which works in a Web Worker: plotters-rs/plotters#746.
|
|
@@ -20,13 +20,13 @@ Build nothing else without discussion: no scratch crates, alternate target direc
|
|
|
20
20
|
|
|
21
21
|
An already-running Python process retains its loaded extension. In a kernel, use `from basedpl.worker import fresh; fresh(code)` to check the installed `bpl` in a fresh worker instead of restarting the kernel. A BPL error raises `BplError`. Check one expression and read its result before building on it. `basedpl.bpltests.check_file` and `check_page` check reference files and documentation through the worker without building Rust.
|
|
22
22
|
|
|
23
|
-
Measure with `BASEDPL_COSTS=1 cargo test --test speed` or `basedpl.bpltests.time_cases(cases)`. Both count costs in copies. A copy is the time to write as many floats as the data has items, each negated, into a second buffer. Budgets are single-thread measurements. Use `time_cases(..., threads=...)` separately for scaling. `speed_costs()` reads the cases in `tests/speed.txt`. `cases=` selects expressions, `wasm=DIR` selects a browser build, and `native=True` times rustymath's own linear algebra, which dev builds compile in. `logged_costs(log)` reads CI output, and `cargo_costs(path)` runs either project's speed test.
|
|
23
|
+
Measure with `BASEDPL_COSTS=1 cargo test --test speed` or `basedpl.bpltests.time_cases(cases)`. Both count costs in copies. A copy is the time to write as many floats as the data has items, each negated, into a second buffer. Budgets are single-thread measurements. Use `time_cases(..., threads=...)` separately for scaling. `speed_costs()` reads the cases in `tests/speed.txt`. `cases=` selects expressions, `wasm=DIR` selects a browser build, `bpl=PATH` selects another native `bpl`, such as a saved copy, and `native=True` times rustymath's own linear algebra, which dev builds compile in. `logged_costs(log)` reads CI output, and `cargo_costs(path)` runs either project's speed test.
|
|
24
24
|
|
|
25
|
-
The manual `Speed` workflow measures the native and wasm builds on CI. On each push, the `Test` workflow also logs every native cost in its `test` job and every wasm cost in its `wasm` job. `logged_costs` reads those logs like a `Speed` run's. When you review a run, look mainly for costs that changed by more than 20%, especially where several similar operations changed by similar amounts. Never raise budgets mechanically from a run's costs, because mechanical rises can lock in poor performance. Study each slowdown until you know its cause. Raise a budget only for a slowdown you've judged reasonable, never for a minor variation. `set_budgets(native, wasm, cases=cases)` applies the rule in the budget file to the cases that `cases` names. Name only the cases whose budgets should change. Without `cases`, it changes every case with a cost. A case can appear in more than one section, such as `[copies]` and `[widths]`. `sections=` limits the change to the sections it names. For a new case that CI hasn't timed, pass this Mac's costs with `untimed=True`. A budget in copies is then four times the Mac cost, as the budget file's header says.
|
|
25
|
+
The manual `Speed` workflow measures the native and wasm builds on CI. On each push, the `Test` workflow also logs every native cost in its `test` job and every wasm cost in its `wasm` job. `logged_costs` reads those logs like a `Speed` run's. When you review a run, look mainly for costs that changed by more than 20%, especially where several similar operations changed by similar amounts. Never raise budgets mechanically from a run's costs, because mechanical rises can lock in poor performance. Study each slowdown until you know its cause. Raise a budget only for a slowdown you've judged reasonable, never for a minor variation. `set_budgets(native, wasm, cases=cases)` applies the rule in the budget file to the cases that `cases` names. Name only the cases whose budgets should change. Without `cases`, it changes every case with a cost. A case can appear in more than one section, such as `[copies]` and `[widths]`. `sections=` limits the change to the sections it names. For a new case that CI hasn't timed, pass this Mac's costs with `untimed=True`. A budget in copies is then four times the Mac cost, as the budget file's header says. `path=` selects rustymath's `tests/speed.txt`.
|
|
26
26
|
|
|
27
27
|
The speed tests and the scaling test time each failing case again after the rest, after each pause in `basedpl::timing::RETRY_PAUSES`, and fail only for a case that fails every time. Each retry prints the case's earlier and new costs, even in a passing run. `logged_costs` keeps a retried case's lowest cost. Study a case that needs a retry in most runs, as you would a slowdown.
|
|
28
28
|
|
|
29
|
-
For a change meant to make something faster, or a change to code that every call goes through, time the cases it affects
|
|
29
|
+
For a change meant to make something faster, or a change to code that every call goes through, time the cases it affects before and after the change. Before your first `cargo develop`, copy the installed `bpl` in the kernel with `shutil.copy(basedpl.worker.INSTALLED_BPL, '/tmp/<prefix>_bpl')`. Time that copy with `bpl='/tmp/<prefix>_bpl'`, and your build with the default. Another agent's `cargo develop` can replace the installed `bpl` at any time. The copy keeps your baseline fixed while agents build in parallel. Because costs in copies correct for the machine's overall speed, the two timings compare directly at the 20% level that review looks for. A budget allows twice a case's worst cost. The speed test alone misses any smaller slowdown. Other changes need only the speed test. Don't restore old code in the shared tree to get a baseline. On macOS, native timings of matrix products and decompositions mostly measure Accelerate. Rustymath's DEV.md says how to time rustymath's own kernels.
|
|
30
30
|
|
|
31
31
|
Cooperating tools share `/tmp/aai-ws-timing.lock`. Timings take it exclusively. `cargo develop`, `cargo wasm`, the reference test and pytest take it shared. Other Rust tests and bare Cargo commands do not all take it. After five minutes a timing fails; a build/test proceeds without the lock. After 30 seconds, an exclusive wait prints the processes with the lock file open. The list can include processes that are only waiting for the lock. Never hold it in the shared kernel process or coordinate timings manually. A timing launched there would block behind the hold and stall other agents' kernel calls. Native timings set rustymath's current-thread count to one and request user-interactive macOS QoS to favour performance cores. QoS is not CPU affinity.
|
|
32
32
|
|
|
@@ -54,7 +54,7 @@ Read the newest `lib<crate>-<hash>.rlib` under `/tmp/aai-ws-x86/x86_64-unknown-l
|
|
|
54
54
|
| `wasm/` (`basedpl-wasm`) | Browser bindings. |
|
|
55
55
|
| `xtask/` | Browser package build tooling. |
|
|
56
56
|
|
|
57
|
-
The default workspace members are core, CLI and Python; wasm/xtask build only when requested. Frontends use the core's public API. Core/CLI Rust tests live in `tests/` and `cli/tests/`. Libraries set `test = false` to avoid separate `cfg(test)` builds. PyO3 is in its own crate, not an optional core feature. The core uses `serde_json` for the process protocol and data functions.
|
|
57
|
+
The default workspace members are core, CLI and Python; wasm/xtask build only when requested. Frontends use the core's public API. Core/CLI Rust tests live in `tests/` and `cli/tests/`. Libraries set `test = false` to avoid separate `cfg(test)` builds. Because no build runs `#[cfg(test)]` code, libraries hold no inline tests or test-only counters. Any internal behaviour worth a test, such as whether an expression fuses, is worth knowing for every user too. Tests in `tests/` check it through the public API, such as `•explain`, `•storage` or `•memory`. PyO3 is in its own crate, not an optional core feature. The core uses `serde_json` for the process protocol and data functions.
|
|
58
58
|
|
|
59
59
|
Rust 1.98 or later supplies algebraic float operations. `test` inherits `release`: opt-level 2, incremental compilation, LTO off, no debug information, overflow checks or debug assertions. `.cargo/config.toml` explicitly enables LLVM's SLP vectorizer and targets x86-64-v3 on x86. Target-specific rustflags repeat the SLP setting because they replace build-wide flags. `dist` disables incremental compilation, enables within-crate LTO and strips symbols. Keep these settings aligned with rustymath's.
|
|
60
60
|
|
|
@@ -81,12 +81,12 @@ Use `cargo build --lib --bins --profile test --timings` to inspect the normal bu
|
|
|
81
81
|
| Files | Responsibility |
|
|
82
82
|
|---|---|
|
|
83
83
|
| `syntax.rs`, `eval/binder.rs` | Structural parse, runtime category binding, trains, dot access and subscripts. |
|
|
84
|
-
| `eval.rs`, `eval/session.rs`, `eval/operators.rs`, `eval/assign.rs` | Shared calls, sessions/modules, operators, scopes and assignments. |
|
|
84
|
+
| `eval.rs`, `eval/session.rs`, `eval/operators.rs`, `eval/idioms.rs`, `eval/assign.rs` | Shared calls, sessions/modules, operators, fast combinations, scopes and assignments. |
|
|
85
85
|
| `execution.rs`, `error.rs` | Cancellation, deadlines, input/output and retained diagnostics. |
|
|
86
86
|
| `array.rs`, `array/storage.rs`, `array/text.rs` | Values, layouts, compact/mixed storage, gathering and source formatting. |
|
|
87
|
-
| `agreement.rs`, `keyed.rs`, `selection.rs` |
|
|
88
|
-
| `primitive.rs`, `primitive/` | Primitive metadata, ranks/axes, inverses and array operations. |
|
|
89
|
-
| `number.rs`, `element.rs`, `pervasive.rs`, `fusion.rs` | Numeric domains, item operations, compact kernels,
|
|
87
|
+
| `agreement.rs`, `keyed.rs`, `selection.rs` | Rustymath's broadcasting `Agreement` with basedpl's layouts and their renderer, reading paired items, named/keyed alignment, and selection/writeback. |
|
|
88
|
+
| `primitive.rs`, `primitive/` | Primitive metadata, ranks/axes, inverses and array operations. Structural glyphs read their arguments, take each result's layout and `Steps` from a plan in rustymath's `structure`, and copy by it. |
|
|
89
|
+
| `number.rs`, `element.rs`, `pervasive.rs`, `fusion.rs`, `explain.rs` | Numeric domains, item operations, compact kernels, pending arrays with the graphs that compute them, and the events that `•explain` records and the live nodes that `•memory` counts. |
|
|
90
90
|
| `derivative.rs`, `linear.rs` | `∂`: duals, tags, seeding, the partials table and the rules for operators, and the record of linear calls that reverse mode transposes. |
|
|
91
91
|
| `search.rs`, `number_theory.rs`, `polynomial.rs`, `distribution.rs` | Array-level adapters to rustymath. |
|
|
92
92
|
| `system.rs`, `data.rs` | System-function metadata, native functions, options and import rules. |
|
|
@@ -118,13 +118,13 @@ Tail calls reuse frames while preserving lexical dependencies. Handlers disable
|
|
|
118
118
|
|
|
119
119
|
## Values, layouts and assignment
|
|
120
120
|
|
|
121
|
-
`Value` holds a number, character, function, operator or shared array. Compact storage holds Booleans, narrow integers, width-specific floats
|
|
121
|
+
`Value` holds a number, character, function, operator or shared array. Compact storage holds a rustymath `buffer::Buffer` of Booleans, narrow integers, width-specific floats or complex numbers, or characters, all of one dtype, and `Items` borrows it as a `buffer::View`. BPL's promotion rules for those dtypes stay in basedpl, as `Promotion` in `array/storage.rs`. A rustymath buffer keeps the dtype it's given, and basedpl picks an integer's width from its values. Mixed storage holds `Value`s and memoizes its prototype and innermost lexical dependency. Other properties are computed when needed. An array holds its layout and its storage in one allocation. Its `Shape` holds ranks 0 to 2 inline, so a small array allocates no shape. Constructors take `impl Into<Shape>`: pass a slice, or an array such as `[n]`, rather than building a `Vec`. A shape, key or name change on a shared array makes a view of the base array's storage and copies no items. A large result of a fusible float call holds a pending call in place of its storage, and computes the storage on the first read (`fusion.rs`). `Value::view` and `from_buffer` are the public width-preserving frontend boundary. They give and take rustymath's `View` and `Buffer`, which basedpl's API re-exports as `basedpl::buffer`.
|
|
122
122
|
|
|
123
123
|
Atoms, rank-0 arrays and singleton vectors are distinct. Function nodes retain handles, not lexical frames or Python objects. Functions match by their parts; dfns and generators match by identity. Operators can be values and can cross the native Python boundary. Values and function nodes are `Send + Sync`.
|
|
124
124
|
|
|
125
125
|
Numeric storage fills with zero and characters with blank. Mixed nonempty arrays derive their prototype from their first item on demand; empty arrays require one explicitly. Builders accept a value or a lazy prototype function and evaluate the function only for an empty result. Preserve function handles inside prototypes.
|
|
126
126
|
|
|
127
|
-
`Layout`
|
|
127
|
+
`Layout` wraps rustymath's `layout::Layout`, which holds the dimensions, position keys and axis names, and adds the renderer. Methods that change only keys or names keep the renderer, as `select` does. Methods that build a layout from axes drop it, and pairing two layouts by broadcasting keeps the renderer they agree on (`Layout::paired`). Rustymath's `agreement` does the pairing: it unites keys and broadcasts through index maps. Missing positions read each source's prototype. Agreement pairs equal axis names first. It pairs remaining axes positionally unless both have different names. Result assembly drops colliding axis names; public name attachment rejects duplicates. Contracted axes require equal key sets and retain the first order. Nonempty key lists with no named positions become unkeyed; empty record keys survive.
|
|
128
128
|
|
|
129
129
|
`Gather` owns copying and widening. `Steps`, from rustymath's `gather`, describes strides, ranges/fills, rotations and offset tables. `Gather::walk` copies compact storage through `rustymath::gather::walk`. Structural operations should use `remap`/gathering rather than reconstructing `Value`s per item. Equal-shape cells copy in blocks. `Items` reads counts, positions and axes from compact storage without boxing every item. Shape, tally, positions and predicates have dedicated integer/Boolean builders.
|
|
130
130
|
|
|
@@ -138,6 +138,8 @@ Axis nodes select/move axes and reuse Rank when the function has no direct axis
|
|
|
138
138
|
|
|
139
139
|
Inverse nodes propagate fixed-argument sides through composition. `f⁻¹←g` and `f∂←g` replace the binding with a `Ruled` node, which holds the function with its hand-written inverse and derivative. Calling it calls the function. `⁻¹` and `∂` use the rules, and Under counts an attached inverse as keeping every item. Candidate-building primitive inverses validate by applying the primitive again. Inverse scans share forward scan's seed/axis validation. Agenda calls its selector once, then passes the original arguments to the selected branch. Computed operands for Rank, Axis, Stencil and Agenda use shared operand evaluation. Python constructs these nodes directly, not by generating source.
|
|
140
140
|
|
|
141
|
+
`Function::new` recognises a fast combination (`eval/idioms.rs`) from the node it builds, once, and keeps the `Idiom` in `FunctionData`. `dispatch` tries the idiom first. Key tries its own idioms inside `key`, after one validation. A fold that `pervasive::fold_groups` can't compute takes the general path with the same classes. The idiom checks its arguments on each call, and gives `None` where they don't suit it, which sends the call down the general path. Only built functions get idioms: trains, compositions and operator applications. The binder doesn't look across an expression's calls. Each idiom has a row under "Fast combinations" on its glyph pages. `tests/explain.rs` checks through `•explain` that every documented spelling takes its idiom. A reference case in `core.bpl` checks that each gives what a spelling that no idiom recognises gives. An idiom chooses an algorithm, which stays in rustymath or the kernel modules. A whole-array path that follows from an operator's own definition, such as Rank's for pervasive operands, belongs with the operator.
|
|
142
|
+
|
|
141
143
|
## Numbers and backend ownership
|
|
142
144
|
|
|
143
145
|
`number.rs` owns scalar kinds, promotion and exactness. Integers and BigRational share an exact domain. Overflowing scalar integer arithmetic widens to exact rationals; integral rational results narrow back when possible. Booleans are a distinct kind. Arithmetic reads them as 0/1; logical operations preserve them. Match/search/grade compare their numeric value, while reference checks also distinguish representation and exactness.
|
|
@@ -156,7 +158,7 @@ Only f64 comparisons use the session tolerance, from 0 to `1E-14`. f32/f16 compa
|
|
|
156
158
|
|
|
157
159
|
`Domain` and `with_field!` select working reals, Complex64 or BigRational for generic numeric algorithms. Compact storage selects the domain without scanning its items. `number::read` converts once; `Field::array` builds compact float/complex results without a `Number` per item. Each caller lists the domains it supports. Compact complex input does not take a real path merely because all imaginary parts are zero; results built through `Value::complex` can normalize to float storage.
|
|
158
160
|
|
|
159
|
-
Rustymath owns the mathematical algorithms. Basedpl owns pervasion, storage, numeric promotion, axes and language policy. Approximate matrix solve/pseudoinverse and decomposition use rustymath factorizations. On macOS, rustymath sends much of this work to Accelerate, as its DEV.md describes. No platform-specific adapter belongs here. The Cargo configuration, for Cargo's own builds, and `pyproject.toml`, for the wheels, both set the macOS deployment minimum to 15. Exact solve/pseudoinverse/determinant use rational field algorithms. Generic permanent and polynomial helpers also run at floating/complex field types. Singular/wide matrix division gives least-norm solutions. LU eligibility and SVD cutoffs are rustymath policy, not duplicated here.
|
|
161
|
+
Rustymath owns the mathematical algorithms. Basedpl owns pervasion, storage, numeric promotion, axes and language policy. Code whose inputs and outputs are only buffers, shapes and plain numbers belongs in rustymath, even when only basedpl calls it. Approximate matrix solve/pseudoinverse and decomposition use rustymath factorizations. On macOS, rustymath sends much of this work to Accelerate, as its DEV.md describes. No platform-specific adapter belongs here. The Cargo configuration, for Cargo's own builds, and `pyproject.toml`, for the wheels, both set the macOS deployment minimum to 15. Exact solve/pseudoinverse/determinant use rational field algorithms. Generic permanent and polynomial helpers also run at floating/complex field types. Singular/wide matrix division gives least-norm solutions. LU eligibility and SVD cutoffs are rustymath policy, not duplicated here.
|
|
160
162
|
|
|
161
163
|
`•decompose`/`•decompose⁻¹` share domain reading and `Factor` dispatch, with options for kind, vectors and complete QR. Polynomial adapters choose compact evaluation or generic field operations; gradients differentiate coefficients before evaluating. Number-theory adapters supply cancellation checks and assemble result cells. Distribution constructors expose native density/CDF/quantile/sample functions. Compact continuous calls use slice objects. Discrete samples and finite discrete quantiles are exact integers.
|
|
162
164
|
|
|
@@ -170,17 +172,21 @@ Cheap mixed kernels in `Mixed` convert as they read through `Source`. Other kern
|
|
|
170
172
|
|
|
171
173
|
Custom elementwise closures use `rustymath::pairs` and its uninitialized append path. Function objects use their own slice forms. Keep per-item bodies inlinable across codegen units; passing a closure by reference can introduce an uninlined `Fn` shim. Pass it by value, or wrap an existing reference in a new closure. Hot loops use slices and fixed chunks rather than iterator helpers that introduce calls in the incremental build. Avoid captured mutable flags that live in memory and block vectorization.
|
|
172
174
|
|
|
173
|
-
A failed compact kernel leaves placeholder results and triggers a wider/exact/complex or scalar path for the whole call. Complex fallback is shared with `Number` policy. Overflow detection belongs to rustymath
|
|
175
|
+
A failed compact kernel leaves placeholder results and triggers a wider/exact/complex or scalar path for the whole call. Complex fallback is shared with `Number` policy. Overflow detection belongs to rustymath: the integer forms of its arithmetic objects, its checked reductions and its checked products. Cheap integer multiplication uses bounds to select an exact width without a per-item overflow check. Add no blanket NaN/signed-zero canonicalization pass; algorithm-specific failure checks and rustymath's SIMD kernels remain part of their algorithms.
|
|
176
|
+
|
|
177
|
+
`fusion.rs` defers eligible float calls: `Primitive::pervasive_mapped` gives a pending array (`Data::Node` holding a `fusion::Pending`) in place of the result. Pending arrays survive assignment and link to the pending arrays they read. Reading one forces it through `ArrayData::storage`, which builds a `Graph` from the pending calls that only that graph reads and runs it block by block through the same pervasive kernels. Readers that need only the shape, kind or prototype, such as `Value::len` and `Value::environment`, answer without forcing. `Value::force` forces a result, as timing does. Each node writes a block to a buffer that later nodes reuse once its readers have run. Small graphs run unfused unless a supported reduction consumes them directly. Node-making code stays out of line from dispatch, because inlined code grows the frame that stays on the stack at every recursion level. The module doc owns eligibility rules and limits; don't copy its thresholds here. A structural copy of one source through rustymath `Steps` (`remapped`) whose result has at least `MIN_ITEMS` items gives a pending copy (`fusion::copy`) for any compact kind. Its map is a `Mapping::Steps` with one entry for each result axis. Broadcasting's maps use the same variant. Forcing composes a read of a copy with the copy's map, and moves a read with no repeat or fill under the pervasive calls it reaches (`Pending::resolved`), so `2×⌽v+1` reads `v` backwards in one graph. Rustymath's `agreement::expanded` reads a forward run in place, and copies anything else through `gather::walk_range`. A copy that no call reads through is walked as `remapped` walks it. Fused and ordinary folds share rustymath's `reduce::along`/`fold_into` traversal.
|
|
178
|
+
|
|
179
|
+
Ordinary pervasive kernels also read pending copies through their maps. `fusion::source` snapshots the source and mapping without taking the pending work, and rustymath composes that mapping with the call's agreement. `pervasive::Input` keeps the snapshot alive while kernels read its storage through existing blocked readers. Checks of a whole input's values, such as bounds and finiteness, read only the items that its logical `ArrayView` selects. Unsupported compositions and dense readers retain the pending array's one cached compact result.
|
|
174
180
|
|
|
175
|
-
`
|
|
181
|
+
`explain.rs` holds the events that `•explain` reports. One check in `Function::reported` serves both `•prefs ["fusion":$t]` and `•explain`: a call that computes a pending argument writes the pref's line and records a `forced` event. `Graph::explained` records a fused group where a graph runs, and where a fold reads through one. `Idiom::call` records each fast combination taken, by the name `Idiom::name` gives. Fusion runs graphs without a session, so events go to a sink on the evaluating thread, which holds them only while `•explain` runs. Outside it, `call` pays one branch on the session's flags. Each record node and pending array holds an `explain::Live` guard, which counts it for the thread that made it until it is dropped, on any thread. `•memory` reports those counts, and `Value::footprint` walks a value's allocations for its `bytes`.
|
|
176
182
|
|
|
177
183
|
`derivative.rs` implements `∂`. A dual is a tag, a primal and a tangent: `Repr::Dual` for a number and `Data::Dual` for an array, whose primal and tangent can be pending. `call_axis` sends a call with a dual argument to `derivative::call`. It applies the partials table to pervasive glyphs and its own rule to `⌻`, and calls glyphs whose results carry no tangent on the primals. Structural glyphs, Under and selective assignment need no rules, because `Gather` copies a dual's primal and tangent together. Mix of a dual whose primal is nested mixes the primal and the tangent apart (`Rule::Parts`). `fold` and scans with `+`, `×`, `⌈` and `⌊`, `+.×` and outer products have rules, and kernels that read numbers directly leave active arguments to their general paths. `Function::apply` sends a call of `⌹` or `⊥` with an active argument to `derivative::operated`, because their rules call `+.×` and scans, which need a `&mut Context` that `call_axis` doesn't have. `expansion` sends monadic `-.×` to `derivative::determinant`. The rules for `⌹` and `-.×` keep the glyph's own result as the primal, so that a function computes the same values with or without `∂`. Their tangents and transposes multiply by `R`, the inverse that `numeric::matrix_inverse` takes from one factorization through rustymath's `linalg::inverse`. `regular_inverse` gives UNSUPPORTED where rustymath's regularity test finds the matrix singular. With only `B` active, `R` is `⌹A`, a pseudoinverse included. With one number in `x`, `f∂ x` runs `f` once with `x` seeded along it. With more, `linearized` runs `f` once with each part of `x` seeded with a record from `linear.rs`: a tangent whose items are never computed, which the same rules extend into a graph of linear calls. `reverse` then reads the Jacobian from the record, by a transpose for each result item or a forward evaluation for each number of `x`, whichever are fewer. A function with a JVP rule that `f∂←g` attached calls the rule with `⍺` a dual of zeros whose tangent is the argument's, so in reverse mode the rule extends the record too (`derivative::attached`). A call of such a function with two arguments gives DOMAIN ERROR wherever `∂` needs a derivative through it (`derivative::two_arguments`). Code that reads a dual array's storage gets its items as number duals, which is correct at per-item speed. A number that reaches code that can't differentiate it gives an UNSUPPORTED error. Writes to bindings outside a `∂` call are recorded and stripped when it returns.
|
|
178
184
|
|
|
179
|
-
Folds by algebraic float operations can regroup. Contiguous subtraction/division folds use `Alternating`; quotients fall back to item-by-item folding if their products leave the normal range. Boolean scans compose truth-table maps; comparison scans compute both possible totals in bulk and use `reduce::chosen`. Seeds, axis lanes and scalar fallback preserve the language's accumulation direction. Generic reductions stay right-associated and preserve operand call order/effects. Monadic `f.g` is the exception: it memoizes each minor's expansion, and a cached minor does not repeat operand calls or their effects. Determinant/permanent fast paths use the appropriate rustymath backend.
|
|
185
|
+
Rustymath owns numeric folds, scans, adjacent pairs, grouped reductions and integer bounds. Basedpl selects kernels, tolerance, seeds, storage widths and exact fallbacks. Folds by algebraic float operations can regroup. Contiguous subtraction/division folds use `Alternating`; quotients fall back to item-by-item folding if their products leave the normal range. Boolean scans compose truth-table maps; comparison scans compute both possible totals in bulk and use `reduce::chosen`. Seeds, axis lanes and scalar fallback preserve the language's accumulation direction. Generic reductions stay right-associated and preserve operand call order/effects. Monadic `f.g` is the exception: it memoizes each minor's expansion, and a cached minor does not repeat operand calls or their effects. Determinant/permanent fast paths use the appropriate rustymath backend.
|
|
180
186
|
|
|
181
|
-
The automatic Rayon scheduler serves rustymath elementwise `many` and `pairs`, folds through `reduce::along`, fused graphs and matrix products. Scans don't split. Decompositions split in the products of their blocked updates, the passes of their Hermitian and bidiagonal reductions, and their divide-and-conquer merges. `rank` sends dyadic `+.×` and `⌹`, monadic `⌹` and `-.×`, and `•decompose` over the 2-cells of an unkeyed stack with compact storage to `primitive::stacked` and `stacked_decompositions`. They run each cell through the rustymath function it uses alone. A pervasive operand, or Rank nested down to one, runs as one call: each argument gets length-1 axes after each level's frame, so leading-axis agreement pairs frames with frames and cells with cells. Arguments with axis names still go cell by cell. Rustymath's `parallel::stack_with` splits whole cells across threads in rounds, with `check_now` between rounds. A caller whose checks run far apart, such as a round or a rustymath `_with` callback, calls `check_now`, because `Context::check` reads the clock only on every 64th call. The scheduler adapts to call cost, uses `RAYON_NUM_THREADS` by default and accepts current-thread overrides through `parallel::set_threads` (0 default, 1 serial). `Session::evaluation` applies a session's `•prefs ["threads":n]` to each of its evaluations, then restores the thread's own setting. A session that never sets it keeps the evaluating thread's setting, such as the timing harness's one thread. Nested Rayon work does not split again; wasm is serial. A fused graph splits in pieces of whole blocks: an elementwise graph through `parallel::extended`, and a folded one through `reduce::fold_pieces`. On one thread an elementwise graph appends straight to its result, because copying each block into a piece's slots cost up to 1.2 copies there. Small converted chunks limit the work available to the scheduler. Don't infer multicore execution from a large array alone.
|
|
187
|
+
The automatic Rayon scheduler serves rustymath elementwise `many` and `pairs`, broadcasts through `agreement::blocks`, folds through `reduce::along`, fused graphs and matrix products. Scans don't split. Decompositions split in the products of their blocked updates, the passes of their Hermitian and bidiagonal reductions, and their divide-and-conquer merges. `rank` sends dyadic `+.×` and `⌹`, monadic `⌹` and `-.×`, and `•decompose` over the 2-cells of an unkeyed stack with compact storage to `primitive::stacked` and `stacked_decompositions`. They run each cell through the rustymath function it uses alone. A pervasive operand, or Rank nested down to one, runs as one call: each argument gets length-1 axes after each level's frame, so leading-axis agreement pairs frames with frames and cells with cells. Arguments with axis names still go cell by cell. Rustymath's `parallel::stack_with` splits whole cells across threads in rounds, with `check_now` between rounds. A caller whose checks run far apart, such as a round or a rustymath `_with` callback, calls `check_now`, because `Context::check` reads the clock only on every 64th call. The scheduler adapts to call cost, uses `RAYON_NUM_THREADS` by default and accepts current-thread overrides through `parallel::set_threads` (0 default, 1 serial). `Session::evaluation` applies a session's `•prefs ["threads":n]` to each of its evaluations, then restores the thread's own setting. A session that never sets it keeps the evaluating thread's setting, such as the timing harness's one thread. Nested Rayon work does not split again; wasm is serial. A fused graph splits in pieces of whole blocks: an elementwise graph through `parallel::extended`, and a folded one through `reduce::fold_pieces`. On one thread an elementwise graph appends straight to its result, because copying each block into a piece's slots cost up to 1.2 copies there. Small converted chunks limit the work available to the scheduler. Don't infer multicore execution from a large array alone.
|
|
182
188
|
|
|
183
|
-
Packed numeric, Boolean and equality-count inner products use `rustymath::linalg`. Integer calls use `Inner::checked` before relying on an exact compact result. `pervasive::inner` takes each operand's `Orientation`. Its float and complex products read a transposed operand in place, as reverse mode's `product_transpose` needs. Structural gather/compress and interval index also reuse rustymath. Measure generic/backend changes in both projects; callers' codegen and layout determine costs that isolated kernels miss.
|
|
189
|
+
Packed numeric, Boolean and equality-count inner products use `rustymath::linalg`. Other native pairs use its bounded `inner_with` runner and `reduce::right_fold`, carrying the right tail across blocks. Basedpl supplies its primitive kernels, tolerance and exact-widening fallback. Integer calls use `Inner::checked` before relying on an exact compact result. `pervasive::inner` takes each operand's `Orientation`. Its float and complex products read a transposed operand in place, as reverse mode's `product_transpose` needs. Structural gather/compress and interval index also reuse rustymath. Measure generic/backend changes in both projects; callers' codegen and layout determine costs that isolated kernels miss.
|
|
184
190
|
|
|
185
191
|
## Evaluation and frontend boundaries
|
|
186
192
|
|
|
@@ -192,13 +198,13 @@ Packed numeric, Boolean and equality-count inner products use `rustymath::linalg
|
|
|
192
198
|
|
|
193
199
|
### Python
|
|
194
200
|
|
|
195
|
-
`python/basedpl/__init__.py` owns the shared `bpl` workspace and `Array`/result/error wrappers. `fn` aliases `bpl.fn`; builtins and magics share that workspace. Plain calls print explicit output and return Array, Function or Operator values. Capturing calls return `Result`. Capture mode is positional-only because keywords bind BPL names. `_Session.eval` and `.call` are the PyO3 entry points; `request` is their internal Rust helper.
|
|
201
|
+
`python/basedpl/__init__.py` owns the shared `bpl` workspace and `Array`/result/error wrappers. `fn` aliases `bpl.fn`; builtins and magics share that workspace. Registering the magics gives it the REPL's display defaults, through `Session::make_interactive`. Plain calls print explicit output and return Array, Function or Operator values. Capturing calls return `Result`. Capture mode is positional-only because keywords bind BPL names. `_Session.eval` and `.call` are the PyO3 entry points; `request` is their internal Rust helper.
|
|
196
202
|
|
|
197
203
|
`functions.py` constructs native nodes and lazy exports from Rust metadata. Builtins win name collisions with workspace names; operation names choose valence/currying. `__all__` omits Python-builtin collisions but leaves explicit imports available. Function calls with keywords use a keyed left argument. A single positional argument stays the right argument unchanged; zero or multiple positional arguments form a vector. Operator properties and `_Pending` assemble native nodes, never generated BPL source. `printing.py` reads node parts without evaluating or resolving names.
|
|
198
204
|
|
|
199
205
|
`.fn()` retains a late-bound expression. Calls resolve affected nodes against the calling session while sharing unaffected graph nodes. This preserves primitive fast paths, inverses and reduction identities. The binder still resolves ordinary names during execution. Cyclic resolution is a LIMIT error.
|
|
200
206
|
|
|
201
|
-
Arrays retain native values. `.py` and `.np` make copies; NumPy is optional and lazy.
|
|
207
|
+
Arrays retain native values. `.py` and `.np` make copies; NumPy is optional and lazy. Any object with a buffer, NumPy arrays included, imports at its own width with one copy, through rustymath-buffer's `read`. NumPy arrays first convert signed bytes to int16 and wider unsigned integers to int64; uint64 above int64 raises ValueError. `own()` moves compact items into a writable NumPy array where nothing else holds them, holding Booleans as `u8` and characters as `i32`, because NumPy can write any bytes. Exact integers/fractions cross through native integers, not decimal strings. String/object arrays convert per item. Lists follow the shared import rule and dictionaries stay mixed. `syntax.py` wraps the native syntax tree with character spans and span-editing helpers.
|
|
202
208
|
|
|
203
209
|
Each `_Session` request waits for its evaluator mutex without the GIL, then evaluates on the caller's thread with the GIL released. A separate interrupt handle supports interruption from another thread. Signal polling briefly takes the GIL. Python input and optional streaming-output callbacks also cross at explicit boundary adapters. No Python numeric objects enter core values; arrays can be dropped on any thread without an unsafe Send implementation.
|
|
204
210
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: basedpl
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.55
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Requires-Dist: fastcore
|
|
@@ -19,7 +19,7 @@ License-File: LICENSE
|
|
|
19
19
|
Summary: BasedPL, the Based-array Programming Language, is an APL-derived array language, borrowing ideas from J and BQN, with an emphasis on simple, consistent notation.
|
|
20
20
|
Author-email: Jeremy Howard <github@jhoward.fastmail.fm>
|
|
21
21
|
License-Expression: Apache-2.0
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
23
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
24
24
|
Project-URL: Documentation, https://answerdotai.github.io/basedpl
|
|
25
25
|
Project-URL: Homepage, https://github.com/AnswerDotAI/basedpl
|