basedpl 0.1.48 → 0.1.50

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 CHANGED
@@ -10,8 +10,7 @@ export class Session {
10
10
  wasm.__wbg_session_free(ptr, 0);
11
11
  }
12
12
  /**
13
- * Binds each property of `names` as a BPL name, to the BPL value that `basedpl::js` converts it to. A JavaScript function becomes a
14
- * BPL function that calls it. Throws when a property's name isn't a BPL name, or its value has no BPL form.
13
+ * Binds each property of `names` as a BPL name, to the BPL value that `basedpl::js` converts it to. A JavaScript function becomes a BPL function that calls it. Throws when a property's name isn't a BPL name, or its value has no BPL form.
15
14
  * @param {any} names
16
15
  */
17
16
  bind(names) {
@@ -21,8 +20,7 @@ export class Session {
21
20
  }
22
21
  }
23
22
  /**
24
- * The value of `code` as a JavaScript value, which `basedpl::js` describes, or `undefined` when the code gives no value. A BPL error
25
- * throws its error object. The code's outputs are dropped, and `run` shows them.
23
+ * The value of `code` as a JavaScript value, which `basedpl::js` describes, or `undefined` when the code gives no value. A BPL error throws its error object. The code's outputs are dropped, and `run` shows them.
26
24
  * @param {string} code
27
25
  * @returns {any}
28
26
  */
@@ -42,8 +40,7 @@ export class Session {
42
40
  return this;
43
41
  }
44
42
  /**
45
- * Runs `code`, passing each output to `output` as the program produces it, including any result it displays. Returns the error as
46
- * an object, or `null`.
43
+ * Runs `code`, passing each output to `output` as the program produces it, including any result it displays. Returns the error as an object, or `null`.
47
44
  * @param {string} code
48
45
  * @param {Function} output
49
46
  * @returns {any}
@@ -69,8 +66,7 @@ export function configure(base, panic) {
69
66
  }
70
67
 
71
68
  /**
72
- * Every case in `speed`, text in `speed.txt`'s format, with its cost, as `basedpl::timing::costs` times it: an array of
73
- * `{section, code, budgets, cost}`. With `cases`, an array of codes, only those cases run. Throws when the setup or a case fails.
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.
74
70
  * @param {string} speed
75
71
  * @param {string[] | null} [cases]
76
72
  * @returns {any}
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basedpl",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
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": {