numbl 0.4.16 → 0.4.17
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/README.md +1 -1
- package/dist-browser/browser.js +1 -1
- package/dist-browser/numbl-core/interpreter/builtins/dictionary.d.ts +1 -1
- package/dist-browser/numbl-core/interpreter/builtins/hash.d.ts +6 -0
- package/dist-browser/numbl-core/interpreter/builtins/index.d.ts +1 -0
- package/dist-browser/numbl-core/runtime/runtime.d.ts +1 -1
- package/dist-browser/numbl-core/runtime/runtimeMemberAccess.d.ts +1 -1
- package/dist-browser/numbl-core/version.d.ts +1 -1
- package/dist-cli/cli.js +572 -30
- package/dist-lib/lib.js +571 -29
- package/dist-lib/numbl-core/interpreter/builtins/dictionary.d.ts +1 -1
- package/dist-lib/numbl-core/interpreter/builtins/hash.d.ts +6 -0
- package/dist-lib/numbl-core/interpreter/builtins/index.d.ts +1 -0
- package/dist-lib/numbl-core/runtime/runtime.d.ts +1 -1
- package/dist-lib/numbl-core/runtime/runtimeMemberAccess.d.ts +1 -1
- package/dist-lib/numbl-core/version.d.ts +1 -1
- package/dist-site-viewer/assets/{index-ChbDz1FG.js → index-0mP47Rpm.js} +318 -318
- package/dist-site-viewer/assets/{numbl-worker-DFeAt1Cu.js → numbl-worker-DjOZZaW4.js} +165 -102
- package/dist-site-viewer/index.html +1 -1
- package/package.json +1 -1
|
@@ -12,4 +12,4 @@ export declare function dictInsert(d: RuntimeDictionary, keysArg: RuntimeValue,
|
|
|
12
12
|
/** Remove keys from a dictionary, returning a new dictionary. */
|
|
13
13
|
export declare function dictRemove(d: RuntimeDictionary, keysArg: RuntimeValue): RuntimeDictionary;
|
|
14
14
|
/** Lookup values by keys. Returns single value or tensor/cell array. */
|
|
15
|
-
export declare function dictLookup(d: RuntimeDictionary, keysArg: RuntimeValue): RuntimeValue;
|
|
15
|
+
export declare function dictLookup(d: RuntimeDictionary, keysArg: RuntimeValue, fallbackValue?: RuntimeValue): RuntimeValue;
|
|
@@ -33,6 +33,7 @@ import "./special-math.js";
|
|
|
33
33
|
import "./geometry.js";
|
|
34
34
|
import "./misc.js";
|
|
35
35
|
import "./dictionary.js";
|
|
36
|
+
import "./hash.js";
|
|
36
37
|
import "./help-text.js";
|
|
37
38
|
export { getIBuiltin, getIBuiltinHelp, getIBuiltinNargin, getAllIBuiltinNames, registerBuiltinHelp, inferJitType, } from "./types.js";
|
|
38
39
|
export type { IBuiltin, IBuiltinResolution, BuiltinHelp } from "./types.js";
|
|
@@ -322,7 +322,7 @@ export declare class Runtime {
|
|
|
322
322
|
isClassInstance(value: unknown, className: string): boolean;
|
|
323
323
|
indexCellStore(base: unknown, indices: unknown[], rhs: unknown): unknown;
|
|
324
324
|
multiOutputCellAssign(base: unknown, indices: unknown, results: unknown[]): unknown;
|
|
325
|
-
getMember(base: unknown, name: string): unknown;
|
|
325
|
+
getMember(base: unknown, name: string, nargout?: number): unknown;
|
|
326
326
|
getMemberDynamic(base: unknown, nameExpr: unknown): RuntimeValue;
|
|
327
327
|
getMemberOrEmpty(base: unknown, name: string): RuntimeValue;
|
|
328
328
|
setMember(_base: unknown, _name: string, _rhs: unknown): void;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { type RuntimeValue } from "../runtime/index.js";
|
|
5
5
|
import type { Runtime } from "./runtime.js";
|
|
6
|
-
export declare function getMember(rt: Runtime, base: unknown, name: string): unknown;
|
|
6
|
+
export declare function getMember(rt: Runtime, base: unknown, name: string, nargout?: number): unknown;
|
|
7
7
|
export declare function getMemberDynamic(rt: Runtime, base: unknown, nameExpr: unknown): RuntimeValue;
|
|
8
8
|
export declare function getMemberOrEmpty(base: unknown, name: string): RuntimeValue;
|
|
9
9
|
export declare function setMemberReturn(rt: Runtime, base: unknown, name: string, rhs: unknown): unknown;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Numbl version, used for JIT disk cache invalidation. */
|
|
2
|
-
export declare const NUMBL_VERSION = "0.4.
|
|
2
|
+
export declare const NUMBL_VERSION = "0.4.17";
|