basedpl 0.1.64 → 0.1.66
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.
- package/basedpl_wasm.js +4 -1
- package/basedpl_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/basedpl_wasm.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A turn at the page's one BPL session. Each `new Session()` clears it, as a new session starts.
|
|
3
|
+
*/
|
|
1
4
|
export class Session {
|
|
2
5
|
__destroy_into_raw() {
|
|
3
6
|
const ptr = this.__wbg_ptr;
|
|
@@ -66,7 +69,7 @@ export function configure(base, panic) {
|
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
/**
|
|
69
|
-
* Every case in `speed`, text in `speed.txt`'s format, with its cost, as `basedpl::timing::costs` times it: an array of `{section, code, budgets, cost}`. With `cases`, an array of codes, only those cases run. Throws when the setup or a case fails.
|
|
72
|
+
* Every case in `speed`, text in `speed.txt`'s format, with its cost, as `basedpl::timing::costs` times it: an array of `{section, code, line, copy, budgets, cost}`, where `line` is the case's log line with its wasm budget and `copy` is the copy line of the copy its cost counts, absent in `[widths]`. With `cases`, an array of codes, only those cases run. Throws when the setup or a case fails.
|
|
70
73
|
* @param {string} speed
|
|
71
74
|
* @param {string[] | null} [cases]
|
|
72
75
|
* @returns {any}
|
package/basedpl_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basedpl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.66",
|
|
4
4
|
"description": "BasedPL, the Based-array Programming Language, is an APL-derived array language, borrowing ideas from J and BQN, with an emphasis on simple, consistent notation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|