basedpl 0.1.40__tar.gz → 0.1.43__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.40 → basedpl-0.1.43}/.cargo/config.toml +7 -2
- {basedpl-0.1.40 → basedpl-0.1.43}/.github/workflows/ci.yml +10 -52
- {basedpl-0.1.40 → basedpl-0.1.43}/.github/workflows/docs.yml +0 -3
- basedpl-0.1.43/.github/workflows/speed.yml +36 -0
- basedpl-0.1.43/.github/workflows/test.yml +49 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/Cargo.lock +24 -478
- {basedpl-0.1.40 → basedpl-0.1.43}/Cargo.toml +2 -3
- {basedpl-0.1.40 → basedpl-0.1.43}/PKG-INFO +1 -1
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/ceiling.qmd +2 -1
- basedpl-0.1.43/nbs/glyphs/domino.qmd +47 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/dot.qmd +10 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/floor.qmd +2 -1
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/llms.txt +3 -3
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/numbers.qmd +2 -2
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/constants.qmd +16 -0
- basedpl-0.1.43/nbs/system/decompose.qmd +44 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/bpltests.py +118 -4
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/worker.py +1 -1
- {basedpl-0.1.40 → basedpl-0.1.43}/src/array/storage.rs +31 -2
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval/assign.rs +5 -5
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval/binder.rs +188 -69
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval/operators.rs +46 -1
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval/session.rs +40 -40
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval.rs +45 -5
- basedpl-0.1.43/src/fusion.rs +309 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/host.rs +22 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/host_web.rs +4 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/lib.rs +1 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/number.rs +46 -153
- {basedpl-0.1.40 → basedpl-0.1.43}/src/pervasive.rs +273 -205
- {basedpl-0.1.40 → basedpl-0.1.43}/src/primitive/numeric.rs +338 -166
- {basedpl-0.1.40 → basedpl-0.1.43}/src/primitive/search.rs +42 -5
- {basedpl-0.1.40 → basedpl-0.1.43}/src/primitive/structural.rs +23 -10
- {basedpl-0.1.40 → basedpl-0.1.43}/src/primitive.rs +2 -2
- {basedpl-0.1.40 → basedpl-0.1.43}/src/reference.rs +11 -4
- {basedpl-0.1.40 → basedpl-0.1.43}/src/search.rs +59 -95
- {basedpl-0.1.40 → basedpl-0.1.43}/src/syntax.rs +5 -1
- {basedpl-0.1.40 → basedpl-0.1.43}/src/timing.rs +43 -26
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/core.bpl +87 -10
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/ngn.bpl +2 -3
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/speed.rs +6 -5
- basedpl-0.1.43/tests/speed.txt +223 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_bpltests.py +16 -1
- basedpl-0.1.43/tests/wasm-speed.mjs +53 -0
- basedpl-0.1.40/.github/workflows/speed.yml +0 -23
- basedpl-0.1.40/nbs/glyphs/domino.qmd +0 -36
- basedpl-0.1.40/nbs/system/decompose.qmd +0 -26
- basedpl-0.1.40/tests/speed.txt +0 -168
- basedpl-0.1.40/tests/wasm-speed.mjs +0 -20
- {basedpl-0.1.40 → basedpl-0.1.43}/.gitattributes +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/.gitignore +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/CONTRIBUTING.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/LICENSE +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/_config.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/_layouts/default.html +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/build.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/jetbrains/BPL.tmbundle/Syntaxes/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/jetbrains/BPL.tmbundle/info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/jetbrains/BPL.xml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/jetbrains/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.icns +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.bundle/Contents/Resources/BasedPL-de.keylayout +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-de.txt +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.icns +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.bundle/Contents/Resources/BasedPL-es.keylayout +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-es.txt +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.icns +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.bundle/Contents/Resources/BasedPL-fr.keylayout +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-fr.txt +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.icns +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.bundle/Contents/Resources/BasedPL-uk.keylayout +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-uk.txt +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.bundle/Contents/Info.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.icns +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.bundle/Contents/Resources/BasedPL-us.keylayout +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.bundle/Contents/Resources/en.lproj/InfoPlist.strings +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.bundle/Contents/version.plist +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/macos/BasedPL-us.txt +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/vim/ftdetect/bpl.vim +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/vim/syntax/bpl.vim +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/build.ps1 +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/install.ps1 +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/keyboard.c +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/keyboard.def +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/keyboard.rc +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/editors/windows/layout.h +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/index_files/figure-commonmark/cell-17-output-1.svg +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/index_files/figure-commonmark/cell-18-output-1.svg +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/index_files/figure-html/cell-17-output-1.svg +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/index_files/figure-html/cell-18-output-1.svg +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/LICENSE-april +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/array.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/dyalog.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/graph.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/numeric.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/power.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/regex.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/string.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/lib/tree.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/.gitignore +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/_quarto.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/arrays.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/assignment.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/bpl.xml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/bqn.xml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/bracket-types.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/cli.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/comparison.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/data.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/dfns.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/distributions.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/driver.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/dyalog.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/dyalog.xml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/evaluation.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/fonts/LICENSE-SAX2 +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/fonts/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/fonts/SAX2B.ttf +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/fonts/SAX2B.woff2 +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/fonts.css +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/attractor.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/boids.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/dragon.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/flow.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/mandelbrot.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/mandelbrot32.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/orbits.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/phyllotaxis.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/prefs.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery/reaction.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/gallery.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/getting-started.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/_metadata.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/add.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/after.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/agenda.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/alpha-underbar.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/alpha.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/and.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/assign.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/atop.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/axis.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/backslash-bar.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/backslash.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/before.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/braces.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/brackets.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/bullet.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/circle.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/colon.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/comma.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/comment.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/commute.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/dash.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/decode.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/del-diaeresis.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/del.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/derivative.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/diamond.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/div.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/drop.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/each.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/enclose.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/encode.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/equal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/error-guard.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/execute.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/factor.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/factorial.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/find.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/format.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/grade-down.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/grade-up.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/greater-or-equal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/greater.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/hash.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/infinity.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/intersection.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/inverse-pair.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/inverted-question.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/iota.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/key.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/left.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/less-or-equal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/less.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/log.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/match.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/member.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/mix.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/mul.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/nand.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/nest.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/nor.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/not-equal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/omega-underbar.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/omega.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/or.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/outer-product.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/over.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/overbar.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/parentheses.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/pi.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/polynomial.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/power.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/prime.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/quad.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/question.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/quote.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/range.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/rank.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/reverse-first.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/reverse.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/rho.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/right.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/root.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/slash-bar.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/slash.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/squad.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/star.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/stencil.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/stile.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/table.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/take.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/tally.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/tilde.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/transpose.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/under.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/union.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/valences.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/where.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/windows.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs/zilde.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/glyphs.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/index.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/introspection.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/keyboard.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/keyed.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/magics.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/modules.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/nbdev.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/notebooks.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/overview.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/papers/aplwiki-arrays.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/papers/brickman-depth-1-scalars.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/papers/mercer-based-system.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground/bpl.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground/gallery.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground/monaco-worker.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground/page.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground/worker.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/playground.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/plot.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/principles.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/processes.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/puppy.jpg +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/python.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/regex.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/repl.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/scripts.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/sidebar.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/strings.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/styles.css +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/syntax.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/_metadata.yml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/c.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/canvas.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/copy.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/csv.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/date.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/deflate.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/delay.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/distribution.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/element.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/ex.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/fetch.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/float.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/hash.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/host.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/image.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/js.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/json.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/literal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/load.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/metadata.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/mime.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/mkdir.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/nc.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/nget.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/nl.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/normalize.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/nput.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/path.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/plot.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/prefs.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/r.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/rand.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/readdir.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/remove.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/rename.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/signal.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/src.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/storage.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/svg.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/time.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/ucs.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/uuid.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/vfi.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system/xml.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/system-functions.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/terms.qmd +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/web.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/nbs/xml.ipynb +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/aplcart.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/april.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/bqn.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/core.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/dyalog.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/provenance/ngn.jsonl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/py/Cargo.toml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/py/build.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/py/src/lib.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/pyproject.toml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/__init__.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/_modidx.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/bpl.tmLanguage.json +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/dyalog.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/editors.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/font.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/fonts.css +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/functions.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/input.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/ipython.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/keyboards.json +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/keyboards.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/layout.json +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/lb.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/notebook_runner.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/notebooks.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/printing.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/reference.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/syntax.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/python/basedpl/windows_keyboard.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/rustfmt.toml +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/scripts/install-macos.sh +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/scripts/prep.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/agreement.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/array/text.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/array.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/canvas.js +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/canvas.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/csv.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/data.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/date.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/display.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/distribution.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/element.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/error.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/eval/dissect.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/execution.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/files.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/image.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/inspection.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/js.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/json.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/keyed.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/number_theory.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/plot.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/polynomial.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/primitive/indexing.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/protocol.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/regex.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/selection.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/symbols.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/system.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/src/xml.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/conftest.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/core.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/highlighting.mjs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/input.mjs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-aplcart +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-april +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-bqn +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-bqncrate +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-dyalog +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/LICENSE-ngn +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/README.md +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/aplcart.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/april.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/bqn.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/distributions.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/dyalog.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/graphics.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/lib.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/regex.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/support/april.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/support/avl.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/support/redblack.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/support/sbst.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference/support/splay.bpl +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/reference.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/scaling.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_api.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_basic.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_glyphs.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_graphics.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_ipython.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_kernel.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_keylayout.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_notebooks.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_reference.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_repl.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_windows_keyboard.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/test_worker.py +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/units.rs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/wasm-pkg.mjs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/wasm.mjs +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/tests/windows_keyboard.c +0 -0
- {basedpl-0.1.40 → basedpl-0.1.43}/wheel/data/share/jupyter/kernels/bpl/kernel.json +0 -0
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
# rustc runs LLVM's straight-line (SLP) vectorizer only at opt-level 3. `passes=slp-vectorizer` adds it to our opt-level 2 builds.
|
|
2
|
+
# A target's own `rustflags` replace these. The x86-64 and wasm entries repeat the pass.
|
|
3
|
+
[build]
|
|
4
|
+
rustflags = ["-C", "passes=slp-vectorizer"]
|
|
5
|
+
|
|
1
6
|
# x86-64 builds need a CPU with AVX2 (x86-64-v3). The kernels rely on its rounding and wider vector instructions.
|
|
2
7
|
[target.'cfg(target_arch = "x86_64")']
|
|
3
|
-
rustflags = ["-C", "target-cpu=x86-64-v3"]
|
|
8
|
+
rustflags = ["-C", "target-cpu=x86-64-v3", "-C", "passes=slp-vectorizer"]
|
|
4
9
|
|
|
5
10
|
# The browser build uses wasm's 128-bit SIMD, which current browsers all support.
|
|
6
11
|
[target.wasm32-unknown-unknown]
|
|
7
|
-
rustflags = ["-C", "target-feature=+simd128"]
|
|
12
|
+
rustflags = ["-C", "target-feature=+simd128", "-C", "passes=slp-vectorizer"]
|
|
8
13
|
|
|
9
14
|
[alias]
|
|
10
15
|
# Builds the npm package into `wasm/pkg/`. `xtask` builds optimised, because its wasm-bindgen pass runs on every call.
|
|
@@ -1,51 +1,14 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: [main]
|
|
6
5
|
tags: ['v*']
|
|
7
|
-
pull_request:
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v7
|
|
14
|
-
- run: node tests/input.mjs
|
|
15
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
16
|
-
# The repository has no `Cargo.lock`. Creating one first makes rust-cache's key change when a dependency publishes a new version.
|
|
17
|
-
- run: cargo generate-lockfile
|
|
18
|
-
- uses: Swatinem/rust-cache@v2
|
|
19
|
-
- run: cargo test
|
|
20
|
-
- uses: actions/setup-python@v7
|
|
21
|
-
with:
|
|
22
|
-
python-version: '3.12'
|
|
23
|
-
- run: pip install -e '.[dev]'
|
|
24
|
-
- run: cargo develop
|
|
25
|
-
- run: pytest
|
|
26
|
-
- run: bpl-nb
|
|
27
|
-
- run: nbdev-test
|
|
28
|
-
|
|
29
|
-
wasm:
|
|
30
|
-
runs-on: ubuntu-latest
|
|
31
|
-
steps:
|
|
32
|
-
- uses: actions/checkout@v7
|
|
33
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
34
|
-
with:
|
|
35
|
-
targets: wasm32-unknown-unknown
|
|
36
|
-
- run: cargo generate-lockfile
|
|
37
|
-
- uses: Swatinem/rust-cache@v2
|
|
38
|
-
- run: cargo wasm --strip
|
|
39
|
-
- run: node --test tests/wasm.mjs
|
|
40
|
-
- run: node --no-liftoff --test tests/wasm-speed.mjs
|
|
41
|
-
# The `npm` job publishes this package on a `v*` tag.
|
|
42
|
-
- uses: actions/upload-artifact@v7
|
|
43
|
-
with:
|
|
44
|
-
name: wasm-pkg
|
|
45
|
-
path: wasm/pkg
|
|
7
|
+
permissions:
|
|
8
|
+
contents: read
|
|
46
9
|
|
|
10
|
+
jobs:
|
|
47
11
|
build:
|
|
48
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
49
12
|
strategy:
|
|
50
13
|
matrix:
|
|
51
14
|
include:
|
|
@@ -81,7 +44,6 @@ jobs:
|
|
|
81
44
|
path: bin
|
|
82
45
|
|
|
83
46
|
windows-keyboard:
|
|
84
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
85
47
|
runs-on: windows-2025
|
|
86
48
|
steps:
|
|
87
49
|
- uses: actions/checkout@v7
|
|
@@ -94,7 +56,6 @@ jobs:
|
|
|
94
56
|
path: dist/basedpl-keyboard-us-windows.zip
|
|
95
57
|
|
|
96
58
|
sdist:
|
|
97
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
98
59
|
runs-on: ubuntu-latest
|
|
99
60
|
steps:
|
|
100
61
|
- uses: actions/checkout@v7
|
|
@@ -108,8 +69,7 @@ jobs:
|
|
|
108
69
|
path: dist
|
|
109
70
|
|
|
110
71
|
publish:
|
|
111
|
-
|
|
112
|
-
needs: [test, build, sdist, windows-keyboard]
|
|
72
|
+
needs: [build, sdist, windows-keyboard]
|
|
113
73
|
runs-on: ubuntu-latest
|
|
114
74
|
permissions:
|
|
115
75
|
id-token: write
|
|
@@ -133,21 +93,19 @@ jobs:
|
|
|
133
93
|
bin/*
|
|
134
94
|
generate_release_notes: true
|
|
135
95
|
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
136
|
-
with:
|
|
137
|
-
packages-dir: dist/
|
|
138
96
|
|
|
139
97
|
npm:
|
|
140
|
-
if: startsWith(github.ref, 'refs/tags/v')
|
|
141
|
-
needs: [test, wasm]
|
|
142
98
|
runs-on: ubuntu-latest
|
|
143
99
|
# npm accepts this job's upload through trusted publishing. The `basedpl` package's settings on npmjs.com name this workflow as its trusted publisher.
|
|
144
100
|
permissions:
|
|
101
|
+
contents: read
|
|
145
102
|
id-token: write
|
|
146
103
|
steps:
|
|
147
|
-
- uses: actions/
|
|
104
|
+
- uses: actions/checkout@v7
|
|
105
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
148
106
|
with:
|
|
149
|
-
|
|
150
|
-
|
|
107
|
+
targets: wasm32-unknown-unknown
|
|
108
|
+
- run: cargo wasm --strip
|
|
151
109
|
- uses: actions/setup-node@v7
|
|
152
110
|
with:
|
|
153
111
|
node-version: lts/*
|
|
@@ -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 the `Test` workflow'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
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubicloud-standard-4
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v7
|
|
16
|
+
- run: node tests/input.mjs
|
|
17
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
18
|
+
# The repository has no `Cargo.lock`. Creating one first makes rust-cache's key change when a dependency publishes a new version.
|
|
19
|
+
- run: cargo generate-lockfile
|
|
20
|
+
# The `Speed` workflow restores this cache and the `wasm` job's, by their `shared-key`.
|
|
21
|
+
- uses: Swatinem/rust-cache@v2
|
|
22
|
+
with:
|
|
23
|
+
shared-key: native
|
|
24
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
25
|
+
- run: cargo test
|
|
26
|
+
- uses: actions/setup-python@v7
|
|
27
|
+
with:
|
|
28
|
+
python-version: '3.12'
|
|
29
|
+
- run: pip install -e '.[dev]'
|
|
30
|
+
- run: cargo develop
|
|
31
|
+
- run: pytest
|
|
32
|
+
- run: bpl-nb
|
|
33
|
+
- run: nbdev-test
|
|
34
|
+
|
|
35
|
+
wasm:
|
|
36
|
+
runs-on: ubicloud-standard-4
|
|
37
|
+
steps:
|
|
38
|
+
- uses: actions/checkout@v7
|
|
39
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
40
|
+
with:
|
|
41
|
+
targets: wasm32-unknown-unknown
|
|
42
|
+
- run: cargo generate-lockfile
|
|
43
|
+
- uses: Swatinem/rust-cache@v2
|
|
44
|
+
with:
|
|
45
|
+
shared-key: wasm
|
|
46
|
+
- run: cargo wasm --strip
|
|
47
|
+
- run: node --test tests/wasm.mjs
|
|
48
|
+
- run: grep -m1 'model name' /proc/cpuinfo
|
|
49
|
+
- run: node --no-liftoff --test tests/wasm-speed.mjs
|