basedpl 0.1.38__tar.gz → 0.1.41__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.38 → basedpl-0.1.41}/.github/workflows/ci.yml +16 -5
- basedpl-0.1.41/.github/workflows/speed.yml +36 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/Cargo.lock +68 -171
- {basedpl-0.1.38 → basedpl-0.1.41}/Cargo.toml +10 -16
- {basedpl-0.1.38 → basedpl-0.1.41}/PKG-INFO +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/numeric.bpl +3 -3
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/distributions.ipynb +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/dyalog.ipynb +96 -24
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/evaluation.qmd +2 -2
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/mandelbrot.bpl +5 -3
- basedpl-0.1.41/nbs/gallery/mandelbrot32.bpl +26 -0
- basedpl-0.1.41/nbs/gallery/prefs.bpl +3 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery.qmd +1 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/ceiling.qmd +2 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/execute.qmd +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/floor.qmd +2 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/or.qmd +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/root.qmd +3 -3
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs.qmd +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/llms.txt +4 -4
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/magics.ipynb +225 -54
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/notebooks.ipynb +126 -33
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/numbers.qmd +54 -7
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground/gallery.js +5 -2
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/python.ipynb +441 -131
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/repl.qmd +1 -3
- basedpl-0.1.41/nbs/system/float.qmd +11 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/js.qmd +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/literal.qmd +2 -2
- basedpl-0.1.41/nbs/system/prefs.qmd +32 -0
- basedpl-0.1.41/nbs/system/storage.qmd +3 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/time.qmd +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system-functions.qmd +2 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/README.md +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/py/Cargo.toml +1 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/py/src/lib.rs +39 -26
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/__init__.py +18 -12
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/bpltests.py +39 -44
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/worker.py +16 -3
- {basedpl-0.1.38 → basedpl-0.1.41}/src/agreement.rs +7 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/array/storage.rs +288 -100
- {basedpl-0.1.38 → basedpl-0.1.41}/src/array/text.rs +22 -14
- {basedpl-0.1.38 → basedpl-0.1.41}/src/array.rs +93 -36
- {basedpl-0.1.38 → basedpl-0.1.41}/src/csv.rs +6 -3
- {basedpl-0.1.38 → basedpl-0.1.41}/src/data.rs +14 -10
- {basedpl-0.1.38 → basedpl-0.1.41}/src/date.rs +4 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/src/display.rs +79 -51
- basedpl-0.1.41/src/distribution.rs +202 -0
- basedpl-0.1.41/src/element.rs +225 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval/assign.rs +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval/binder.rs +10 -8
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval/operators.rs +15 -15
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval/session.rs +56 -13
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval.rs +20 -16
- {basedpl-0.1.38 → basedpl-0.1.41}/src/execution.rs +17 -5
- {basedpl-0.1.38 → basedpl-0.1.41}/src/files.rs +5 -4
- {basedpl-0.1.38 → basedpl-0.1.41}/src/image.rs +2 -2
- {basedpl-0.1.38 → basedpl-0.1.41}/src/js.rs +41 -25
- {basedpl-0.1.38 → basedpl-0.1.41}/src/json.rs +4 -4
- {basedpl-0.1.38 → basedpl-0.1.41}/src/keyed.rs +4 -4
- {basedpl-0.1.38 → basedpl-0.1.41}/src/lib.rs +3 -1
- basedpl-0.1.41/src/number.rs +1093 -0
- basedpl-0.1.41/src/number_theory.rs +133 -0
- basedpl-0.1.41/src/pervasive.rs +1524 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/polynomial.rs +70 -19
- {basedpl-0.1.38 → basedpl-0.1.41}/src/primitive/numeric.rs +218 -115
- {basedpl-0.1.38 → basedpl-0.1.41}/src/primitive/search.rs +29 -25
- {basedpl-0.1.38 → basedpl-0.1.41}/src/primitive.rs +43 -28
- {basedpl-0.1.38 → basedpl-0.1.41}/src/protocol.rs +6 -5
- basedpl-0.1.41/src/reference.rs +298 -0
- basedpl-0.1.41/src/search.rs +319 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/syntax.rs +87 -45
- {basedpl-0.1.38 → basedpl-0.1.41}/src/system.rs +49 -34
- basedpl-0.1.41/src/timing.rs +131 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/core.rs +44 -65
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/README.md +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/aplcart.bpl +3 -3
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/april.bpl +12 -12
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/core.bpl +157 -35
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/lib.bpl +6 -0
- basedpl-0.1.41/tests/reference.rs +96 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/scaling.rs +1 -1
- basedpl-0.1.41/tests/speed.rs +28 -0
- basedpl-0.1.41/tests/speed.txt +168 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_api.py +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_basic.py +10 -2
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_bpltests.py +6 -4
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_repl.py +1 -1
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_worker.py +1 -3
- basedpl-0.1.41/tests/units.rs +74 -0
- basedpl-0.1.41/tests/wasm-pkg.mjs +11 -0
- basedpl-0.1.41/tests/wasm-speed.mjs +20 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/wasm.mjs +28 -15
- basedpl-0.1.38/nbs/system/prefs.qmd +0 -18
- basedpl-0.1.38/nbs/system/storage.qmd +0 -3
- basedpl-0.1.38/src/distribution.rs +0 -265
- basedpl-0.1.38/src/element.rs +0 -150
- basedpl-0.1.38/src/number.rs +0 -1132
- basedpl-0.1.38/src/number_theory.rs +0 -285
- basedpl-0.1.38/src/pervasive.rs +0 -984
- basedpl-0.1.38/src/reference.rs +0 -124
- basedpl-0.1.38/src/search.rs +0 -490
- basedpl-0.1.38/tests/reference.rs +0 -197
- basedpl-0.1.38/tests/speed.rs +0 -138
- {basedpl-0.1.38 → basedpl-0.1.41}/.cargo/config.toml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/.gitattributes +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/.github/workflows/docs.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/.gitignore +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/CONTRIBUTING.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/LICENSE +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/README.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/_config.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/_layouts/default.html +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/build.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/jetbrains/BPL.tmbundle/Syntaxes/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/jetbrains/BPL.xml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/jetbrains/README.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-de.txt +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-es.txt +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-fr.txt +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-uk.txt +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/macos/BasedPL-us.txt +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/vim/ftdetect/bpl.vim +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/vim/syntax/bpl.vim +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/README.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/build.ps1 +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/install.ps1 +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/keyboard.c +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/keyboard.def +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/keyboard.rc +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/editors/windows/layout.h +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/index_files/figure-html/cell-17-output-1.svg +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/index_files/figure-html/cell-18-output-1.svg +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/LICENSE-april +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/README.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/array.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/dyalog.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/graph.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/power.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/regex.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/string.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/lib/tree.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/.gitignore +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/_quarto.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/arrays.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/assignment.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/bpl.xml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/bqn.xml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/bracket-types.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/cli.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/comparison.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/data.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/dfns.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/driver.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/dyalog.xml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/fonts/LICENSE-SAX2 +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/fonts/README.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/fonts/SAX2B.ttf +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/fonts/SAX2B.woff2 +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/fonts.css +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/attractor.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/boids.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/dragon.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/flow.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/orbits.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/phyllotaxis.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/gallery/reaction.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/getting-started.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/_metadata.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/add.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/after.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/agenda.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/alpha-underbar.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/alpha.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/and.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/assign.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/atop.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/axis.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/backslash-bar.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/backslash.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/before.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/braces.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/brackets.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/bullet.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/circle.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/colon.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/comma.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/comment.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/commute.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/dash.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/decode.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/del-diaeresis.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/del.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/derivative.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/diamond.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/div.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/domino.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/dot.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/drop.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/each.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/enclose.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/encode.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/equal.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/error-guard.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/factor.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/factorial.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/find.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/format.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/grade-down.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/grade-up.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/greater-or-equal.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/greater.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/hash.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/infinity.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/intersection.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/inverse-pair.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/inverted-question.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/iota.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/key.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/left.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/less-or-equal.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/less.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/log.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/match.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/member.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/mix.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/mul.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/nand.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/nest.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/nor.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/not-equal.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/omega-underbar.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/omega.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/outer-product.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/over.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/overbar.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/parentheses.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/pi.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/polynomial.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/power.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/prime.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/quad.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/question.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/quote.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/range.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/rank.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/reverse-first.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/reverse.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/rho.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/right.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/slash-bar.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/slash.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/squad.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/star.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/stencil.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/stile.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/table.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/take.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/tally.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/tilde.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/transpose.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/under.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/union.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/valences.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/where.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/windows.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/glyphs/zilde.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/index.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/introspection.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/keyboard.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/keyed.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/modules.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/nbdev.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/overview.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/papers/aplwiki-arrays.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/papers/brickman-depth-1-scalars.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/papers/mercer-based-system.md +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground/bpl.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground/monaco-worker.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground/page.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground/worker.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/playground.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/plot.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/principles.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/processes.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/puppy.jpg +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/regex.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/scripts.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/sidebar.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/strings.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/styles.css +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/syntax.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/_metadata.yml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/c.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/canvas.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/constants.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/copy.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/csv.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/date.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/decompose.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/deflate.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/delay.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/distribution.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/element.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/ex.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/fetch.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/hash.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/host.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/image.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/json.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/load.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/metadata.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/mime.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/mkdir.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/nc.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/nget.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/nl.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/normalize.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/nput.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/path.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/plot.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/r.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/rand.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/readdir.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/remove.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/rename.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/signal.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/src.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/svg.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/ucs.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/uuid.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/vfi.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/system/xml.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/terms.qmd +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/web.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/nbs/xml.ipynb +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/aplcart.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/april.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/bqn.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/core.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/dyalog.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/provenance/ngn.jsonl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/py/build.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/pyproject.toml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/_modidx.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/dyalog.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/editors.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/font.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/fonts.css +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/functions.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/input.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/ipython.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/keyboards.json +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/keyboards.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/layout.json +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/lb.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/notebook_runner.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/notebooks.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/printing.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/reference.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/syntax.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/python/basedpl/windows_keyboard.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/rustfmt.toml +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/scripts/install-macos.sh +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/scripts/prep.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/canvas.js +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/canvas.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/error.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/eval/dissect.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/host.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/host_web.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/inspection.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/plot.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/primitive/indexing.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/primitive/structural.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/regex.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/selection.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/symbols.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/src/xml.rs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/conftest.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/highlighting.mjs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/input.mjs +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-aplcart +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-april +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-bqn +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-bqncrate +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-dyalog +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/LICENSE-ngn +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/bqn.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/distributions.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/dyalog.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/graphics.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/ngn.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/regex.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/support/april.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/support/avl.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/support/redblack.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/support/sbst.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/reference/support/splay.bpl +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_glyphs.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_graphics.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_ipython.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_kernel.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_keylayout.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_notebooks.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_reference.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/test_windows_keyboard.py +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/tests/windows_keyboard.c +0 -0
- {basedpl-0.1.38 → basedpl-0.1.41}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
|
@@ -8,15 +8,20 @@ on:
|
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
test:
|
|
11
|
-
runs
|
|
11
|
+
# A `v*` tag runs this job and `wasm` on GitHub's runner, like the release jobs, without the speed tests. The speed budgets come from Ubicloud's runner.
|
|
12
|
+
runs-on: ${{ startsWith(github.ref, 'refs/tags/v') && 'ubuntu-latest' || 'ubicloud-standard-4' }}
|
|
12
13
|
steps:
|
|
13
14
|
- uses: actions/checkout@v7
|
|
14
15
|
- run: node tests/input.mjs
|
|
15
16
|
- uses: dtolnay/rust-toolchain@stable
|
|
16
17
|
# The repository has no `Cargo.lock`. Creating one first makes rust-cache's key change when a dependency publishes a new version.
|
|
17
18
|
- run: cargo generate-lockfile
|
|
19
|
+
# The `Speed` workflow restores this cache and the `wasm` job's, by their `shared-key`.
|
|
18
20
|
- uses: Swatinem/rust-cache@v2
|
|
19
|
-
|
|
21
|
+
with:
|
|
22
|
+
shared-key: native
|
|
23
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
24
|
+
- run: cargo test -- ${{ startsWith(github.ref, 'refs/tags/v') && '--skip functions_cost_what_their_work_needs' || '' }}
|
|
20
25
|
- uses: actions/setup-python@v7
|
|
21
26
|
with:
|
|
22
27
|
python-version: '3.12'
|
|
@@ -27,7 +32,7 @@ jobs:
|
|
|
27
32
|
- run: nbdev-test
|
|
28
33
|
|
|
29
34
|
wasm:
|
|
30
|
-
runs-on: ubuntu-latest
|
|
35
|
+
runs-on: ${{ startsWith(github.ref, 'refs/tags/v') && 'ubuntu-latest' || 'ubicloud-standard-4' }}
|
|
31
36
|
steps:
|
|
32
37
|
- uses: actions/checkout@v7
|
|
33
38
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -35,10 +40,16 @@ jobs:
|
|
|
35
40
|
targets: wasm32-unknown-unknown
|
|
36
41
|
- run: cargo generate-lockfile
|
|
37
42
|
- uses: Swatinem/rust-cache@v2
|
|
38
|
-
|
|
43
|
+
with:
|
|
44
|
+
shared-key: wasm
|
|
45
|
+
- run: cargo wasm --strip
|
|
39
46
|
- run: node --test tests/wasm.mjs
|
|
47
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
48
|
+
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
|
49
|
+
run: node --no-liftoff --test tests/wasm-speed.mjs
|
|
40
50
|
# The `npm` job publishes this package on a `v*` tag.
|
|
41
|
-
-
|
|
51
|
+
- if: startsWith(github.ref, 'refs/tags/v')
|
|
52
|
+
uses: actions/upload-artifact@v7
|
|
42
53
|
with:
|
|
43
54
|
name: wasm-pkg
|
|
44
55
|
path: wasm/pkg
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Speed
|
|
2
|
+
|
|
3
|
+
on: workflow_dispatch
|
|
4
|
+
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
native:
|
|
10
|
+
runs-on: ubicloud-standard-4
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v7
|
|
13
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
14
|
+
- run: cargo generate-lockfile
|
|
15
|
+
# Only CI's `test` job saves this cache. This job builds only part of what `test` builds. GitHub never replaces a saved cache under the same key.
|
|
16
|
+
- uses: Swatinem/rust-cache@v2
|
|
17
|
+
with:
|
|
18
|
+
shared-key: native
|
|
19
|
+
save-if: false
|
|
20
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
21
|
+
- run: BASEDPL_COSTS=1 cargo test --test speed -- --nocapture
|
|
22
|
+
|
|
23
|
+
wasm:
|
|
24
|
+
runs-on: ubicloud-standard-4
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v7
|
|
27
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
28
|
+
with:
|
|
29
|
+
targets: wasm32-unknown-unknown
|
|
30
|
+
- run: cargo generate-lockfile
|
|
31
|
+
- uses: Swatinem/rust-cache@v2
|
|
32
|
+
with:
|
|
33
|
+
shared-key: wasm
|
|
34
|
+
- run: cargo wasm --strip
|
|
35
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
36
|
+
- run: BASEDPL_COSTS=1 node --no-liftoff tests/wasm-speed.mjs
|
|
@@ -17,6 +17,12 @@ dependencies = [
|
|
|
17
17
|
"memchr",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "allocator-api2"
|
|
22
|
+
version = "0.2.21"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
|
|
25
|
+
|
|
20
26
|
[[package]]
|
|
21
27
|
name = "android_system_properties"
|
|
22
28
|
version = "0.1.6"
|
|
@@ -32,22 +38,13 @@ version = "1.0.104"
|
|
|
32
38
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
39
|
checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
|
|
34
40
|
|
|
35
|
-
[[package]]
|
|
36
|
-
name = "approx"
|
|
37
|
-
version = "0.5.1"
|
|
38
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
|
40
|
-
dependencies = [
|
|
41
|
-
"num-traits",
|
|
42
|
-
]
|
|
43
|
-
|
|
44
41
|
[[package]]
|
|
45
42
|
name = "ar_archive_writer"
|
|
46
43
|
version = "0.5.3"
|
|
47
44
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
45
|
checksum = "73cd58deff2140a0a8eae87e417bd01db68a33e148aa93d1e8cd837e55e312b6"
|
|
49
46
|
dependencies = [
|
|
50
|
-
"object",
|
|
47
|
+
"object 0.39.1",
|
|
51
48
|
]
|
|
52
49
|
|
|
53
50
|
[[package]]
|
|
@@ -58,7 +55,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
|
|
|
58
55
|
dependencies = [
|
|
59
56
|
"proc-macro2",
|
|
60
57
|
"quote",
|
|
61
|
-
"syn 3.0.
|
|
58
|
+
"syn 3.0.8",
|
|
62
59
|
]
|
|
63
60
|
|
|
64
61
|
[[package]]
|
|
@@ -90,7 +87,7 @@ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
|
|
|
90
87
|
|
|
91
88
|
[[package]]
|
|
92
89
|
name = "basedpl"
|
|
93
|
-
version = "0.1.
|
|
90
|
+
version = "0.1.41"
|
|
94
91
|
dependencies = [
|
|
95
92
|
"base64 0.23.1",
|
|
96
93
|
"bytemuck",
|
|
@@ -101,29 +98,29 @@ dependencies = [
|
|
|
101
98
|
"foldhash",
|
|
102
99
|
"getrandom",
|
|
103
100
|
"globset",
|
|
101
|
+
"half",
|
|
104
102
|
"icu_normalizer",
|
|
105
103
|
"image",
|
|
106
104
|
"js-sys",
|
|
107
105
|
"json5",
|
|
108
|
-
"lambert_w",
|
|
109
|
-
"libm",
|
|
110
106
|
"nix",
|
|
111
107
|
"num-bigint",
|
|
112
108
|
"num-complex",
|
|
113
|
-
"num-integer",
|
|
114
109
|
"num-rational",
|
|
115
110
|
"num-traits",
|
|
111
|
+
"object 0.40.0",
|
|
116
112
|
"plotters",
|
|
117
113
|
"png",
|
|
118
114
|
"rand",
|
|
119
115
|
"regex",
|
|
120
116
|
"roxmltree",
|
|
117
|
+
"rustc-demangle",
|
|
121
118
|
"rustix",
|
|
119
|
+
"rustymath",
|
|
122
120
|
"serde",
|
|
123
121
|
"serde_json",
|
|
124
122
|
"sha2 0.11.0",
|
|
125
123
|
"stacker",
|
|
126
|
-
"statrs",
|
|
127
124
|
"strength_reduce",
|
|
128
125
|
"tempfile",
|
|
129
126
|
"unicode-width",
|
|
@@ -136,7 +133,7 @@ dependencies = [
|
|
|
136
133
|
|
|
137
134
|
[[package]]
|
|
138
135
|
name = "basedpl-cli"
|
|
139
|
-
version = "0.1.
|
|
136
|
+
version = "0.1.41"
|
|
140
137
|
dependencies = [
|
|
141
138
|
"async-trait",
|
|
142
139
|
"basedpl",
|
|
@@ -149,10 +146,11 @@ dependencies = [
|
|
|
149
146
|
|
|
150
147
|
[[package]]
|
|
151
148
|
name = "basedpl-py"
|
|
152
|
-
version = "0.1.
|
|
149
|
+
version = "0.1.41"
|
|
153
150
|
dependencies = [
|
|
154
151
|
"basedpl",
|
|
155
152
|
"bytemuck",
|
|
153
|
+
"half",
|
|
156
154
|
"num-bigint",
|
|
157
155
|
"num-complex",
|
|
158
156
|
"num-rational",
|
|
@@ -163,7 +161,7 @@ dependencies = [
|
|
|
163
161
|
|
|
164
162
|
[[package]]
|
|
165
163
|
name = "basedpl-wasm"
|
|
166
|
-
version = "0.1.
|
|
164
|
+
version = "0.1.41"
|
|
167
165
|
dependencies = [
|
|
168
166
|
"basedpl",
|
|
169
167
|
"js-sys",
|
|
@@ -236,7 +234,7 @@ checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c"
|
|
|
236
234
|
dependencies = [
|
|
237
235
|
"proc-macro2",
|
|
238
236
|
"quote",
|
|
239
|
-
"syn 3.0.
|
|
237
|
+
"syn 3.0.8",
|
|
240
238
|
]
|
|
241
239
|
|
|
242
240
|
[[package]]
|
|
@@ -259,9 +257,9 @@ checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
|
259
257
|
|
|
260
258
|
[[package]]
|
|
261
259
|
name = "cc"
|
|
262
|
-
version = "1.
|
|
260
|
+
version = "1.8.0"
|
|
263
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
264
|
-
checksum = "
|
|
262
|
+
checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
|
|
265
263
|
dependencies = [
|
|
266
264
|
"find-msvc-tools",
|
|
267
265
|
"shlex",
|
|
@@ -482,7 +480,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
|
482
480
|
dependencies = [
|
|
483
481
|
"proc-macro2",
|
|
484
482
|
"quote",
|
|
485
|
-
"syn 3.0.
|
|
483
|
+
"syn 3.0.8",
|
|
486
484
|
]
|
|
487
485
|
|
|
488
486
|
[[package]]
|
|
@@ -846,30 +844,6 @@ dependencies = [
|
|
|
846
844
|
"stable_deref_trait",
|
|
847
845
|
]
|
|
848
846
|
|
|
849
|
-
[[package]]
|
|
850
|
-
name = "glam"
|
|
851
|
-
version = "0.30.10"
|
|
852
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
853
|
-
checksum = "19fc433e8437a212d1b6f1e68c7824af3aed907da60afa994e7f542d18d12aa9"
|
|
854
|
-
|
|
855
|
-
[[package]]
|
|
856
|
-
name = "glam"
|
|
857
|
-
version = "0.31.1"
|
|
858
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
859
|
-
checksum = "556f6b2ea90b8d15a74e0e7bb41671c9bdf38cd9f78c284d750b9ce58a2b5be7"
|
|
860
|
-
|
|
861
|
-
[[package]]
|
|
862
|
-
name = "glam"
|
|
863
|
-
version = "0.32.1"
|
|
864
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
865
|
-
checksum = "f70749695b063ecbf6b62949ccccde2e733ec3ecbbd71d467dca4e5c6c97cca0"
|
|
866
|
-
|
|
867
|
-
[[package]]
|
|
868
|
-
name = "glam"
|
|
869
|
-
version = "0.33.12"
|
|
870
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
871
|
-
checksum = "37bfe73dc8ec21f54d181e5a60554327ec3f1c600c455a75ccbfc65d2106a6c4"
|
|
872
|
-
|
|
873
847
|
[[package]]
|
|
874
848
|
name = "globset"
|
|
875
849
|
version = "0.4.20"
|
|
@@ -912,6 +886,11 @@ name = "hashbrown"
|
|
|
912
886
|
version = "0.17.1"
|
|
913
887
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
914
888
|
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
889
|
+
dependencies = [
|
|
890
|
+
"allocator-api2",
|
|
891
|
+
"equivalent",
|
|
892
|
+
"foldhash",
|
|
893
|
+
]
|
|
915
894
|
|
|
916
895
|
[[package]]
|
|
917
896
|
name = "heck"
|
|
@@ -1152,16 +1131,6 @@ dependencies = [
|
|
|
1152
1131
|
"zmtpmini",
|
|
1153
1132
|
]
|
|
1154
1133
|
|
|
1155
|
-
[[package]]
|
|
1156
|
-
name = "lambert_w"
|
|
1157
|
-
version = "1.2.34"
|
|
1158
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1159
|
-
checksum = "f5f0846ee4f0299ca4c5b9ca06ff55cf88b3430a763bf591474cc734479c9b24"
|
|
1160
|
-
dependencies = [
|
|
1161
|
-
"num-complex",
|
|
1162
|
-
"num-traits",
|
|
1163
|
-
]
|
|
1164
|
-
|
|
1165
1134
|
[[package]]
|
|
1166
1135
|
name = "leb128"
|
|
1167
1136
|
version = "0.2.7"
|
|
@@ -1204,16 +1173,6 @@ version = "0.4.34"
|
|
|
1204
1173
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1205
1174
|
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
1206
1175
|
|
|
1207
|
-
[[package]]
|
|
1208
|
-
name = "matrixmultiply"
|
|
1209
|
-
version = "0.3.11"
|
|
1210
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1211
|
-
checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
|
|
1212
|
-
dependencies = [
|
|
1213
|
-
"autocfg",
|
|
1214
|
-
"rawpointer",
|
|
1215
|
-
]
|
|
1216
|
-
|
|
1217
1176
|
[[package]]
|
|
1218
1177
|
name = "md-5"
|
|
1219
1178
|
version = "0.10.6"
|
|
@@ -1271,26 +1230,6 @@ dependencies = [
|
|
|
1271
1230
|
"pxfm",
|
|
1272
1231
|
]
|
|
1273
1232
|
|
|
1274
|
-
[[package]]
|
|
1275
|
-
name = "nalgebra"
|
|
1276
|
-
version = "0.35.0"
|
|
1277
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1278
|
-
checksum = "adc43a60c217b0c6ff46e47f26911015ad8d2e5a8be1af668c67e370d99a4346"
|
|
1279
|
-
dependencies = [
|
|
1280
|
-
"approx",
|
|
1281
|
-
"glam 0.30.10",
|
|
1282
|
-
"glam 0.31.1",
|
|
1283
|
-
"glam 0.32.1",
|
|
1284
|
-
"glam 0.33.12",
|
|
1285
|
-
"matrixmultiply",
|
|
1286
|
-
"num-complex",
|
|
1287
|
-
"num-rational",
|
|
1288
|
-
"num-traits",
|
|
1289
|
-
"rand",
|
|
1290
|
-
"simba",
|
|
1291
|
-
"typenum",
|
|
1292
|
-
]
|
|
1293
|
-
|
|
1294
1233
|
[[package]]
|
|
1295
1234
|
name = "nano-gemm"
|
|
1296
1235
|
version = "0.2.2"
|
|
@@ -1466,6 +1405,15 @@ dependencies = [
|
|
|
1466
1405
|
"memchr",
|
|
1467
1406
|
]
|
|
1468
1407
|
|
|
1408
|
+
[[package]]
|
|
1409
|
+
name = "object"
|
|
1410
|
+
version = "0.40.0"
|
|
1411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1412
|
+
checksum = "dd229a0361b9d0d4396176e02d65897f487eebeab7caa6d443855ee152ca0b9c"
|
|
1413
|
+
dependencies = [
|
|
1414
|
+
"memchr",
|
|
1415
|
+
]
|
|
1416
|
+
|
|
1469
1417
|
[[package]]
|
|
1470
1418
|
name = "once_cell"
|
|
1471
1419
|
version = "1.21.4"
|
|
@@ -1725,12 +1673,6 @@ dependencies = [
|
|
|
1725
1673
|
"bitflags",
|
|
1726
1674
|
]
|
|
1727
1675
|
|
|
1728
|
-
[[package]]
|
|
1729
|
-
name = "rawpointer"
|
|
1730
|
-
version = "0.2.1"
|
|
1731
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1732
|
-
checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
|
1733
|
-
|
|
1734
1676
|
[[package]]
|
|
1735
1677
|
name = "rayon"
|
|
1736
1678
|
version = "1.12.0"
|
|
@@ -1839,19 +1781,28 @@ dependencies = [
|
|
|
1839
1781
|
]
|
|
1840
1782
|
|
|
1841
1783
|
[[package]]
|
|
1842
|
-
name = "
|
|
1843
|
-
version = "1.
|
|
1784
|
+
name = "rustymath"
|
|
1785
|
+
version = "0.1.9"
|
|
1844
1786
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1845
|
-
checksum = "
|
|
1787
|
+
checksum = "45551e624b74066f0c0bf66b9110899e3e0c69d6b8dea0e70bc11b677da52241"
|
|
1788
|
+
dependencies = [
|
|
1789
|
+
"faer",
|
|
1790
|
+
"half",
|
|
1791
|
+
"hashbrown 0.17.1",
|
|
1792
|
+
"num-bigint",
|
|
1793
|
+
"num-complex",
|
|
1794
|
+
"num-integer",
|
|
1795
|
+
"num-rational",
|
|
1796
|
+
"num-traits",
|
|
1797
|
+
"rand",
|
|
1798
|
+
"strength_reduce",
|
|
1799
|
+
]
|
|
1846
1800
|
|
|
1847
1801
|
[[package]]
|
|
1848
|
-
name = "
|
|
1849
|
-
version = "1.
|
|
1802
|
+
name = "ryu"
|
|
1803
|
+
version = "1.0.23"
|
|
1850
1804
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1851
|
-
checksum = "
|
|
1852
|
-
dependencies = [
|
|
1853
|
-
"bytemuck",
|
|
1854
|
-
]
|
|
1805
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
1855
1806
|
|
|
1856
1807
|
[[package]]
|
|
1857
1808
|
name = "same-file"
|
|
@@ -1901,15 +1852,16 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
1901
1852
|
dependencies = [
|
|
1902
1853
|
"proc-macro2",
|
|
1903
1854
|
"quote",
|
|
1904
|
-
"syn 3.0.
|
|
1855
|
+
"syn 3.0.8",
|
|
1905
1856
|
]
|
|
1906
1857
|
|
|
1907
1858
|
[[package]]
|
|
1908
1859
|
name = "serde_json"
|
|
1909
|
-
version = "1.0.
|
|
1860
|
+
version = "1.0.154"
|
|
1910
1861
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1911
|
-
checksum = "
|
|
1862
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
1912
1863
|
dependencies = [
|
|
1864
|
+
"foldhash",
|
|
1913
1865
|
"indexmap",
|
|
1914
1866
|
"itoa",
|
|
1915
1867
|
"memchr",
|
|
@@ -1971,18 +1923,6 @@ dependencies = [
|
|
|
1971
1923
|
"libc",
|
|
1972
1924
|
]
|
|
1973
1925
|
|
|
1974
|
-
[[package]]
|
|
1975
|
-
name = "simba"
|
|
1976
|
-
version = "0.10.2"
|
|
1977
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1978
|
-
checksum = "f1a7200d82ff1c7b4235efd12f11e2537a402c91cf83a5cb97ce80eef787fde7"
|
|
1979
|
-
dependencies = [
|
|
1980
|
-
"approx",
|
|
1981
|
-
"num-complex",
|
|
1982
|
-
"num-traits",
|
|
1983
|
-
"wide",
|
|
1984
|
-
]
|
|
1985
|
-
|
|
1986
1926
|
[[package]]
|
|
1987
1927
|
name = "simd-adler32"
|
|
1988
1928
|
version = "0.3.10"
|
|
@@ -2030,19 +1970,6 @@ dependencies = [
|
|
|
2030
1970
|
"windows-sys",
|
|
2031
1971
|
]
|
|
2032
1972
|
|
|
2033
|
-
[[package]]
|
|
2034
|
-
name = "statrs"
|
|
2035
|
-
version = "0.19.1"
|
|
2036
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2037
|
-
checksum = "c1837f9a1bd13dabbdbb04489c39451482d3cdd35a6e1a0d0f3570dea2b8c8be"
|
|
2038
|
-
dependencies = [
|
|
2039
|
-
"approx",
|
|
2040
|
-
"nalgebra",
|
|
2041
|
-
"num-traits",
|
|
2042
|
-
"rand",
|
|
2043
|
-
"thiserror 2.0.21",
|
|
2044
|
-
]
|
|
2045
|
-
|
|
2046
1973
|
[[package]]
|
|
2047
1974
|
name = "strength_reduce"
|
|
2048
1975
|
version = "0.2.4"
|
|
@@ -2079,9 +2006,9 @@ dependencies = [
|
|
|
2079
2006
|
|
|
2080
2007
|
[[package]]
|
|
2081
2008
|
name = "syn"
|
|
2082
|
-
version = "3.0.
|
|
2009
|
+
version = "3.0.8"
|
|
2083
2010
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2084
|
-
checksum = "
|
|
2011
|
+
checksum = "01016da373cd8f7ef12624f796309f5c31ba8d646dd08856c02cd741d823c622"
|
|
2085
2012
|
dependencies = [
|
|
2086
2013
|
"proc-macro2",
|
|
2087
2014
|
"quote",
|
|
@@ -2096,7 +2023,7 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
|
2096
2023
|
dependencies = [
|
|
2097
2024
|
"proc-macro2",
|
|
2098
2025
|
"quote",
|
|
2099
|
-
"syn 3.0.
|
|
2026
|
+
"syn 3.0.8",
|
|
2100
2027
|
]
|
|
2101
2028
|
|
|
2102
2029
|
[[package]]
|
|
@@ -2109,7 +2036,7 @@ dependencies = [
|
|
|
2109
2036
|
"byteorder",
|
|
2110
2037
|
"enum-as-inner",
|
|
2111
2038
|
"libc",
|
|
2112
|
-
"thiserror
|
|
2039
|
+
"thiserror",
|
|
2113
2040
|
"walkdir",
|
|
2114
2041
|
]
|
|
2115
2042
|
|
|
@@ -2138,16 +2065,7 @@ version = "1.0.69"
|
|
|
2138
2065
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2139
2066
|
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
|
2140
2067
|
dependencies = [
|
|
2141
|
-
"thiserror-impl
|
|
2142
|
-
]
|
|
2143
|
-
|
|
2144
|
-
[[package]]
|
|
2145
|
-
name = "thiserror"
|
|
2146
|
-
version = "2.0.21"
|
|
2147
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2148
|
-
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
2149
|
-
dependencies = [
|
|
2150
|
-
"thiserror-impl 2.0.21",
|
|
2068
|
+
"thiserror-impl",
|
|
2151
2069
|
]
|
|
2152
2070
|
|
|
2153
2071
|
[[package]]
|
|
@@ -2161,17 +2079,6 @@ dependencies = [
|
|
|
2161
2079
|
"syn 2.0.119",
|
|
2162
2080
|
]
|
|
2163
2081
|
|
|
2164
|
-
[[package]]
|
|
2165
|
-
name = "thiserror-impl"
|
|
2166
|
-
version = "2.0.21"
|
|
2167
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2168
|
-
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
2169
|
-
dependencies = [
|
|
2170
|
-
"proc-macro2",
|
|
2171
|
-
"quote",
|
|
2172
|
-
"syn 3.0.7",
|
|
2173
|
-
]
|
|
2174
|
-
|
|
2175
2082
|
[[package]]
|
|
2176
2083
|
name = "tinystr"
|
|
2177
2084
|
version = "0.8.4"
|
|
@@ -2206,7 +2113,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
|
|
|
2206
2113
|
dependencies = [
|
|
2207
2114
|
"proc-macro2",
|
|
2208
2115
|
"quote",
|
|
2209
|
-
"syn 3.0.
|
|
2116
|
+
"syn 3.0.8",
|
|
2210
2117
|
]
|
|
2211
2118
|
|
|
2212
2119
|
[[package]]
|
|
@@ -2411,7 +2318,7 @@ dependencies = [
|
|
|
2411
2318
|
"bumpalo",
|
|
2412
2319
|
"proc-macro2",
|
|
2413
2320
|
"quote",
|
|
2414
|
-
"syn 3.0.
|
|
2321
|
+
"syn 3.0.8",
|
|
2415
2322
|
"wasm-bindgen-shared",
|
|
2416
2323
|
]
|
|
2417
2324
|
|
|
@@ -2467,16 +2374,6 @@ dependencies = [
|
|
|
2467
2374
|
"wasm-bindgen",
|
|
2468
2375
|
]
|
|
2469
2376
|
|
|
2470
|
-
[[package]]
|
|
2471
|
-
name = "wide"
|
|
2472
|
-
version = "1.7.1"
|
|
2473
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2474
|
-
checksum = "d920ac99c3c8edce110cb8d07dbb324d6d026011dce85b1e9355b70f0adacc4f"
|
|
2475
|
-
dependencies = [
|
|
2476
|
-
"bytemuck",
|
|
2477
|
-
"safe_arch",
|
|
2478
|
-
]
|
|
2479
|
-
|
|
2480
2377
|
[[package]]
|
|
2481
2378
|
name = "winapi-util"
|
|
2482
2379
|
version = "0.1.11"
|
|
@@ -2574,7 +2471,7 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
|
|
|
2574
2471
|
|
|
2575
2472
|
[[package]]
|
|
2576
2473
|
name = "xtask"
|
|
2577
|
-
version = "0.1.
|
|
2474
|
+
version = "0.1.41"
|
|
2578
2475
|
dependencies = [
|
|
2579
2476
|
"anyhow",
|
|
2580
2477
|
"serde_json",
|
|
@@ -2601,7 +2498,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
|
|
|
2601
2498
|
dependencies = [
|
|
2602
2499
|
"proc-macro2",
|
|
2603
2500
|
"quote",
|
|
2604
|
-
"syn 3.0.
|
|
2501
|
+
"syn 3.0.8",
|
|
2605
2502
|
"synstructure",
|
|
2606
2503
|
]
|
|
2607
2504
|
|
|
@@ -2642,7 +2539,7 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
|
2642
2539
|
dependencies = [
|
|
2643
2540
|
"proc-macro2",
|
|
2644
2541
|
"quote",
|
|
2645
|
-
"syn 3.0.
|
|
2542
|
+
"syn 3.0.8",
|
|
2646
2543
|
"synstructure",
|
|
2647
2544
|
]
|
|
2648
2545
|
|
|
@@ -2676,7 +2573,7 @@ checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
|
|
|
2676
2573
|
dependencies = [
|
|
2677
2574
|
"proc-macro2",
|
|
2678
2575
|
"quote",
|
|
2679
|
-
"syn 3.0.
|
|
2576
|
+
"syn 3.0.8",
|
|
2680
2577
|
]
|
|
2681
2578
|
|
|
2682
2579
|
[[package]]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
members = ["py"]
|
|
3
3
|
|
|
4
4
|
[workspace.package]
|
|
5
|
-
version = "0.1.
|
|
5
|
+
version = "0.1.41"
|
|
6
6
|
edition = "2021"
|
|
7
7
|
rust-version = "1.98"
|
|
8
8
|
license = "Apache-2.0"
|
|
@@ -40,15 +40,6 @@ incremental = false
|
|
|
40
40
|
lto = false
|
|
41
41
|
strip = true
|
|
42
42
|
|
|
43
|
-
# The browser build: basedpl at opt-level 2, the lowest level that vectorises its kernels, and its dependencies at `z`.
|
|
44
|
-
[profile.wasm]
|
|
45
|
-
inherits = "dist"
|
|
46
|
-
lto = "fat"
|
|
47
|
-
codegen-units = 1
|
|
48
|
-
|
|
49
|
-
[profile.wasm.package."*"]
|
|
50
|
-
opt-level = "z"
|
|
51
|
-
|
|
52
43
|
[dependencies]
|
|
53
44
|
csv = "1"
|
|
54
45
|
tempfile = "3"
|
|
@@ -56,15 +47,13 @@ serde = ">=1.0.229, <2"
|
|
|
56
47
|
serde_json = { version = "1", features = ["arbitrary_precision", "preserve_order"] }
|
|
57
48
|
unicode-width = { version = ">=0.2.2, <1", default-features = false }
|
|
58
49
|
num-rational = ">=0.4.2, <1"
|
|
59
|
-
num-complex = ">=0.4.6, <1"
|
|
50
|
+
num-complex = { version = ">=0.4.6, <1", features = ["bytemuck"] }
|
|
60
51
|
num-bigint = ">=0.4.6, <0.5"
|
|
61
52
|
num-traits = ">=0.2.19, <1"
|
|
62
|
-
|
|
53
|
+
half = { version = ">=2.7.1, <3", features = ["num-traits", "bytemuck"] }
|
|
54
|
+
rustymath = ">=0.1.9, <1"
|
|
63
55
|
strength_reduce = ">=0.2.4, <1"
|
|
64
|
-
libm = ">=0.2, <1"
|
|
65
|
-
lambert_w = ">=1.2.34, <2"
|
|
66
56
|
rand = ">=0.10.2, <1"
|
|
67
|
-
statrs = { version = ">=0.19.1, <1", default-features = false, features = ["std", "rand"] }
|
|
68
57
|
faer = { version = ">=0.24.4, <1", default-features = false, features = ["std", "linalg"] }
|
|
69
58
|
# AnswerDotAI's fork measures text with a canvas, which works in a Web Worker: plotters-rs/plotters#746.
|
|
70
59
|
plotters = { git = "https://github.com/AnswerDotAI/plotters.git", branch = "master", default-features = false, features = ["svg_backend", "colormaps", "full_palette"] }
|
|
@@ -73,7 +62,7 @@ png = ">=0.18.1, <1"
|
|
|
73
62
|
base64 = ">=0.22.1, <1"
|
|
74
63
|
stacker = ">=0.1.25, <1"
|
|
75
64
|
foldhash = ">=0.2.0, <1"
|
|
76
|
-
bytemuck = ">=1.25.2, <2"
|
|
65
|
+
bytemuck = { version = ">=1.25.2, <2", features = ["extern_crate_alloc"] }
|
|
77
66
|
flate2 = ">=1.1.10, <2"
|
|
78
67
|
json5 = ">=1.3.1, <2"
|
|
79
68
|
roxmltree = { version = ">=0.21.1, <1", default-features = false, features = ["std"] }
|
|
@@ -100,3 +89,8 @@ web-time = ">=1.1.0, <2"
|
|
|
100
89
|
js-sys = ">=0.3.106, <0.4"
|
|
101
90
|
web-sys = { version = ">=0.3.106, <0.4", features = ["Url", "XmlHttpRequest", "XmlHttpRequestResponseType"] }
|
|
102
91
|
wasm-bindgen = ">=0.2.129, <0.3"
|
|
92
|
+
|
|
93
|
+
# `tests/units.rs` reads the development build's object files.
|
|
94
|
+
[dev-dependencies]
|
|
95
|
+
object = { version = ">=0.39.1, <1", default-features = false, features = ["read"] }
|
|
96
|
+
rustc-demangle = ">=0.1.28, <1"
|
|
@@ -43,9 +43,9 @@ bsearch ← { ⍝ Binary search: least n in range ⍵ with ⍶ n.
|
|
|
43
43
|
cfract ← { ⍝ Continued fraction approximation of real ⍵.
|
|
44
44
|
,{
|
|
45
45
|
⍵=0?⍬;
|
|
46
|
-
[n r]←[0 ⍵]⊤⍺ ⍝ next term and remainder.
|
|
46
|
+
[n r]←[0ₓ ⍵]⊤⍺ ⍝ next term and remainder.
|
|
47
47
|
n,⍵∇r ⍝ next term and cf of remainder.
|
|
48
|
-
}/⌊
|
|
48
|
+
}/⌊1r10¹⁴+[⍵ 1ₓ]÷1ₓ∨⍵
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
⍝ From http://dfns.dyalog.com/c_colsum.htm
|
|
@@ -159,7 +159,7 @@ osc ← {1=⍵?1;2|⍵?∇ ≥3×⍵;∇ ⍵÷2} ⍝ Oscillate - probably retur
|
|
|
159
159
|
⍝ From http://dfns.dyalog.com/c_rational.htm
|
|
160
160
|
|
|
161
161
|
rational ← { ⍝ Rational approximation to real ⍵.
|
|
162
|
-
⊃[⍵ 1]÷⊂1
|
|
162
|
+
⊃[⍵ 1ₓ]÷⊂1ₓ∨⍵
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
⍝ From http://dfns.dyalog.com/c_roman.htm
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"id": "c938fc95",
|
|
435
435
|
"metadata": {},
|
|
436
436
|
"source": [
|
|
437
|
-
"Numerical routines
|
|
437
|
+
"Numerical routines come from [rustymath](https://github.com/AnswerDotAI/rustymath). An array of numbers goes to it as one slice, so `density`, `cdf` and `quantile` on a large array run without per-item overhead. Unseeded draws use the thread-local RNG. Draws from a `•rand` generator use Xoshiro256++. Binomial trials and Poisson rate are limited to 2⁵³ by the floating-point samplers. Gamma scale must have a finite reciprocal. Uniform intervals must have a finite width."
|
|
438
438
|
]
|
|
439
439
|
}
|
|
440
440
|
],
|