basedpl 0.1.89__tar.gz → 0.1.91__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.
- {basedpl-0.1.89 → basedpl-0.1.91}/Cargo.lock +10 -10
- {basedpl-0.1.89 → basedpl-0.1.91}/Cargo.toml +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/DEV.md +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/PKG-INFO +1 -1
- {basedpl-0.1.89/python/basedpl → basedpl-0.1.91/editors/jetbrains/BPL.tmbundle/Syntaxes}/bpl.tmLanguage.json +2 -2
- {basedpl-0.1.89/python/basedpl → basedpl-0.1.91/editors/jetbrains/BPL.tmbundle/Syntaxes}/hpl.tmLanguage.json +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/jetbrains/BPL.xml +0 -15
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/vim/syntax/bpl.vim +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/layout.h +0 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/array.bpl +6 -6
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/dyalog.bpl +9 -9
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/graph.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/numeric.bpl +6 -6
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/string.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/tree.bpl +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/arrays.ipynb +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/autodiff.qmd +5 -5
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/bpl.xml +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/comparison.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/composition.qmd +14 -13
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/evaluation.qmd +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/attractor.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/boids.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/dragon.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/flow.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/orbits.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/phyllotaxis.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/reaction.bpl +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/at.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/backslash.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-star.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-stile.qmd +7 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/comma.qmd +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/diamond-underbar.qmd +9 -9
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/dot.qmd +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/jot-diaeresis.qmd +4 -4
- basedpl-0.1.91/nbs/glyphs/jot.qmd +18 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/left-shoe-underbar.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/left-shoe.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/left-tail-arrow.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/minus.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/obelus.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/partial.qmd +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/pi.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quad-colon.qmd +12 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quad-diamond.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quad-equal.qmd +4 -4
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/radical.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/right-tail-arrow.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/slash.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/star.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/superscript-minus.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/tricolon.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/hpl.xml +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/index-notation.qmd +10 -10
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/indexing.ipynb +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/keyboard.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/llms.txt +5 -5
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/overview.ipynb +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/principles.ipynb +4 -4
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/python.ipynb +4 -4
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/scripts.ipynb +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/01_basics.ipynb +3 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/03_operators.ipynb +7 -7
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/06_rearranging-arrays.ipynb +14 -14
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/style.qmd +4 -4
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/syntax.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/decompose.qmd +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/explain.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/replace.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/special.qmd +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/xml.ipynb +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +0 -12
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +0 -12
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +0 -12
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +0 -12
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +0 -12
- {basedpl-0.1.89/editors/jetbrains/BPL.tmbundle/Syntaxes → basedpl-0.1.91/python/basedpl}/bpl.tmLanguage.json +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/language.js +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/layout.json +1 -1
- {basedpl-0.1.89/editors/jetbrains/BPL.tmbundle/Syntaxes → basedpl-0.1.91/python/basedpl}/hpl.tmLanguage.json +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/syntax.py +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/src/batch.rs +2 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/src/derivative/tape.rs +3 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/src/derivative.rs +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/binder.rs +7 -38
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/axes.rs +5 -2
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/rank.rs +10 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/facts.rs +5 -14
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/inverse.rs +7 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/structural.rs +6 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive.rs +37 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/src/symbols.rs +11 -11
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/core.rs +21 -12
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/aplcart.bpl +166 -166
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/april.bpl +20 -20
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/april_mathish.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/bqn.bpl +10 -10
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/core.bpl +22 -22
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/core_mathish.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/distributions.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/graphics.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/ngn.bpl +8 -8
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/arrays.bpl +6 -6
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/structure.bpl +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_expressions.py +0 -3
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_kernel.py +1 -1
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_keylayout.py +1 -1
- basedpl-0.1.89/nbs/glyphs/circle-bar.qmd +0 -18
- basedpl-0.1.89/nbs/glyphs/jot.qmd +0 -28
- {basedpl-0.1.89 → basedpl-0.1.91}/.cargo/config.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.config/nextest.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.gitattributes +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.github/workflows/ci.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.github/workflows/docs.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.github/workflows/test.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.gitignore +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/.node-version +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/CONTRIBUTING.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/LICENSE +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/TARGET.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/_config.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/_layouts/default.html +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/build.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/jetbrains/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/macos/BasedPL-de.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/macos/BasedPL-es.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/macos/BasedPL-fr.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/macos/BasedPL-uk.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/macos/BasedPL-us.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/vim/ftdetect/bpl.vim +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/build.ps1 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/install.ps1 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/keyboard.c +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/keyboard.def +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/editors/windows/keyboard.rc +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/image/Cargo.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/image/src/codecs.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/image/src/imageio.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/image/src/lib.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/index_files/figure-html/cell-17-output-1.svg +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/index_files/figure-html/cell-18-output-1.svg +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/jit/Cargo.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/jit/src/lib.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/LICENSE-april +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/power.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/lib/regex.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/.gitignore +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/_quarto.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/assignment.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/bqn.xml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/bracket-types.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/cli.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/data.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/dfns.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/distributions.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/driver.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/dyalog.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/dyalog.xml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/fonts/BQN386B.woff2 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/fonts/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/fonts.css +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/foundations.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/mandelbrot.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/mandelbrot32.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery/prefs.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/gallery.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/getting-started.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/_metadata.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/alpha-underbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/alpha.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/backslash-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/braces.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/brackets.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/bullet.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-backslash.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-diaeresis.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-divide.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-slash.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle-times.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/circle.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/colon.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/comma-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/del-diaeresis.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/del-stile.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/del.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/delta-stile.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/diaeresis.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/diamond.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/domino.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/down-arrow.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/down-shoe.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/down-tack.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/downstile.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/epsilon-underbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/epsilon.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/equal-underbar-slash.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/equal-underbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/equals.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/error-guard.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/exclamation.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/greater-than-or-equal.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/greater-than.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/hash.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/hydrant.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/infinity.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/inverted-question.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/iota-underbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/iota.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/lamp.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/left-arrow.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/left-tack.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/less-than-or-equal.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/less-than.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/not-equals.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/omega-underbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/omega.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/overbar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/parentheses.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/plus.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quad-jot.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quad.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/question.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/quote.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/rho.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/right-arrow-from-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/right-left-arrows.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/right-shoe.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/right-tack.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/slash-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/squad.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/star-diaeresis.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/stile-tilde.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/stile.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/superscript-b.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/thorn.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/tilde-diaeresis.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/tilde.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/times.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/up-arrow.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/up-down-arrow.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/up-shoe.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/up-tack.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/upstile.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/vee-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/vee.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/wedge-bar.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/wedge.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs/zilde.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/glyphs-study.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/hanzi-notation-zh.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/hanzi-notation.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/index.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/introspection.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/keyed.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/magics.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/mathish.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/modules.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/nbdev.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/notebooks.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/numbers.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/papers/aplwiki-arrays.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/papers/brickman-depth-1-scalars.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/papers/mercer-based-system.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/performance.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground/bpl.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground/gallery.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground/monaco-worker.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground/page.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground/worker.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/playground.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/plot.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/processes.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/puppy.jpg +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/regex.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/repl.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/sidebar.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/strings.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/02_functions.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/04_nested-arrays.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/05_searching-indexing.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/study/07_numerical-tools.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/styles.css +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/_metadata.yml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/c.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/canvas.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/constants.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/copy.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/csv.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/date.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/deflate.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/delay.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/detach.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/distribution.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/edge.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/element.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/ex.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/fetch.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/float.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/hash.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/host.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/image.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/index.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/js.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/json.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/literal.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/load.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/memory.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/metadata.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/mime.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/mkdir.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/nc.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/nget.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/nl.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/normalize.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/nput.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/path.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/plot.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/prefs.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/r.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/rand.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/readdir.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/remove.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/rename.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/signal.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/src.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/storage.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/svg.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/time.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/ucs.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/uuid.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/vfi.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system/xml.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/system-functions.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/terms.qmd +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/nbs/web.ipynb +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/package-lock.json +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/package.json +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/aplcart.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/april.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/bqn.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/core.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/dyalog.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/provenance/ngn.jsonl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/py/Cargo.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/py/build.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/py/src/lib.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/pyproject.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/__init__.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/_modidx.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/__init__.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/fonts/BQN386B.ttf +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/fonts/LICENSE-BQN386 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/fonts/LICENSE-SAX2 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/fonts/SAX2B.ttf +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/assets/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/bpltests.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/SAX2B.woff2 +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/bpl-editor.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/input.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/browser/lb.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/dyalog.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/editors.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/expressions.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/font.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/fonts.css +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/functions.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/install.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/ipython.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/keyboards.json +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/keyboards.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/notebook_runner.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/notebooks.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/printing.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/reference.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/windows_keyboard.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/python/basedpl/worker.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/rustfmt.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/agreement.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/array/storage.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/array/text.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/array.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/cancel.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/canvas.js +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/canvas.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/csv.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/data.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/date.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/display.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/distribution.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/element.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/error.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/assign.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/bindings.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/dissect.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/agenda.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/each.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/folds.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/key.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/power.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators/products.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/operators.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/rewrite.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval/session.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/eval.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/events.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/execution.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/explain.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/files.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/fusion.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/host.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/host_web.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/image.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/inspection.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/js.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/json.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/keyed.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/lib.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/name.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/number.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/number_theory.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/optimize.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/pervasive/fold.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/pervasive/product.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/pervasive/scan.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/pervasive.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/plan.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/plot.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/polynomial.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/indexing.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/numeric.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/primitive/search.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/blocks/grouping.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/blocks/items.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/blocks/record.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/blocks.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/contraction.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/layout.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/run.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/trace.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program/verify.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/program.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/protocol.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/regex.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/search.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/selection.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/settings.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/syntax.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/system.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/transform.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/src/xml.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/testkit/Cargo.toml +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/testkit/src/lib.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/testkit/src/reference/runner.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/testkit/src/reference.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/testkit/src/timing.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/acceptance/held_out.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/common/mod.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/conftest.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/derivatives.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/explain.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/highlighting.mjs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/input.mjs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/jit.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/ratchet.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-aplcart +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-april +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-bqn +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-bqncrate +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-dyalog +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/LICENSE-ngn +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/aplcart_mathish.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/dyalog.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/dyalog_mathish.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/lib.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/lib_mathish.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/ngn_mathish.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/regex.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/static-int32.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/static.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/support/april.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/support/avl.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/support/redblack.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/support/sbst.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference/support/splay.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/reference.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/settings.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/skipped.txt +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/README.md +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/bodies.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/calls.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/cells.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/cohorts.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/comparisons_mathish.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/growth.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/images.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/keyed.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/large_cells.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/maps.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/models.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/moving.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/packing.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/steps.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed/tables.bpl +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/speed.rs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_api.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_basic.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_bpltests.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_glyphs.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_graphics.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_install.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_instructions.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_ipython.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_notebooks.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_orchestration.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_reference.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_repl.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_windows_keyboard.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/test_worker.py +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/wasm-pkg.mjs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/wasm-speed.mjs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/wasm.mjs +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/tests/windows_keyboard.c +0 -0
- {basedpl-0.1.89 → basedpl-0.1.91}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
|
@@ -99,7 +99,7 @@ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
|
|
|
99
99
|
|
|
100
100
|
[[package]]
|
|
101
101
|
name = "basedpl"
|
|
102
|
-
version = "0.1.
|
|
102
|
+
version = "0.1.91"
|
|
103
103
|
dependencies = [
|
|
104
104
|
"base64 0.23.1",
|
|
105
105
|
"basedpl-image",
|
|
@@ -144,7 +144,7 @@ dependencies = [
|
|
|
144
144
|
|
|
145
145
|
[[package]]
|
|
146
146
|
name = "basedpl-cli"
|
|
147
|
-
version = "0.1.
|
|
147
|
+
version = "0.1.91"
|
|
148
148
|
dependencies = [
|
|
149
149
|
"async-trait",
|
|
150
150
|
"basedpl",
|
|
@@ -159,7 +159,7 @@ dependencies = [
|
|
|
159
159
|
|
|
160
160
|
[[package]]
|
|
161
161
|
name = "basedpl-image"
|
|
162
|
-
version = "0.1.
|
|
162
|
+
version = "0.1.91"
|
|
163
163
|
dependencies = [
|
|
164
164
|
"flate2",
|
|
165
165
|
"image",
|
|
@@ -168,7 +168,7 @@ dependencies = [
|
|
|
168
168
|
|
|
169
169
|
[[package]]
|
|
170
170
|
name = "basedpl-jit"
|
|
171
|
-
version = "0.1.
|
|
171
|
+
version = "0.1.91"
|
|
172
172
|
dependencies = [
|
|
173
173
|
"cranelift-codegen",
|
|
174
174
|
"cranelift-frontend",
|
|
@@ -180,7 +180,7 @@ dependencies = [
|
|
|
180
180
|
|
|
181
181
|
[[package]]
|
|
182
182
|
name = "basedpl-py"
|
|
183
|
-
version = "0.1.
|
|
183
|
+
version = "0.1.91"
|
|
184
184
|
dependencies = [
|
|
185
185
|
"basedpl",
|
|
186
186
|
"basedpl-testkit",
|
|
@@ -199,7 +199,7 @@ dependencies = [
|
|
|
199
199
|
|
|
200
200
|
[[package]]
|
|
201
201
|
name = "basedpl-testkit"
|
|
202
|
-
version = "0.1.
|
|
202
|
+
version = "0.1.91"
|
|
203
203
|
dependencies = [
|
|
204
204
|
"basedpl",
|
|
205
205
|
"rustymath",
|
|
@@ -210,7 +210,7 @@ dependencies = [
|
|
|
210
210
|
|
|
211
211
|
[[package]]
|
|
212
212
|
name = "basedpl-wasm"
|
|
213
|
-
version = "0.1.
|
|
213
|
+
version = "0.1.91"
|
|
214
214
|
dependencies = [
|
|
215
215
|
"basedpl",
|
|
216
216
|
"basedpl-testkit",
|
|
@@ -726,9 +726,9 @@ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
|
726
726
|
|
|
727
727
|
[[package]]
|
|
728
728
|
name = "errno"
|
|
729
|
-
version = "0.3.
|
|
729
|
+
version = "0.3.15"
|
|
730
730
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
731
|
-
checksum = "
|
|
731
|
+
checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776"
|
|
732
732
|
dependencies = [
|
|
733
733
|
"libc",
|
|
734
734
|
"windows-sys 0.61.2",
|
|
@@ -2519,7 +2519,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
|
2519
2519
|
|
|
2520
2520
|
[[package]]
|
|
2521
2521
|
name = "xtask"
|
|
2522
|
-
version = "0.1.
|
|
2522
|
+
version = "0.1.91"
|
|
2523
2523
|
dependencies = [
|
|
2524
2524
|
"anyhow",
|
|
2525
2525
|
"serde_json",
|
|
@@ -378,7 +378,7 @@ Rank tries `whole` before `each_pair`. `whole`, in order:
|
|
|
378
378
|
4. `pervasive_cells`: a pervasive primitive under nested Rank;
|
|
379
379
|
5. monadic operand: `cell_rule`, which also takes folds, atops and a bound left argument.
|
|
380
380
|
|
|
381
|
-
- `primitive_cells` runs a primitive on the whole argument along the cells' axes. A form that `extends` runs whole at a cell rank at least its own. Other forms follow the `cells` fact (`CellRule`) in their `Primitive::info()` row:
|
|
381
|
+
- `primitive_cells` runs a primitive on the whole argument along the cells' axes. A form that `extends` runs whole at a cell rank at least its own. Other forms follow the `cells` fact (`CellRule`) in their `Primitive::info()` row: `, ↑ ↓ ⌷ #` call their axis forms; `⍉` sends each cell's axes after the frame's; `≢`, `ρ` give constants; a reshape keeping a cell's items in order is a view; `⊂` encloses each cell of rank 1 or more via its axis form, whose cells are views of the argument's items. Any other form with a left argument every cell shares takes `paired_cells`. `⌽₀` selects each cell's first axis through the shared Axis route.
|
|
382
382
|
- `paired_cells`: joins each pair of cells for `,` and `⍪`; calls a form that extends once where both cells are at least its ranks; first repeats an argument every cell shares over the frame (`agreement::spread`).
|
|
383
383
|
- `padded_call`, `paired_cells` leave an argument with a named frame axis to the per-cell path, which pairs frames by name (`named_frame`). Names on cell axes pair in whole calls as per-cell calls pair them.
|
|
384
384
|
- A pervasive primitive folds or scans a simple array along the cell's axis (`folded_cells`); `f/∘,` folds all cell axes at once. An atop applies its inner function's rule, then Rank for its outer function.
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"name": "string.quoted.single.bpl"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
"match": "(?:_\\d+|_\\S|_|[^\\s\\p{Cc}0-9
|
|
48
|
+
"match": "(?:_\\d+|_\\S|_|[^\\s\\p{Cc}0-9←⎕•αω⍶⍹∇⍢⍝◇⁝\\?¯∞⍬\\+\\-×÷⌈⌊\\|\\*⊛○π√!∧∨⊼⊽\\~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹\\#↕⍭⨸⌻⍸⍷⊢⊣¿¨ᵇ⍨↣⍤∘⍠⍥↢\\.⊗⌸⍣⇄⊘@∂⍚⌺/⌿\\\\⍀⁻⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ₀₁₂₃₄₅₆₇₈₉₋ₓ₁ₓ₂ₓ₄ₓ₈ₓₕₛₚₐᵣ\\(\\)\\[\\]\\{\\}'\";\\$_ₑⱼᵣ])+",
|
|
49
49
|
"name": "variable.other.bpl"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
"match": "[
|
|
89
|
+
"match": "[\\+\\-×÷⌈⌊\\|\\*⊛○π√!∧∨⊼⊽\\~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹\\#↕⍭⨸⌻⍸⍷⊢⊣¿]",
|
|
90
90
|
"name": "support.function.bpl"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"applyEndPatternLast": true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"match": "(?:_\\d+|_\\S|_|[^\\s\\p{Cc}0-9
|
|
22
|
+
"match": "(?:_\\d+|_\\S|_|[^\\s\\p{Cc}0-9←是⎕出入•系α甲ω乙⍶丙⍹丁∇递遞⍢循⍝注◇句⁝隔\\?若¯负負∞永⍬空\\+加\\-减減×乘号號÷除⌈上⌊下\\|绝余絕餘\\*幂冪⊛对對○圆圓π周√根!阶拣階揀∧极且極∨析或⊼方否⊽双莫雙\\~非无無=等≠别初別<小≤限退>大≥达进達進ι位↦至:键卸鍵ρ形≢数异數異≡同深,连連⍪接矩⊂包⊃选合選⊆巢段∊属展屬∪并独併獨∩交重⍋升⍒降↑取↓去拆⌽转轉⍉翻⊤编編⊥译譯⍎行⍕文⌷索⌹解逆\\#复複↕窗⍭素⨸因⌻零值⍸处间處間⍷寻群尋⊢右⊣左¿掷抽擲¨遍ᵇ按⍨己换換↣先⍤秩∘承⍠轴軸⍥经經↢后後\\.内內⊗表⌸组組⍣次止⇄优優⊘兼@于於∂导梯導⍚择擇⌺邻鄰/总總⌿汇匯\\\\累⍀续續⁻反⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ₀₁₂₃₄₅₆₇₈₉₋ₓ₁ₓ₂ₓ₄ₓ₈ₓₕₛₚₐᵣ\\(\\)\\[\\]\\{\\}'\";\\$_ₑⱼᵣ])+",
|
|
23
23
|
"name": "variable.other.bpl"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"name": "constant.numeric.bpl"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"match": "[
|
|
38
|
+
"match": "[加减減乘号號除上下绝余絕餘幂冪对對圆圓周根阶拣階揀极且極析或方否双莫雙非无無等别初別小限退大达进達進位至键卸鍵形数异數異同深连連接矩包选合選巢段属展屬并独併獨交重升降取去拆转轉翻编編译譯行文索解逆复複窗素因零值处间處間寻群尋右左掷抽擲]",
|
|
39
39
|
"name": "support.function.bpl"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -114,11 +114,6 @@
|
|
|
114
114
|
<option name="OTHER" value="true" />
|
|
115
115
|
</context>
|
|
116
116
|
</template>
|
|
117
|
-
<template name="circle-bar" value="⊖" description="⊖" shortcut="TAB">
|
|
118
|
-
<context>
|
|
119
|
-
<option name="OTHER" value="true" />
|
|
120
|
-
</context>
|
|
121
|
-
</template>
|
|
122
117
|
<template name="circle-diaeresis" value="⍥" description="⍥" shortcut="TAB">
|
|
123
118
|
<context>
|
|
124
119
|
<option name="OTHER" value="true" />
|
|
@@ -964,11 +959,6 @@
|
|
|
964
959
|
<option name="OTHER" value="true" />
|
|
965
960
|
</context>
|
|
966
961
|
</template>
|
|
967
|
-
<template name="reverse-first" value="⊖" description="⊖" shortcut="TAB">
|
|
968
|
-
<context>
|
|
969
|
-
<option name="OTHER" value="true" />
|
|
970
|
-
</context>
|
|
971
|
-
</template>
|
|
972
962
|
<template name="rho" value="ρ" description="ρ" shortcut="TAB">
|
|
973
963
|
<context>
|
|
974
964
|
<option name="OTHER" value="true" />
|
|
@@ -1034,11 +1024,6 @@
|
|
|
1034
1024
|
<option name="OTHER" value="true" />
|
|
1035
1025
|
</context>
|
|
1036
1026
|
</template>
|
|
1037
|
-
<template name="rotate-first" value="⊖" description="⊖" shortcut="TAB">
|
|
1038
|
-
<context>
|
|
1039
|
-
<option name="OTHER" value="true" />
|
|
1040
|
-
</context>
|
|
1041
|
-
</template>
|
|
1042
1027
|
<template name="runs" value="#" description="#" shortcut="TAB">
|
|
1043
1028
|
<context>
|
|
1044
1029
|
<option name="OTHER" value="true" />
|
|
@@ -2,10 +2,10 @@ if exists('b:current_syntax')
|
|
|
2
2
|
finish
|
|
3
3
|
endif
|
|
4
4
|
|
|
5
|
-
syntax match bplName /\v%(_\d+|_\S|_|[^\s\x00-\x1f\x7f-\x9f0-9
|
|
5
|
+
syntax match bplName /\v%(_\d+|_\S|_|[^\s\x00-\x1f\x7f-\x9f0-9←⎕•αω⍶⍹∇⍢⍝◇⁝\?¯∞⍬\+\-×÷⌈⌊\|\*⊛○π√!∧∨⊼⊽\~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹\#↕⍭⨸⌻⍸⍷⊢⊣¿¨ᵇ⍨↣⍤∘⍠⍥↢\.⊗⌸⍣⇄⊘@∂⍚⌺\/⌿\\⍀⁻⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ₀₁₂₃₄₅₆₇₈₉₋ₓ₁ₓ₂ₓ₄ₓ₈ₓₕₛₚₐᵣ\(\)\[\]\{\}'";\$_ₑⱼᵣ])+/
|
|
6
6
|
syntax match bplSystem /\v[•][A-Za-z_∆⍙][A-Za-z0-9_∆⍙]*/
|
|
7
7
|
syntax match bplString /\v\$[ad]/
|
|
8
|
-
syntax match bplFunction /[
|
|
8
|
+
syntax match bplFunction /[+×÷⌈⌊|*⊛○π√!∧∨⊼⊽~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹#↕⍭⨸⌻⍸⍷⊢⊣¿-]/
|
|
9
9
|
syntax match bplMonadicOperator #\v%(ₓ₁|ₓ₂|ₓ₄|ₓ₈|ₓ|ₕ|ₛ|ₚ|ₐ|ᵣ)|[¨ᵇ⍨⊗⌸⇄∂/⌿\\⍀⁻⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ]#
|
|
10
10
|
syntax match bplDyadicOperator /[↣⍤∘⍠⍥↢.⍣⊘@⍚⌺]/
|
|
11
11
|
syntax match bplArgument /[αω⍶⍹∇⍢]/
|
|
@@ -246,7 +246,6 @@ static DEADKEY deadkeys[] = {
|
|
|
246
246
|
DEADTRANS(0x22a3, 0x2395, 0x2360, 0),
|
|
247
247
|
DEADTRANS(0x205d, 0x2395, 0x2360, 0),
|
|
248
248
|
DEADTRANS(0x006f, 0x25cb, 0x25cb, 0),
|
|
249
|
-
DEADTRANS(0x002d, 0x25cb, 0x2296, 0),
|
|
250
249
|
DEADTRANS(0x005c, 0x25cb, 0x2349, 0),
|
|
251
250
|
DEADTRANS(0x002f, 0x25cb, 0x2298, 0),
|
|
252
251
|
DEADTRANS(0x002a, 0x25cb, 0x229b, 0),
|
|
@@ -260,7 +259,6 @@ static DEADKEY deadkeys[] = {
|
|
|
260
259
|
DEADTRANS(0x25cb, 0x25cb, 0x25cb, 0),
|
|
261
260
|
DEADTRANS(0x221e, 0x25cb, 0x229b, 0),
|
|
262
261
|
DEADTRANS(0x2078, 0x25cb, 0x229b, 0),
|
|
263
|
-
DEADTRANS(0x00af, 0x25cb, 0x2296, 0),
|
|
264
262
|
DEADTRANS(0x00f7, 0x25cb, 0x2a38, 0),
|
|
265
263
|
DEADTRANS(0x236d, 0x25cb, 0x2349, 0),
|
|
266
264
|
DEADTRANS(0x2229, 0x25cb, 0x235d, 0),
|
|
@@ -61,7 +61,7 @@ disp ← { α←⍬ ⍝ Boxed sketch of nested array.
|
|
|
61
61
|
sizes←⌈/rows ,⊗ ⌈⌿cols
|
|
62
62
|
ctd=0?sizes↑¨ω; ⍝ top-left alignment.
|
|
63
63
|
[v h]←sepr⌈0.5×⊃(ρ¨ω)-sizes
|
|
64
|
-
v
|
|
64
|
+
v⌽₀¨h⌽¨sizes↑¨ω ⍝ centred aligned subarrays.
|
|
65
65
|
}
|
|
66
66
|
gaps←{ ⍝ Gap-separated sub-planes.
|
|
67
67
|
α≤2ₓ?ω; ⍝ lowish rank: done.
|
|
@@ -79,7 +79,7 @@ disp ← { α←⍬ ⍝ Boxed sketch of nested array.
|
|
|
79
79
|
join←{ ⍝ Join of gap-separated sub-planes.
|
|
80
80
|
sep←≢ω ÷ 1ₓ⌈≢α ⍝ sub plane separation.
|
|
81
81
|
split←0ₓ=sep|ι≢ω ⊂₀ ω
|
|
82
|
-
|
|
82
|
+
⊂⁻¹α plane¨ split ⍝ sub-plane join.
|
|
83
83
|
}
|
|
84
84
|
outer←{ ⍝ Outer decoration.
|
|
85
85
|
sizes←1 0{↑↓ ⍉⍣α ω}¨seprρ¨ω
|
|
@@ -320,12 +320,12 @@ match ← { ⍝ Wildcard match.
|
|
|
320
320
|
↑{
|
|
321
321
|
[[lh lm] [und rm]]←[α ω] ⍝ left and right hits and masks.
|
|
322
322
|
[lh∧rm lm] ⍝ right-masked left hits.
|
|
323
|
-
}
|
|
323
|
+
}/↓⍉⊃⊂⁻¹¨[h m]
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
⍝ From http://dfns.dyalog.com/s_match.htm
|
|
327
327
|
|
|
328
|
-
showmatch ← {marks←[(α match ω)]⌷" ¯" ◇ ,⍠ ιρρω ω {[α◇ω]}
|
|
328
|
+
showmatch ← {marks←[(α match ω)]⌷" ¯" ◇ ,⍠ ιρρω ω {[α◇ω]}¹ marks}
|
|
329
329
|
|
|
330
330
|
⍝ From http://dfns.dyalog.com/n_nlines.htm
|
|
331
331
|
|
|
@@ -398,7 +398,7 @@ dscan ← { ⍝ Divide scan
|
|
|
398
398
|
ascan ← { ⍝ Associative scan.
|
|
399
399
|
2ₓ>0ₓ⊥ρω?ω; ⍝ few items: done.
|
|
400
400
|
lane←⍶{⌽⍶{[(↑ω)⍶α],ω}/⌽[⊂↑ω],1↓ω} ⍝ one lane: builds the results newest first, then reverses them.
|
|
401
|
-
lane
|
|
401
|
+
lane¹ ω
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
⍝ From http://dfns.dyalog.com/c_ascana.htm
|
|
@@ -433,7 +433,7 @@ subs ← { ⍝ Vector substitution.
|
|
|
433
433
|
fm⍷ω { ⍝ hits mask
|
|
434
434
|
~$t∊α?ω; ⍝ early out if no match
|
|
435
435
|
ts↓,/{to,fs↓ω}¨(lead,α)⊂fm,ω
|
|
436
|
-
}
|
|
436
|
+
}¹ ω ⍝ apply to vectors
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
⍝ From http://dfns.dyalog.com/c_lcase.htm and http://dfns.dyalog.com/c_ucase.htm
|
|
@@ -11,7 +11,7 @@ segs←{~ω∊α ⊆ ω} ⍝ Separator-delimited segments.
|
|
|
11
11
|
m_91←{ω>100ₓ?ω-10ₓ;∇ ∇ ω+11ₓ} ⍝ McCarthy's M91 function.
|
|
12
12
|
|
|
13
13
|
⍝ From https://dfns.dyalog.com/c_life.htm
|
|
14
|
-
life←{[$t ω]∨.∧3ₓ 4ₓ=¨⊂+/,¯1 0 1
|
|
14
|
+
life←{[$t ω]∨.∧3ₓ 4ₓ=¨⊂+/,¯1 0 1⌽₀⊗¯1 0 1⌽⊗⊂ω}
|
|
15
15
|
|
|
16
16
|
⍝ From https://dfns.dyalog.com/c_rmcm.htm
|
|
17
17
|
rmcm←{ ⍝ Replace comments with blanks.
|
|
@@ -37,7 +37,7 @@ lsys←{ ⍝ Lindenmayer L-system expansion.
|
|
|
37
37
|
⍝ From https://dfns.dyalog.com/c_rr.htm
|
|
38
38
|
rr←{ ⍝ Round-robin tournament.
|
|
39
39
|
v←ιn←0ₓ⌈≤ω
|
|
40
|
-
≥(ω÷2)↑₋₁m{[α◇ω]}
|
|
40
|
+
≥(ω÷2)↑₋₁m{[α◇ω]}¹⌽m←0ₓ,v⌽≥[n n]ρv
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
⍝ From https://dfns.dyalog.com/c_easter.htm
|
|
@@ -112,7 +112,7 @@ date←{ ⍝ Timestamp from day number (Meeus).
|
|
|
112
112
|
⍝ From https://dfns.dyalog.com/c_days.htm
|
|
113
113
|
days←{ ⍝ Days since 1899-12-31 (Meeus).
|
|
114
114
|
α←17520902ₓ
|
|
115
|
-
1ₓ<≢ρω?α
|
|
115
|
+
1ₓ<≢ρω?α ∇⁰ ¹ ω;
|
|
116
116
|
[yy mm dd h m s ms]←7↑ω
|
|
117
117
|
D←dd + [0 60 60 1000]ₓ⊥[h m s ms] ÷ 86400000ₓ
|
|
118
118
|
[Y M]←[yy mm]+[¯1 12]ₓ×mm≤2ₓ
|
|
@@ -465,7 +465,7 @@ refmt←{ ⍝ Indent code and align comments.
|
|
|
465
465
|
rlb←{∨\' '≠ω # ω}
|
|
466
466
|
clean←⌽ rlb ⌽ rlb code
|
|
467
467
|
[clean coms]
|
|
468
|
-
}
|
|
468
|
+
}¹ ⊃ω
|
|
469
469
|
dents←{
|
|
470
470
|
toks←unqtω {α#⁻α#ω} ω
|
|
471
471
|
dvec←-⌿0 1⌽+\"{}"=⊗toks
|
|
@@ -577,7 +577,7 @@ queens←{ ⍝ N-queens solutions up to rotation and reflection.
|
|
|
577
577
|
fmt←{
|
|
578
578
|
chars←[(⊃ω)=⊗ια]⌷"·⊛"
|
|
579
579
|
expd←1↓,⊃αρ⊂0 1
|
|
580
|
-
|
|
580
|
+
⊂² expd#⁻₋₁chars
|
|
581
581
|
}
|
|
582
582
|
squares←[ι⌈ω÷2],1↓ωρ⊂ιω
|
|
583
583
|
ω fmt ⍬ search squares
|
|
@@ -670,7 +670,7 @@ von←{ ⍝ Capitalise names, preserving prefixes and user-supplied exceptions.
|
|
|
670
670
|
q←¯1•c{2ₓ>≡ω?,⊂,ω;ω}α
|
|
671
671
|
1↓∊∨/q⍶¨⊂' ',ω
|
|
672
672
|
}
|
|
673
|
-
b←¯1↓∊∨/q⍷¨⊂' ',tx < $t
|
|
673
|
+
b←¯1↓∊∨/q⍷¨⊂' ',tx < $t,>/⌽¹↕~tx∊" -:;.,!?'""/)("
|
|
674
674
|
b∨←pre(∆pre ∆fix)tx
|
|
675
675
|
b>←not(∆not ∆fix)tx
|
|
676
676
|
¯1↓(1↣•c)@(⍸b) tx
|
|
@@ -864,7 +864,7 @@ packH←{ ⍝ Huffman packing.
|
|
|
864
864
|
0ₓ=⍹?α(⍶ ci⌷⊢)ω;
|
|
865
865
|
1ₓ=⍹?⊃α(⍶¨⊂₀)ω;
|
|
866
866
|
¯1ₓ=⍹?⊃ α ⍶∘(1↣↓)¨⊂₀ ω;
|
|
867
|
-
2ₓ=⍹?α (
|
|
867
|
+
2ₓ=⍹?α (⍶∘(⌽₀)⍢1)Under(⌽₀) ω;
|
|
868
868
|
¯2ₓ=⍹?α ⍶∘(¯1↣↓)⍢2 ω;
|
|
869
869
|
3ₓ=⍹?αtiω (⍶⍢0)⍤2 ∞ ω;
|
|
870
870
|
¯3ₓ=⍹?αtjω (⍶⍢0)⍤2 ∞ ω
|
|
@@ -1181,7 +1181,7 @@ tc←{ ⍝ Trace function application.
|
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
reshape←{ ⍝ α-col reshape of ω.
|
|
1184
|
-
α=0ₓ?max
|
|
1184
|
+
α=0ₓ?max↑¹ col ω; ⍝ item too wide: truncated single col.
|
|
1185
1185
|
nr←⌈ni÷ₐα ⍝ number of rows.
|
|
1186
1186
|
matr←[α nr]ρ(α×nr)↑ω,α#' ' ⍝ matrix blank-padded to whole no of cols.
|
|
1187
1187
|
pads←⊃nr#↓gap#' ' ⍝ inter-column padding.
|
|
@@ -1314,7 +1314,7 @@ ratsum←{
|
|
|
1314
1314
|
[lmrs wids reps]←⍉⊃trans¨[α ω]
|
|
1315
1315
|
mpads←-wids-⊂⌈/wids
|
|
1316
1316
|
rpads←2#⊂∧¨/reps
|
|
1317
|
-
padded←pad
|
|
1317
|
+
padded←pad¹ ⍉[lmrs◇mpads◇rpads]
|
|
1318
1318
|
⊃¨↓⍉padded
|
|
1319
1319
|
}
|
|
1320
1320
|
trans←{
|
|
@@ -292,7 +292,7 @@ queensX ← { ⍝ Exact cover N-Queens.
|
|
|
292
292
|
dm←-/¨ι2#ω ⍝ diagonals.
|
|
293
293
|
du←<∪,dm ⍝ unique diagonals.
|
|
294
294
|
x←dm =⊗ du
|
|
295
|
-
y
|
|
295
|
+
y←⌽₀dm =⊗ du
|
|
296
296
|
m←,₀ ₁x,y,r,f ⍝ constraints matrix.
|
|
297
297
|
d←~ ι1↓ρm ∊ ι⊽ρdu ⍝ mask of required cols.
|
|
298
298
|
[ω ω]ρ d X m ⍝ exact cover - matrix of queens.
|
|
@@ -222,7 +222,7 @@ alt ← { ⍝ Alternant.
|
|
|
222
222
|
[r c]←ρω ⍝ matrix ω
|
|
223
223
|
0ₓ=r?⍹⌿,ω;
|
|
224
224
|
1ₓ≥c?⍶⌿,ω;
|
|
225
|
-
M←(ιr)
|
|
225
|
+
M←(ιr)~¹⍪ιr ⍝ minors
|
|
226
226
|
ω.[: 0]⍶.⍹∇¨⊂₁ ₂[M 1↓ιc]⌷ω
|
|
227
227
|
}
|
|
228
228
|
|
|
@@ -255,7 +255,7 @@ det ← { ⍝ Determinant of square matrix.
|
|
|
255
255
|
gauss_jordan ← { ⍝ Gauss-Jordan elimination.
|
|
256
256
|
elim←{ ⍝ elimination of row/col α
|
|
257
257
|
p←α+↑⍒|α↓[: α]⌷ω
|
|
258
|
-
swap
|
|
258
|
+
swap←⌽₀@[α p] ω ⍝ αth and pth rows exchanged
|
|
259
259
|
mat←swap.[α α]÷⍨@α swap ⍝ col diagonal reduced to 1
|
|
260
260
|
mat - mat.[: α]×α≠ι≢ω ×⊗ α⌷mat
|
|
261
261
|
}
|
|
@@ -277,7 +277,7 @@ kcell ← { ⍝ Relationship between point and k-cell.
|
|
|
277
277
|
α←≢ω #₋₁ [2 1]ρ0 1 ⍝ Default is unit k-cell.
|
|
278
278
|
b←,⍠(2ₓ=ρρα # 0)α
|
|
279
279
|
p←(2⌊ρρα ↓ 1 1,ρω)ρω ⍝ Points to evaluate.
|
|
280
|
-
d←,⍶⌿
|
|
280
|
+
d←,⍶⌿ ¹ ⍉×-b,.-p
|
|
281
281
|
⍶/⍬?⌈/d;5ₓ⊥d
|
|
282
282
|
}
|
|
283
283
|
|
|
@@ -309,7 +309,7 @@ stdev ← {√(+/÷≢ ω²)-(+/÷≢ ω)²} ⍝ Standard deviation.
|
|
|
309
309
|
|
|
310
310
|
NormRand ← { ⍝ Random numbers with a normal distribution
|
|
311
311
|
depth←10*9 ⍝ randomness depth
|
|
312
|
-
[x y]
|
|
312
|
+
[x y]←⊂⁻¹ ≥¿depthρ⍨2,ω ÷ depth ⍝ two random variables within ]0;1]
|
|
313
313
|
(¯2×⊛x * 0.5)×1○π2×y ⍝ Box-Muller distribution
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -375,7 +375,7 @@ polar ← { ⍝ Polar from/to cartesian coordinates.
|
|
|
375
375
|
pol_car←{ ⍝ polar from cartesian (default).
|
|
376
376
|
radius←{√+⌿ω²} ⍝ radius (pythagorus).
|
|
377
377
|
angle←{ ⍝ phase angle.
|
|
378
|
-
[x y]
|
|
378
|
+
[x y]←⊂⁻¹ ω ⍝ x and y coordinates.
|
|
379
379
|
[on off]←$t $f=⊂0=x ⍝ points on/off y axis.
|
|
380
380
|
atan←3○⁻y÷x+on ⍝ arctan y÷x (avoiding y÷0).
|
|
381
381
|
qne←off×atan + on×π0.5×2-×y
|
|
@@ -386,7 +386,7 @@ polar ← { ⍝ Polar from/to cartesian coordinates.
|
|
|
386
386
|
radiusω lam angleω ⍝ (2,···) array of polar coordinates.
|
|
387
387
|
}
|
|
388
388
|
car_pol←{ ⍝ cartesian from polar.
|
|
389
|
-
[r o]
|
|
389
|
+
[r o]←⊂⁻¹ ω ⍝ radius and phase angle.
|
|
390
390
|
r×2○o lam r×1○o ⍝ r×cos(ø), r×sin(ø).
|
|
391
391
|
}
|
|
392
392
|
lam←{⊃[α ω]}
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
hang ← { ⍝ node label α with formatted subtrees ω hung below it.
|
|
8
8
|
key_val←α
|
|
9
9
|
null←0 0ρ"" ⍝ format of null tree.
|
|
10
|
-
fmts←{
|
|
10
|
+
fmts←{⌽₀ω}\"┌└"{ ⍝ hang subtrees by ┌─ ─┐ branches.
|
|
11
11
|
[0 0]ₓ≡ρω?ω; ⍝ null: done.
|
|
12
12
|
mask←∧\' '=↑↓⌽ωᵀ
|
|
13
13
|
⍉⌽⊃[⌽α,mask#'│'],↓⌽ωᵀ
|
|
14
|
-
}¨{
|
|
14
|
+
}¨{⌽₀ω}\ω ⍝ formatted subtrees.
|
|
15
15
|
case←~[null null]≡¨fmts ⍝ non-null subtree cases.
|
|
16
16
|
join←⊥case ⊃ "∘┐┘┤"
|
|
17
17
|
join≡'∘'?⊃,↓key_val;
|
|
@@ -691,7 +691,7 @@
|
|
|
691
691
|
"id": "ccb11a91",
|
|
692
692
|
"metadata": {},
|
|
693
693
|
"source": [
|
|
694
|
-
"When results of different lengths are assembled into one array, the shorter ones are padded with fill. `≥ι
|
|
694
|
+
"When results of different lengths are assembled into one array, the shorter ones are padded with fill. `≥ι ⁰` gives one row per count:"
|
|
695
695
|
]
|
|
696
696
|
},
|
|
697
697
|
{
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
}
|
|
713
713
|
],
|
|
714
714
|
"source": [
|
|
715
|
-
"≥ι
|
|
715
|
+
"≥ι ⁰ [2 4]"
|
|
716
716
|
]
|
|
717
717
|
},
|
|
718
718
|
{
|
|
@@ -1055,7 +1055,7 @@
|
|
|
1055
1055
|
"id": "733270dc",
|
|
1056
1056
|
"metadata": {},
|
|
1057
1057
|
"source": [
|
|
1058
|
-
"The results take the array's shape and keys as their frame, as [Rank](glyphs/jot-diaeresis.qmd)'s results do. A keyed array of aggregations gives a keyed result, and through Rank it gives one row of results for each row of its argument:"
|
|
1058
|
+
"The results take the array's shape and keys as their frame, as [Rank](glyphs/jot-diaeresis.qmd)'s results do. A keyed array of aggregations gives a keyed result, and through Rank it gives one row of results for each row of its argument. The full Rank spelling distinguishes this from `stats¹`, which would raise the array's items to a power:"
|
|
1059
1059
|
]
|
|
1060
1060
|
},
|
|
1061
1061
|
{
|
|
@@ -33,11 +33,11 @@ t←1 0 ◇ {f x+ω×t}∂0 ⍝ 3 1
|
|
|
33
33
|
u←1 0 ◇ {+/u×fω}∂ x ⍝ 3 2
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
For a function that works item by item, such as the sine `1○`, `f
|
|
36
|
+
For a function that works item by item, such as the sine `1○`, `f∂⁰` gives the derivative at each item. Differentiating along one number gives the same values in one pass:
|
|
37
37
|
|
|
38
38
|
```bpl
|
|
39
39
|
x←0 0.5 1
|
|
40
|
-
1
|
|
40
|
+
1○∂⁰ x ⍝ 1 0.8775825619 0.5403023059
|
|
41
41
|
{1○x+ω}∂0 ⍝ 1 0.8775825619 0.5403023059
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -125,14 +125,14 @@ Without a program, `∂` builds its duals or its record afresh on every call, th
|
|
|
125
125
|
|
|
126
126
|
```bpl
|
|
127
127
|
x←ι64 ÷ 63 ◇ y←1○3×x
|
|
128
|
-
loss←{[x y]←α ◇ [w b v c]←ω ◇ h←7○b(
|
|
128
|
+
loss←{[x y]←α ◇ [w b v c]←ω ◇ h←7○b(+¹)x×⊗w ◇ +/÷≢ ⊼y-c+h+.×v}
|
|
129
129
|
p←["w":1○ι16 "b":16ρ0 "v":0.1×2○ι16 "c":0]
|
|
130
130
|
[x y] loss p ⍝ 0.5232276475
|
|
131
131
|
p←{ω - 0.1× [x y]loss∂ω}⍣200p
|
|
132
132
|
[x y] loss p ⍝ 0.07655752909
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
`∂` runs from a program. The first call with given argument types and shapes traces the function. The function runs on traced values, which have a type and a shape but no items. Each call on a traced value works out the type and shape of its result, and adds a step to the program. A map in the function, such as Rank in `+/{⊼1○+/w×ω}
|
|
135
|
+
`∂` runs from a program. The first call with given argument types and shapes traces the function. The function runs on traced values, which have a type and a shape but no items. Each call on a traced value works out the type and shape of its result, and adds a step to the program. A map in the function, such as Rank in `+/{⊼1○+/w×ω}¹ X`, calls its dfn once on all its cells, as it does outside a trace. Each call in the dfn then adds one step for all the cells. The derivative's records and transposes add their steps to the same program. The program holds the whole call: the function's value and its derivative together. JAX traces a Python function into a jaxpr in the same way.
|
|
136
136
|
|
|
137
137
|
Later calls with the same argument types and shapes replay the program on their arguments, without running the function. The replay runs the program's steps as ordinary calls. Chains of elementwise steps then run as one stage, a block of items at a time, as they do outside a program. A stage folds its last step's items as it computes them. Its intermediate results exist only one block at a time. Once a stage is large enough, or runs again, BPL compiles it to machine code with Cranelift, if its steps can compile. The browser build has no compiler. It runs every stage on the interpreter's kernels. `•explain` shows whether a call built a program or replayed one:
|
|
138
138
|
|
|
@@ -209,7 +209,7 @@ JAX, Dex and tinygrad are the role models. Futhark, Dex and Julia set the standa
|
|
|
209
209
|
| tinygrad | Lazy arrays: a call on a large array gives a pending array, and a read of its items runs the calls it needs, fused. Derivative code that fuses as other code does. Copies, such as a transpose or a slice, whose transposes are copies, not scatters. A program replayed as `TinyJit` replays its kernels. |
|
|
210
210
|
| Futhark | One table of partial derivatives for both modes, which BPL's table was mapped from. The rules for folds by `×`, `⌈` and `⌊`. Accumulation as the transpose of a gather. |
|
|
211
211
|
| ForwardDiff | Dual numbers with tags, which keep nested derivatives apart. |
|
|
212
|
-
| J | `D.`, which gives a Jacobian, and `d.`, which gives the derivative at each item. `f∂` and `f
|
|
212
|
+
| J | `D.`, which gives a Jacobian, and `d.`, which gives the derivative at each item. `f∂` and `f∂⁰` do these jobs. |
|
|
213
213
|
|
|
214
214
|
BPL also differs from all of them. `∂` strips its tags from values that escape it, where JAX raises an error when a leaked tracer is used. One operator picks the mode, where JAX offers `jvp`, `vjp`, `jacfwd` and `jacrev`. A Jacobian takes its keys, axis names and records from the rules of outer products. Futhark differentiates its program before running it and recomputes values in reverse mode. BPL differentiates the calls that `f` makes as it runs. It keeps their linear steps instead of recomputing values.
|
|
215
215
|
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
<AnyChar String="⍝" attribute="Comment" context="Comment" />
|
|
8
8
|
<DetectChar char=""" attribute="String" context="String" />
|
|
9
9
|
<RegExpr String="'.?'" attribute="Char" />
|
|
10
|
-
<RegExpr String="(?:_\d+|_\S|_|[^\s\p{Cc}0-9←⎕•αω⍶⍹∇⍢⍝◇⁝\?¯∞⍬\+\-×÷⌈⌊\|\*⊛○π√!∧∨⊼⊽\~=≠<≤>
|
|
10
|
+
<RegExpr String="(?:_\d+|_\S|_|[^\s\p{Cc}0-9←⎕•αω⍶⍹∇⍢⍝◇⁝\?¯∞⍬\+\-×÷⌈⌊\|\*⊛○π√!∧∨⊼⊽\~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹\#↕⍭⨸⌻⍸⍷⊢⊣¿¨ᵇ⍨↣⍤∘⍠⍥↢\.⊗⌸⍣⇄⊘@∂⍚⌺/⌿\\⍀⁻⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ₀₁₂₃₄₅₆₇₈₉₋ₓ₁ₓ₂ₓ₄ₓ₈ₓₕₛₚₐᵣ\(\)\[\]\{\}'";\$_ₑⱼᵣ])+" attribute="Name" />
|
|
11
11
|
<RegExpr String="[•][A-Za-z_∆⍙][A-Za-z0-9_∆⍙]*" attribute="Function" />
|
|
12
12
|
<RegExpr String="(?:[¯]?[∞]|[¯]?(\d+([.]\d+)?|[.]\d+)([eEₑ][¯]?\d+)?([jJⱼ][¯]?(\d+([.]\d+)?|[.]\d+)([eEₑ][¯]?\d+)?|[rᵣ][¯]?\d+)?)(?:ₓ₁|ₓ₂|ₓ₄|ₓ₈|ₓ|ₕ|ₛ|ₚ|ₐ|ᵣ)?|[ₑⱼᵣ]" attribute="Number" />
|
|
13
13
|
<RegExpr String="[⍬](?:ₓ₁|ₓ₂|ₓ₄|ₓ₈|ₓ|ₕ|ₛ|ₚ|ₐ|ᵣ)?" attribute="Number" />
|
|
14
14
|
<RegExpr String="\$[tfn]" attribute="Number" />
|
|
15
15
|
<RegExpr String="\$[ad]" attribute="String" />
|
|
16
16
|
<RegExpr String="[\])](?=(?:ₓ₁|ₓ₂|ₓ₄|ₓ₈|ₓ|ₕ|ₛ|ₚ|ₐ|ᵣ))" attribute="Normal Text" context="Mark" />
|
|
17
|
-
<AnyChar String="+-×÷⌈⌊|*⊛○π√!∧∨⊼⊽~=≠<≤>
|
|
17
|
+
<AnyChar String="+-×÷⌈⌊|*⊛○π√!∧∨⊼⊽~=≠<≤>≥ι↦:ρ≢≡,⍪⊂⊃⊆∊∪∩⍋⍒↑↓⌽⍉⊤⊥⍎⍕⌷⌹#↕⍭⨸⌻⍸⍷⊢⊣¿" attribute="Function" />
|
|
18
18
|
<RegExpr attribute="MonadicOperator" String="(?:ₓ₁|ₓ₂|ₓ₄|ₓ₈|ₓ|ₕ|ₛ|ₚ|ₐ|ᵣ)" />
|
|
19
19
|
<AnyChar String="¨ᵇ⍨⊗⌸⇄∂/⌿\⍀⁻⁰¹²³⁴⁵⁶⁷⁸⁹⁻ᵀᵘₓ" attribute="MonadicOperator" />
|
|
20
20
|
<AnyChar String="↣⍤∘⍠⍥↢.⍣⊘@⍚⌺" attribute="DyadicOperator" />
|
|
@@ -28,13 +28,14 @@ v←2 4 9 ◇ +/÷≢v ⍝ 0ₓ
|
|
|
28
28
|
|
|
29
29
|
## Operators on trains
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
A run that starts with an operator takes the whole preceding run as its left operand. A space can therefore replace parentheses around a short train: `⊂⊢ ⌸` is `(⊂⊢)⌸`, and `+/÷≢ ¹` is `(+/÷≢)¹`.
|
|
32
32
|
|
|
33
33
|
```bpl
|
|
34
|
-
m←2 3ρι6 ◇
|
|
34
|
+
m←2 3ρι6 ◇ +/÷≢ ¹m ⍝ 1 4
|
|
35
|
+
0 1 0 ⊂⊢ ⌸ "abc" ⍝ "ac" "b"
|
|
35
36
|
```
|
|
36
37
|
|
|
37
|
-
The
|
|
38
|
+
The preceding run is the whole operand, including any prefix. Keep a left argument or an earlier function outside it with spaces or parentheses. With both arguments, separate the operand, operator and right argument as above; `0 1 0 ⊂⊢ ⌸"abc"` instead evaluates the rightmost run first. Named operators work the same way as glyphs. Keep parentheses where they show nested structure more clearly.
|
|
38
39
|
|
|
39
40
|
## Identity functions
|
|
40
41
|
|
|
@@ -78,10 +79,10 @@ The two-function train `⌊÷` divides, then rounds down:
|
|
|
78
79
|
-↢10⁝3 ⍝ ¯7
|
|
79
80
|
```
|
|
80
81
|
|
|
81
|
-
With two function operands, `↣` and `↢` form monadic hooks. `f↣g Y` is `(f Y)g Y` and `f↢g Y` is `Y f(g Y)`. Two-function trains in BPL are atops. `
|
|
82
|
+
With two function operands, `↣` and `↢` form monadic hooks. `f↣g Y` is `(f Y)g Y` and `f↢g Y` is `Y f(g Y)`. Two-function trains in BPL are atops. `3< ↣# Y` is `(3<Y)#Y`. It keeps the items of `Y` that are greater than 3:
|
|
82
83
|
|
|
83
84
|
```bpl
|
|
84
|
-
|
|
85
|
+
3< ↣# 2 7 1 8 ⍝ 7 8
|
|
85
86
|
```
|
|
86
87
|
|
|
87
88
|
## Self and Commute
|
|
@@ -110,17 +111,17 @@ fahrenheit←32+1.8× ◇ fahrenheit⁻ 212 ⍝ 100
|
|
|
110
111
|
A superscript straight after a number applies to the number. To invert a function that ends in a number, finish the function before `⁻`:
|
|
111
112
|
|
|
112
113
|
```bpl
|
|
113
|
-
+↢3
|
|
114
|
+
+↢3 ⁻ 10 ⍝ 7
|
|
114
115
|
```
|
|
115
116
|
|
|
116
|
-
`(+↢3)⁻10`
|
|
117
|
+
`(+↢3)⁻10` also gives `7`. Without grouping, `+↢3⁻` tries to invert the number `3`, which is a `DOMAIN` error. The signed superscript `3⁻¹` still means one third; `f⁻¹` on a function now means rank ¯1.
|
|
117
118
|
|
|
118
119
|
## Under
|
|
119
120
|
|
|
120
|
-
[Under](glyphs/at.qmd), `f@g`, applies `f` to what `g` selects and writes the result back. `10
|
|
121
|
+
[Under](glyphs/at.qmd), `f@g`, applies `f` to what `g` selects and writes the result back. `10× @[1 3]` multiplies items 1 and 3 by 10. `⌊@(10×)` rounds down to tenths: it scales by 10, rounds down, then scales back.
|
|
121
122
|
|
|
122
123
|
```bpl
|
|
123
|
-
10
|
|
124
|
+
10× @[1 3] 1 2 3 4 ⍝ 1 20 3 40
|
|
124
125
|
⌊@(10×)1.25 2.78 ⍝ 1.2 2.7
|
|
125
126
|
```
|
|
126
127
|
|
|
@@ -134,8 +135,8 @@ Within a run, an operator's right operand is the one [token](terms.qmd#term-toke
|
|
|
134
135
|
≥⍣3⁝5 ⍝ 8
|
|
135
136
|
m←["r":2 "c":3]ρι6ₓ ◇ i←"c" ◇ +/⍠i⁝m ⍝ ["r":2]ρ[3 12]ₓ
|
|
136
137
|
m←["r":2 "c":3]ρι6ₓ ◇ i←"c" ◇ 10÷√1++/⍠i⁝m ⍝ ["r":2]ρ[5 2.773500981]
|
|
137
|
-
2
|
|
138
|
-
|
|
138
|
+
2× ⍣3⁝5 ⍝ 40
|
|
139
|
+
+/÷≢ ⍤1⁝2 3ρι6 ⍝ 1 4
|
|
139
140
|
```
|
|
140
141
|
|
|
141
142
|
Add no separator where the tokens already stay distinct. A name never joins a literal strand, as in `f⍣n1`. A vector argument can touch its operand in brackets, as in `≥⍣2[1 2 3]`.
|
|
@@ -145,7 +146,7 @@ Add no separator where the tokens already stay distinct. A name never joins a li
|
|
|
145
146
|
```bpl
|
|
146
147
|
w←[1 2◇3 4◇5 6] ◇ 10 20+⍤1⁝w ⍝ [11 22◇13 24◇15 26]
|
|
147
148
|
w←[1 2◇3 4◇5 6] ◇ 10 20(+⍤1)w ⍝ [11 22◇13 24◇15 26]
|
|
148
|
-
m←2 3ρι6 ◇
|
|
149
|
+
m←2 3ρι6 ◇ +/÷≢ ¹m ⍝ 1 4
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
## Forms that read worse
|
|
@@ -157,7 +158,7 @@ Each pair gives the same result with one argument.
|
|
|
157
158
|
| `{(+/ω)÷≢ω}` | `+/÷≢` |
|
|
158
159
|
| `0.5×⊢+2÷⊢` | `⊽⁻+÷` |
|
|
159
160
|
| `{ω÷+/ω}` | `÷↢ +/` |
|
|
160
|
-
| `{ω×10}@[1 3]` | `10
|
|
161
|
+
| `{ω×10}@[1 3]` | `10× @[1 3]` |
|
|
161
162
|
| `{+/ω}⍠0` | `+/₀` |
|
|
162
163
|
| `{ω,1}` | `,↢1` |
|
|
163
164
|
| `×⍨x` | `x²` |
|