@mirascript/mirascript 0.1.3 → 0.1.5

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.
Files changed (86) hide show
  1. package/dist/{chunk-3RUWGMBP.js → chunk-JB6LPPFJ.js} +190 -24
  2. package/dist/chunk-JB6LPPFJ.js.map +6 -0
  3. package/dist/{chunk-MVHCSH3E.js → chunk-OU3K5EYB.js} +61 -131
  4. package/dist/chunk-OU3K5EYB.js.map +6 -0
  5. package/dist/cli/execute.d.ts +1 -1
  6. package/dist/cli/execute.d.ts.map +1 -1
  7. package/dist/cli/index.js +58 -28
  8. package/dist/cli/index.js.map +2 -2
  9. package/dist/cli/print.d.ts.map +1 -1
  10. package/dist/compiler/diagnostic.d.ts +3 -1
  11. package/dist/compiler/diagnostic.d.ts.map +1 -1
  12. package/dist/compiler/emit.d.ts +2 -1
  13. package/dist/compiler/emit.d.ts.map +1 -1
  14. package/dist/compiler/index.d.ts.map +1 -1
  15. package/dist/compiler/worker.d.ts.map +1 -1
  16. package/dist/compiler/worker.js +6 -3
  17. package/dist/compiler/worker.js.map +1 -1
  18. package/dist/helpers/serialize.d.ts +10 -2
  19. package/dist/helpers/serialize.d.ts.map +1 -1
  20. package/dist/index.js +2 -2
  21. package/dist/subtle.d.ts +1 -1
  22. package/dist/subtle.d.ts.map +1 -1
  23. package/dist/subtle.js +17 -7
  24. package/dist/vm/lib/_helpers.d.ts +1 -1
  25. package/dist/vm/lib/_helpers.d.ts.map +1 -1
  26. package/dist/vm/lib/global/bit.d.ts +7 -8
  27. package/dist/vm/lib/global/bit.d.ts.map +1 -1
  28. package/dist/vm/lib/global/debug.d.ts +6 -3
  29. package/dist/vm/lib/global/debug.d.ts.map +1 -1
  30. package/dist/vm/lib/global/json.d.ts +2 -3
  31. package/dist/vm/lib/global/json.d.ts.map +1 -1
  32. package/dist/vm/lib/global/math-additional.d.ts +1 -2
  33. package/dist/vm/lib/global/math-additional.d.ts.map +1 -1
  34. package/dist/vm/lib/global/math-arr.d.ts +5 -6
  35. package/dist/vm/lib/global/math-arr.d.ts.map +1 -1
  36. package/dist/vm/lib/global/math-unary.d.ts +26 -27
  37. package/dist/vm/lib/global/math-unary.d.ts.map +1 -1
  38. package/dist/vm/lib/global/math.d.ts +3 -4
  39. package/dist/vm/lib/global/math.d.ts.map +1 -1
  40. package/dist/vm/lib/global/mod/matrix.d.ts +13 -14
  41. package/dist/vm/lib/global/mod/matrix.d.ts.map +1 -1
  42. package/dist/vm/lib/global/sequence/all-any.d.ts +2 -3
  43. package/dist/vm/lib/global/sequence/all-any.d.ts.map +1 -1
  44. package/dist/vm/lib/global/sequence/entries.d.ts +4 -5
  45. package/dist/vm/lib/global/sequence/entries.d.ts.map +1 -1
  46. package/dist/vm/lib/global/sequence/find.d.ts +2 -3
  47. package/dist/vm/lib/global/sequence/find.d.ts.map +1 -1
  48. package/dist/vm/lib/global/sequence/flatten.d.ts +1 -2
  49. package/dist/vm/lib/global/sequence/flatten.d.ts.map +1 -1
  50. package/dist/vm/lib/global/sequence/len.d.ts +1 -2
  51. package/dist/vm/lib/global/sequence/len.d.ts.map +1 -1
  52. package/dist/vm/lib/global/sequence/map-filter.d.ts +3 -4
  53. package/dist/vm/lib/global/sequence/map-filter.d.ts.map +1 -1
  54. package/dist/vm/lib/global/sequence/repeat.d.ts +1 -2
  55. package/dist/vm/lib/global/sequence/repeat.d.ts.map +1 -1
  56. package/dist/vm/lib/global/sequence/reverse.d.ts +1 -2
  57. package/dist/vm/lib/global/sequence/reverse.d.ts.map +1 -1
  58. package/dist/vm/lib/global/sequence/sort.d.ts +2 -3
  59. package/dist/vm/lib/global/sequence/sort.d.ts.map +1 -1
  60. package/dist/vm/lib/global/sequence/with.d.ts +1 -2
  61. package/dist/vm/lib/global/sequence/with.d.ts.map +1 -1
  62. package/dist/vm/lib/global/sequence/zip.d.ts +1 -2
  63. package/dist/vm/lib/global/sequence/zip.d.ts.map +1 -1
  64. package/dist/vm/lib/global/string.d.ts +10 -11
  65. package/dist/vm/lib/global/string.d.ts.map +1 -1
  66. package/dist/vm/lib/global/time.d.ts +4 -5
  67. package/dist/vm/lib/global/time.d.ts.map +1 -1
  68. package/dist/vm/lib/global/to-primitive.d.ts +4 -5
  69. package/dist/vm/lib/global/to-primitive.d.ts.map +1 -1
  70. package/dist/vm/types/wrapper.d.ts.map +1 -1
  71. package/package.json +7 -5
  72. package/src/cli/execute.ts +15 -7
  73. package/src/cli/index.ts +22 -5
  74. package/src/cli/print.ts +43 -27
  75. package/src/compiler/diagnostic.ts +19 -3
  76. package/src/compiler/emit.ts +45 -19
  77. package/src/compiler/index.ts +10 -2
  78. package/src/compiler/worker.ts +5 -1
  79. package/src/helpers/serialize.ts +6 -6
  80. package/src/subtle.ts +11 -1
  81. package/src/vm/lib/_helpers.ts +8 -3
  82. package/src/vm/lib/global/debug.ts +24 -3
  83. package/src/vm/lib/global/math-arr.ts +1 -1
  84. package/src/vm/types/wrapper.ts +3 -1
  85. package/dist/chunk-3RUWGMBP.js.map +0 -6
  86. package/dist/chunk-MVHCSH3E.js.map +0 -6
package/dist/subtle.js CHANGED
@@ -1,22 +1,27 @@
1
1
  import {
2
2
  DefaultVmContext,
3
- DiagnosticCode,
4
3
  VmSharedContext,
5
4
  constants_exports,
6
5
  emitScript,
7
- formatDiagnostic,
8
- getDiagnosticMessage,
9
6
  lib,
10
7
  operations_exports,
11
- parseDiagnostics,
12
8
  serialize,
9
+ serializeArray,
10
+ serializeBoolean,
11
+ serializeNil,
12
+ serializeNumber,
13
13
  serializePropName,
14
+ serializeRecord,
14
15
  serializeString
15
- } from "./chunk-MVHCSH3E.js";
16
+ } from "./chunk-OU3K5EYB.js";
16
17
  import {
18
+ DiagnosticCode,
19
+ formatDiagnostic,
17
20
  generateBytecode,
18
- generateBytecodeSync
19
- } from "./chunk-3RUWGMBP.js";
21
+ generateBytecodeSync,
22
+ getDiagnosticMessage,
23
+ parseDiagnostics
24
+ } from "./chunk-JB6LPPFJ.js";
20
25
  export {
21
26
  DefaultVmContext,
22
27
  DiagnosticCode,
@@ -31,7 +36,12 @@ export {
31
36
  operations_exports as operations,
32
37
  parseDiagnostics,
33
38
  serialize,
39
+ serializeArray,
40
+ serializeBoolean,
41
+ serializeNil,
42
+ serializeNumber,
34
43
  serializePropName,
44
+ serializeRecord,
35
45
  serializeString
36
46
  };
37
47
  //# sourceMappingURL=subtle.js.map
@@ -31,5 +31,5 @@ export type VmLibOption = Pick<VmFunctionOption, 'summary' | 'params' | 'paramsT
31
31
  /** 库函数 */
32
32
  export type VmLib<T extends VmFunctionLike = VmFunctionLike> = T & VmLibOption;
33
33
  /** 创建库函数 */
34
- export declare function VmLib<T extends VmFunctionLike>(fn: T, option: VmLibOption): VmLib<T>;
34
+ export declare function VmLib<T extends VmFunctionLike, P extends Record<string, unknown>>(fn: T, option: VmLibOption, properties?: P): VmLib<T> & P;
35
35
  //# sourceMappingURL=_helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_helpers.d.ts","sourceRoot":"","sources":["../../../src/vm/lib/_helpers.ts"],"names":[],"mappings":"AAGA,OAAO,EAGH,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EAEZ,KAAK,QAAQ,EACb,KAAK,QAAQ,EAEb,KAAK,OAAO,EAIf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAI7E,WAAW;AACX,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,KAAK,CAGnF;AAED,gBAAgB;AAChB,wBAAgB,wBAAwB,CACpC,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,KAAK,GAAG,CAAC,MAAM,KAAK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AM,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,IAAI,EAAE,OAAO,KAAK,OAAO,GAAG,SAAS,GAC9F,OAAO,CAwBT;AAED,YAAY;AACZ,MAAM,MAAM,WAAW,GAAG,IAAI,CAC1B,gBAAgB,EAChB,SAAS,GAAG,QAAQ,GAAG,YAAY,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAC/E,CAAC;AACF,UAAU;AACV,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IAAI,CAAC,GAAG,WAAW,CAAC;AAE/E,YAAY;AACZ,wBAAgB,KAAK,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7E,EAAE,EAAE,CAAC,EACL,MAAM,EAAE,WAAW,EACnB,UAAU,CAAC,EAAE,CAAC,GACf,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAcd"}
@@ -1,9 +1,8 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const b_and: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
3
- export declare const b_or: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
4
- export declare const b_not: VmLib<(x: import("../../index.js").VmValue | undefined) => number>;
5
- export declare const b_xor: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
6
- export declare const shl: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
7
- export declare const sar: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
8
- export declare const shr: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
1
+ export declare const b_and: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const b_or: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const b_not: ((x: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const b_xor: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
5
+ export declare const shl: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const sar: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
7
+ export declare const shr: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
9
8
  //# sourceMappingURL=bit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bit.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/bit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,eAAO,MAAM,KAAK,qHAWjB,CAAC;AAEF,eAAO,MAAM,IAAI,qHAWhB,CAAC;AAEF,eAAO,MAAM,KAAK,oEAWjB,CAAC;AAEF,eAAO,MAAM,KAAK,qHAWjB,CAAC;AAEF,eAAO,MAAM,GAAG,qHAWf,CAAC;AAEF,eAAO,MAAM,GAAG,qHAWf,CAAC;AAEF,eAAO,MAAM,GAAG,qHAWf,CAAC"}
1
+ {"version":3,"file":"bit.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/bit.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,iLAWjB,CAAC;AAEF,eAAO,MAAM,IAAI,iLAWhB,CAAC;AAEF,eAAO,MAAM,KAAK,gIAWjB,CAAC;AAEF,eAAO,MAAM,KAAK,iLAWjB,CAAC;AAEF,eAAO,MAAM,GAAG,iLAWf,CAAC;AAEF,eAAO,MAAM,GAAG,iLAWf,CAAC;AAEF,eAAO,MAAM,GAAG,iLAWf,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import type { VmAny } from '../../types/index.js';
2
- import { VmLib } from '../_helpers.js';
3
- export declare const debug_print: VmLib<(...args: readonly (import("../../types/index.js").VmValue | undefined)[]) => void>;
4
- export declare const panic: VmLib<(message: VmAny) => never>;
2
+ export declare const debug_print: ((...args: readonly (import("../../types/index.js").VmValue | undefined)[]) => void) & import("../_helpers.js").VmLibOption & {
3
+ prefix: readonly string[];
4
+ };
5
+ export declare const panic: ((message: VmAny) => never) & import("../_helpers.js").VmLibOption & {
6
+ prefix: readonly string[];
7
+ };
5
8
  //# sourceMappingURL=debug.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/debug.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,eAAO,MAAM,WAAW,2FAYvB,CAAC;AAEF,eAAO,MAAM,KAAK,kBACJ,KAAK,WAelB,CAAC"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/debug.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGlD,eAAO,MAAM,WAAW;YAaU,SAAS,MAAM,EAAE;CAElD,CAAC;AAEF,eAAO,MAAM,KAAK,aACJ,KAAK;YAgBe,SAAS,MAAM,EAAE;CAElD,CAAC"}
@@ -1,4 +1,3 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const to_json: VmLib<(data: import("../../types/index.js").VmValue | undefined) => string | null>;
3
- export declare const from_json: VmLib<(json: import("../../types/index.js").VmValue | undefined, fallback: import("../../types/index.js").VmValue | undefined) => string | number | boolean | import("../../types/index.js").VmRecord | import("../../types/index.js").VmArray | import("../../types/function.js").VmFunction | import("../../types/module.js").VmModule<Record<string, import("../../types/index.js").VmValue>> | import("../../types/extern.js").VmExtern<object> | null>;
1
+ export declare const to_json: ((data: import("../../types/index.js").VmValue | undefined) => string | null) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const from_json: ((json: import("../../types/index.js").VmValue | undefined, fallback: import("../../types/index.js").VmValue | undefined) => string | number | boolean | import("../../types/index.js").VmRecord | import("../../types/index.js").VmArray | import("../../types/function.js").VmFunction | import("../../types/module.js").VmModule<Record<string, import("../../types/index.js").VmValue>> | import("../../types/extern.js").VmExtern<object> | null) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
3
  //# sourceMappingURL=json.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/json.ts"],"names":[],"mappings":"AACA,OAAO,EAA0B,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAG/D,eAAO,MAAM,OAAO,oFAoBnB,CAAC;AAEF,eAAO,MAAM,SAAS,6bAkBrB,CAAC"}
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/json.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,gJAoBnB,CAAC;AAEF,eAAO,MAAM,SAAS,yfAkBrB,CAAC"}
@@ -1,3 +1,2 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const factorial: VmLib<(x: import("../../index.js").VmValue | undefined) => number>;
1
+ export declare const factorial: ((x: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
2
  //# sourceMappingURL=math-additional.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"math-additional.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math-additional.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAejD,eAAO,MAAM,SAAS,6DACb,MAAM,CAmDd,CAAC"}
1
+ {"version":3,"file":"math-additional.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math-additional.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,SAAS,wDACb,MAAM,kEAmDd,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import type { VmAny } from '../../types/index.js';
2
- import { VmLib } from '../_helpers.js';
3
- export declare const max: VmLib<(...values: readonly VmAny[]) => number>;
4
- export declare const min: VmLib<(...values: readonly VmAny[]) => number>;
5
- export declare const hypot: VmLib<(...values: readonly VmAny[]) => number>;
6
- export declare const sum: VmLib<(...values: readonly VmAny[]) => number>;
7
- export declare const product: VmLib<(...values: readonly VmAny[]) => number>;
2
+ export declare const max: ((...values: readonly VmAny[]) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const min: ((...values: readonly VmAny[]) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const hypot: ((...values: readonly VmAny[]) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
5
+ export declare const sum: ((...values: readonly VmAny[]) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const product: ((...values: readonly VmAny[]) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
8
7
  //# sourceMappingURL=math-arr.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"math-arr.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math-arr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAc,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAUnD,eAAO,MAAM,GAAG,oBAPyD,SAAS,KAAK,EAAE,KAAK,MAAM,CAalG,CAAC;AAEH,eAAO,MAAM,GAAG,oBAfyD,SAAS,KAAK,EAAE,KAAK,MAAM,CAqBlG,CAAC;AAEH,eAAO,MAAM,KAAK,oBAvBuD,SAAS,KAAK,EAAE,KAAK,MAAM,CA6BlG,CAAC;AAEH,eAAO,MAAM,GAAG,oBACA,SAAS,KAAK,EAAE,YAW/B,CAAC;AAEF,eAAO,MAAM,OAAO,oBACJ,SAAS,KAAK,EAAE,YAW/B,CAAC"}
1
+ {"version":3,"file":"math-arr.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math-arr.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAWlD,eAAO,MAAM,GAAG,eAPyD,SAAS,KAAK,EAAE,KAAK,MAAM,kEAalG,CAAC;AAEH,eAAO,MAAM,GAAG,eAfyD,SAAS,KAAK,EAAE,KAAK,MAAM,kEAqBlG,CAAC;AAEH,eAAO,MAAM,KAAK,eAvBuD,SAAS,KAAK,EAAE,KAAK,MAAM,kEA6BlG,CAAC;AAEH,eAAO,MAAM,GAAG,eACA,SAAS,KAAK,EAAE,6EAW/B,CAAC;AAEF,eAAO,MAAM,OAAO,eACJ,SAAS,KAAK,EAAE,6EAW/B,CAAC"}
@@ -1,29 +1,28 @@
1
1
  import type { VmAny } from '../../index.js';
2
- import { VmLib } from '../_helpers.js';
3
- export declare const trunc: VmLib<(x: VmAny) => number>;
4
- export declare const floor: VmLib<(x: VmAny) => number>;
5
- export declare const ceil: VmLib<(x: VmAny) => number>;
6
- export declare const round: VmLib<(x: VmAny) => number>;
7
- export declare const sign: VmLib<(x: VmAny) => number>;
8
- export declare const abs: VmLib<(x: VmAny) => number>;
9
- export declare const acos: VmLib<(x: VmAny) => number>;
10
- export declare const acosh: VmLib<(x: VmAny) => number>;
11
- export declare const asin: VmLib<(x: VmAny) => number>;
12
- export declare const asinh: VmLib<(x: VmAny) => number>;
13
- export declare const atan: VmLib<(x: VmAny) => number>;
14
- export declare const atanh: VmLib<(x: VmAny) => number>;
15
- export declare const cos: VmLib<(x: VmAny) => number>;
16
- export declare const cosh: VmLib<(x: VmAny) => number>;
17
- export declare const sin: VmLib<(x: VmAny) => number>;
18
- export declare const sinh: VmLib<(x: VmAny) => number>;
19
- export declare const tan: VmLib<(x: VmAny) => number>;
20
- export declare const tanh: VmLib<(x: VmAny) => number>;
21
- export declare const exp: VmLib<(x: VmAny) => number>;
22
- export declare const expm1: VmLib<(x: VmAny) => number>;
23
- export declare const log: VmLib<(x: VmAny) => number>;
24
- export declare const log10: VmLib<(x: VmAny) => number>;
25
- export declare const log1p: VmLib<(x: VmAny) => number>;
26
- export declare const log2: VmLib<(x: VmAny) => number>;
27
- export declare const sqrt: VmLib<(x: VmAny) => number>;
28
- export declare const cbrt: VmLib<(x: VmAny) => number>;
2
+ export declare const trunc: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const floor: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const ceil: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
5
+ export declare const round: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const sign: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
7
+ export declare const abs: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
8
+ export declare const acos: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
9
+ export declare const acosh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
10
+ export declare const asin: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
11
+ export declare const asinh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
12
+ export declare const atan: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
13
+ export declare const atanh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
14
+ export declare const cos: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
15
+ export declare const cosh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
16
+ export declare const sin: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
17
+ export declare const sinh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
18
+ export declare const tan: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
19
+ export declare const tanh: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
20
+ export declare const exp: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
21
+ export declare const expm1: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
22
+ export declare const log: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
23
+ export declare const log10: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
24
+ export declare const log1p: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
25
+ export declare const log2: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
26
+ export declare const sqrt: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
27
+ export declare const cbrt: ((x: VmAny) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
29
28
  //# sourceMappingURL=math-unary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"math-unary.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math-unary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAY,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAUjD,eAAO,MAAM,KAAK,YAP4B,KAAK,KAAK,MAAM,CAY5D,CAAC;AACH,eAAO,MAAM,KAAK,YAb4B,KAAK,KAAK,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+E5D,CAAC;AACH,eAAO,MAAM,GAAG,OAhF8B,KAAK,KAAK,MAAM,kEAqF5D,CAAC;AACH,eAAO,MAAM,IAAI,OAtF6B,KAAK,KAAK,MAAM,kEA2F5D,CAAC;AACH,eAAO,MAAM,GAAG,OA5F8B,KAAK,KAAK,MAAM,kEAiG5D,CAAC;AACH,eAAO,MAAM,IAAI,OAlG6B,KAAK,KAAK,MAAM,kEAuG5D,CAAC;AACH,eAAO,MAAM,GAAG,OAxG8B,KAAK,KAAK,MAAM,kEA6G5D,CAAC;AACH,eAAO,MAAM,IAAI,OA9G6B,KAAK,KAAK,MAAM,kEAmH5D,CAAC;AAEH,eAAO,MAAM,GAAG,OArH8B,KAAK,KAAK,MAAM,kEA0H5D,CAAC;AACH,eAAO,MAAM,KAAK,OA3H4B,KAAK,KAAK,MAAM,kEAgI5D,CAAC;AACH,eAAO,MAAM,GAAG,OAjI8B,KAAK,KAAK,MAAM,kEAsI5D,CAAC;AACH,eAAO,MAAM,KAAK,OAvI4B,KAAK,KAAK,MAAM,kEA4I5D,CAAC;AACH,eAAO,MAAM,KAAK,OA7I4B,KAAK,KAAK,MAAM,kEAkJ5D,CAAC;AACH,eAAO,MAAM,IAAI,OAnJ6B,KAAK,KAAK,MAAM,kEAwJ5D,CAAC;AAEH,eAAO,MAAM,IAAI,OA1J6B,KAAK,KAAK,MAAM,kEA+J5D,CAAC;AACH,eAAO,MAAM,IAAI,OAhK6B,KAAK,KAAK,MAAM,kEAqK5D,CAAC"}
@@ -1,7 +1,6 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const atan2: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
3
- export declare const pow: VmLib<(x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number>;
4
- export declare const random: VmLib<() => number>;
1
+ export declare const atan2: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const pow: ((x: import("../../index.js").VmValue | undefined, y: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const random: (() => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
5
4
  export * from './math-arr.js';
6
5
  export * from './math-const.js';
7
6
  export * from './math-unary.js';
@@ -1 +1 @@
1
- {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,eAAO,MAAM,KAAK,qHAKhB,CAAC;AACH,eAAO,MAAM,GAAG,qHAKd,CAAC;AACH,eAAO,MAAM,MAAM,qBAKjB,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/math.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,iLAKhB,CAAC;AACH,eAAO,MAAM,GAAG,iLAKd,CAAC;AACH,eAAO,MAAM,MAAM,iFAKjB,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC"}
@@ -1,16 +1,15 @@
1
1
  import { type VmArray, type VmConst, type VmValue } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const size: VmLib<(matrix: VmValue | undefined) => [] | [number, number] | [number]>;
4
- export declare const transpose: VmLib<(matrix: VmValue | undefined) => string | number | boolean | import("../../../types/index.js").VmRecord | VmArray | import("../../../types/function.js").VmFunction | import("../../../types/module.js").VmModule<Record<string, VmValue>> | import("../../../types/extern.js").VmExtern<object> | null>;
5
- export declare const entrywise: VmLib<(a: VmValue | undefined, b: VmValue | undefined, f: VmValue | undefined) => VmConst>;
6
- export declare const add: VmLib<(a: VmValue | undefined, b: VmValue | undefined) => VmConst>;
7
- export declare const subtract: VmLib<(a: VmValue | undefined, b: VmValue | undefined) => VmConst>;
8
- export declare const entrywise_multiply: VmLib<(a: VmValue | undefined, b: VmValue | undefined) => VmConst>;
9
- export declare const entrywise_divide: VmLib<(a: VmValue | undefined, b: VmValue | undefined) => VmConst>;
10
- export declare const multiply: VmLib<(a: VmValue | undefined, b: VmValue | undefined) => VmConst>;
11
- export declare const invert: VmLib<(a: VmValue | undefined) => VmConst>;
12
- export declare const zeros: VmLib<(...size: readonly (VmValue | undefined)[]) => VmArray>;
13
- export declare const ones: VmLib<(...size: readonly (VmValue | undefined)[]) => VmArray>;
14
- export declare const identity: VmLib<(...size: readonly (VmValue | undefined)[]) => number[][]>;
15
- export declare const diagonal: VmLib<(x: VmValue | undefined, k?: VmValue | undefined) => VmConst[]>;
2
+ export declare const size: ((matrix: VmValue | undefined) => [] | [number, number] | [number]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const transpose: ((matrix: VmValue | undefined) => string | number | boolean | import("../../../types/index.js").VmRecord | VmArray | import("../../../types/function.js").VmFunction | import("../../../types/module.js").VmModule<Record<string, VmValue>> | import("../../../types/extern.js").VmExtern<object> | null) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const entrywise: ((a: VmValue | undefined, b: VmValue | undefined, f: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
5
+ export declare const add: ((a: VmValue | undefined, b: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const subtract: ((a: VmValue | undefined, b: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
7
+ export declare const entrywise_multiply: ((a: VmValue | undefined, b: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
8
+ export declare const entrywise_divide: ((a: VmValue | undefined, b: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
9
+ export declare const multiply: ((a: VmValue | undefined, b: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
10
+ export declare const invert: ((a: VmValue | undefined) => VmConst) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
11
+ export declare const zeros: ((...size: readonly (VmValue | undefined)[]) => VmArray) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
12
+ export declare const ones: ((...size: readonly (VmValue | undefined)[]) => VmArray) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
13
+ export declare const identity: ((...size: readonly (VmValue | undefined)[]) => number[][]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
14
+ export declare const diagonal: ((x: VmValue | undefined, k?: VmValue | undefined) => VmConst[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
16
15
  //# sourceMappingURL=matrix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/mod/matrix.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACrH,OAAO,EACH,KAAK,EASR,MAAM,mBAAmB,CAAC;AA0B3B,eAAO,MAAM,IAAI,0EAYhB,CAAC;AAEF,eAAO,MAAM,SAAS,gTA0BrB,CAAC;AA8HF,eAAO,MAAM,SAAS,4FAmBrB,CAAC;AAEF,eAAO,MAAM,GAAG,oEAaf,CAAC;AAEF,eAAO,MAAM,QAAQ,oEAapB,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAa9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAa5B,CAAC;AAEF,eAAO,MAAM,QAAQ,oEAiEpB,CAAC;AAEF,eAAO,MAAM,MAAM,4CAsHlB,CAAC;AAkBF,eAAO,MAAM,KAAK,+DAMhB,CAAC;AAEH,eAAO,MAAM,IAAI,+DAMf,CAAC;AAEH,eAAO,MAAM,QAAQ,kEA0BpB,CAAC;AAEF,eAAO,MAAM,QAAQ,uEA4CpB,CAAC"}
1
+ {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/mod/matrix.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAqCrH,eAAO,MAAM,IAAI,yIAYhB,CAAC;AAEF,eAAO,MAAM,SAAS,+WA0BrB,CAAC;AA8HF,eAAO,MAAM,SAAS,2JAmBrB,CAAC;AAEF,eAAO,MAAM,GAAG,mIAaf,CAAC;AAEF,eAAO,MAAM,QAAQ,mIAapB,CAAC;AAEF,eAAO,MAAM,kBAAkB,mIAa9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mIAa5B,CAAC;AAEF,eAAO,MAAM,QAAQ,mIAiEpB,CAAC;AAEF,eAAO,MAAM,MAAM,2GAsHlB,CAAC;AAkBF,eAAO,MAAM,KAAK,8HAMhB,CAAC;AAEH,eAAO,MAAM,IAAI,8HAMf,CAAC;AAEH,eAAO,MAAM,QAAQ,iIA0BpB,CAAC;AAEF,eAAO,MAAM,QAAQ,sIA4CpB,CAAC"}
@@ -1,4 +1,3 @@
1
- import { VmLib } from '../../_helpers.js';
2
- export declare const all: VmLib<(data: import("../../../types/index.js").VmValue | undefined, predicate: import("../../../types/index.js").VmValue | undefined) => boolean>;
3
- export declare const any: VmLib<(data: import("../../../types/index.js").VmValue | undefined, predicate: import("../../../types/index.js").VmValue | undefined) => boolean>;
1
+ export declare const all: ((data: import("../../../types/index.js").VmValue | undefined, predicate: import("../../../types/index.js").VmValue | undefined) => boolean) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const any: ((data: import("../../../types/index.js").VmValue | undefined, predicate: import("../../../types/index.js").VmValue | undefined) => boolean) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
3
  //# sourceMappingURL=all-any.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"all-any.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/all-any.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuC,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/E,eAAO,MAAM,GAAG,mJAgCf,CAAC;AAEF,eAAO,MAAM,GAAG,mJAgCf,CAAC"}
1
+ {"version":3,"file":"all-any.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/all-any.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,GAAG,kNAgCf,CAAC;AAEF,eAAO,MAAM,GAAG,kNAgCf,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import { type VmConst } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const keys: VmLib<(data: import("../../../types/index.js").VmValue | undefined) => string[] | number[]>;
4
- export declare const values: VmLib<(data: import("../../../types/index.js").VmValue | undefined) => import("../../../types/index.js").VmArray>;
5
- export declare const entries: VmLib<(data: import("../../../types/index.js").VmValue | undefined) => {
2
+ export declare const keys: ((data: import("../../../types/index.js").VmValue | undefined) => string[] | number[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const values: ((data: import("../../../types/index.js").VmValue | undefined) => import("../../../types/index.js").VmArray) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const entries: ((data: import("../../../types/index.js").VmValue | undefined) => {
6
5
  0: number;
7
6
  1: VmConst;
8
7
  }[] | {
9
8
  0: string;
10
9
  1: string | number | boolean | import("../../../types/index.js").VmRecord | import("../../../types/index.js").VmArray | null;
11
- }[]>;
10
+ }[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
12
11
  //# sourceMappingURL=entries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/entries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAuC,MAAM,mBAAmB,CAAC;AAG/E,eAAO,MAAM,IAAI,6FAuBhB,CAAC;AAEF,eAAO,MAAM,MAAM,mHAelB,CAAC;AAEF,eAAO,MAAM,OAAO;OAIc,MAAM;OAAK,OAAO;;;;IAgBnD,CAAC"}
1
+ {"version":3,"file":"entries.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/entries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAI9E,eAAO,MAAM,IAAI,4JAuBhB,CAAC;AAEF,eAAO,MAAM,MAAM,kLAelB,CAAC;AAEF,eAAO,MAAM,OAAO;OAIc,MAAM;OAAK,OAAO;;;;wEAgBnD,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { type VmValue } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const find: VmLib<(data: VmValue | undefined, predicate: VmValue | undefined) => {
2
+ export declare const find: ((data: VmValue | undefined, predicate: VmValue | undefined) => {
4
3
  0: number;
5
4
  1: string | number | boolean | import("../../../types/index.js").VmRecord | import("../../../types/index.js").VmArray | null;
6
5
  } | {
7
6
  0: string;
8
7
  1: string | number | boolean | import("../../../types/index.js").VmRecord | import("../../../types/index.js").VmArray | null;
9
- } | null>;
8
+ } | null) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
10
9
  //# sourceMappingURL=find.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/find.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAA2B,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAiC,MAAM,mBAAmB,CAAC;AAEzE,eAAO,MAAM,IAAI;;;;;;SA4ChB,CAAC"}
1
+ {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/find.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAA2B,MAAM,yBAAyB,CAAC;AAGhF,eAAO,MAAM,IAAI;;;;;;6EA4ChB,CAAC"}
@@ -1,3 +1,2 @@
1
- import { VmLib } from '../../_helpers.js';
2
- export declare const flatten: VmLib<(data: import("../../../index.js").VmValue | undefined, depth?: import("../../../index.js").VmValue | undefined) => (string | number | boolean | import("../../../index.js").VmRecord | import("../../../index.js").VmArray | null | undefined)[]>;
1
+ export declare const flatten: ((data: import("../../../index.js").VmValue | undefined, depth?: import("../../../index.js").VmValue | undefined) => (string | number | boolean | import("../../../index.js").VmRecord | import("../../../index.js").VmArray | null | undefined)[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
2
  //# sourceMappingURL=flatten.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/flatten.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAe,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,OAAO,0PAYnB,CAAC"}
1
+ {"version":3,"file":"flatten.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/flatten.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,yTAYnB,CAAC"}
@@ -1,3 +1,2 @@
1
- import { VmLib } from '../../_helpers.js';
2
- export declare const len: VmLib<(arr: import("../../../index.js").VmValue | undefined) => number>;
1
+ export declare const len: ((arr: import("../../../index.js").VmValue | undefined) => number) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
2
  //# sourceMappingURL=len.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"len.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/len.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAe,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,GAAG,yEAYf,CAAC"}
1
+ {"version":3,"file":"len.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/len.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,wIAYf,CAAC"}
@@ -1,9 +1,8 @@
1
1
  import { type VmValue } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
2
  export * from './with.js';
4
3
  export * from './entries.js';
5
4
  export * from './len.js';
6
- export declare const map: VmLib<(data: VmValue | undefined, f: VmValue | undefined) => VmValue>;
7
- export declare const filter: VmLib<(data: VmValue | undefined, predicate: VmValue | undefined) => VmValue>;
8
- export declare const filter_map: VmLib<(data: VmValue | undefined, f: VmValue | undefined) => VmValue>;
5
+ export declare const map: ((data: VmValue | undefined, f: VmValue | undefined) => VmValue) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const filter: ((data: VmValue | undefined, predicate: VmValue | undefined) => VmValue) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
7
+ export declare const filter_map: ((data: VmValue | undefined, f: VmValue | undefined) => VmValue) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
9
8
  //# sourceMappingURL=map-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"map-filter.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/map-filter.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,KAAK,EAA+C,MAAM,mBAAmB,CAAC;AAEvF,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAkBzB,eAAO,MAAM,GAAG,uEAef,CAAC;AAEF,eAAO,MAAM,MAAM,+EAmBlB,CAAC;AAEF,eAAO,MAAM,UAAU,uEAmBtB,CAAC"}
1
+ {"version":3,"file":"map-filter.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/map-filter.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAG9E,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AAkBzB,eAAO,MAAM,GAAG,sIAef,CAAC;AAEF,eAAO,MAAM,MAAM,8IAmBlB,CAAC;AAEF,eAAO,MAAM,UAAU,sIAmBtB,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import type { VmConst } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const repeat: VmLib<(data: import("../../../types/index.js").VmValue | undefined, times: import("../../../types/index.js").VmValue | undefined) => VmConst[]>;
2
+ export declare const repeat: ((data: import("../../../types/index.js").VmValue | undefined, times: import("../../../types/index.js").VmValue | undefined) => VmConst[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
3
  //# sourceMappingURL=repeat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/repeat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAmC,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE3E,eAAO,MAAM,MAAM,iJAuBlB,CAAC"}
1
+ {"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/repeat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAGvD,eAAO,MAAM,MAAM,gNAuBlB,CAAC"}
@@ -1,3 +1,2 @@
1
- import { VmLib } from '../../_helpers.js';
2
- export declare const reverse: VmLib<(arr: import("../../../index.js").VmValue | undefined) => (import("../../../index.js").VmConst | undefined)[]>;
1
+ export declare const reverse: ((arr: import("../../../index.js").VmValue | undefined) => (import("../../../index.js").VmConst | undefined)[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
2
  //# sourceMappingURL=reverse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reverse.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/reverse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAe,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,OAAO,sHAcnB,CAAC"}
1
+ {"version":3,"file":"reverse.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/reverse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,qLAcnB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { VmConst, VmValue } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const sort: VmLib<(data: VmValue | undefined, comparator: VmValue | undefined) => VmConst[]>;
4
- export declare const sort_by: VmLib<(data: VmValue | undefined, key_fn: VmValue | undefined, comparator: VmValue | undefined) => VmConst[]>;
2
+ export declare const sort: ((data: VmValue | undefined, comparator: VmValue | undefined) => VmConst[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const sort_by: ((data: VmValue | undefined, key_fn: VmValue | undefined, comparator: VmValue | undefined) => VmConst[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
5
4
  //# sourceMappingURL=sort.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/sort.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,KAAK,EAA+B,MAAM,mBAAmB,CAAC;AA2BvE,eAAO,MAAM,IAAI,kFAwBhB,CAAC;AAEF,eAAO,MAAM,OAAO,+GAgCnB,CAAC"}
1
+ {"version":3,"file":"sort.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/sort.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAS,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AA4BvE,eAAO,MAAM,IAAI,iJAwBhB,CAAC;AAEF,eAAO,MAAM,OAAO,8KAgCnB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { type VmArray, type VmValue } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- declare const _with: VmLib<(data: VmValue | undefined, ...entries: (VmValue | undefined)[]) => import("../../../types/index.js").VmRecord | VmArray>;
2
+ declare const _with: ((data: VmValue | undefined, ...entries: (VmValue | undefined)[]) => import("../../../types/index.js").VmRecord | VmArray) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
3
  export { _with as 'with' };
5
4
  //# sourceMappingURL=with.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"with.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/with.ts"],"names":[],"mappings":"AAGA,OAAO,EAIH,KAAK,OAAO,EAEZ,KAAK,OAAO,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAgD,MAAM,mBAAmB,CAAC;AA8DxF,QAAA,MAAM,KAAK,iIA8DV,CAAC;AACF,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"with.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/with.ts"],"names":[],"mappings":"AAGA,OAAO,EAIH,KAAK,OAAO,EAEZ,KAAK,OAAO,EACf,MAAM,yBAAyB,CAAC;AA+DjC,QAAA,MAAM,KAAK,gMA8DV,CAAC;AACF,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import { type VmConst } from '../../../types/index.js';
2
- import { VmLib } from '../../_helpers.js';
3
- export declare const zip: VmLib<(data: import("../../../types/index.js").VmValue | undefined) => Record<string | number, VmConst>[]>;
2
+ export declare const zip: ((data: import("../../../types/index.js").VmValue | undefined) => Record<string | number, VmConst>[]) & import("../../_helpers.js").VmLibOption & Record<string, unknown>;
4
3
  //# sourceMappingURL=zip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/zip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,OAAO,EAAgB,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,KAAK,EAAc,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,GAAG,4GAiCf,CAAC"}
1
+ {"version":3,"file":"zip.d.ts","sourceRoot":"","sources":["../../../../../src/vm/lib/global/sequence/zip.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,OAAO,EAAgB,MAAM,yBAAyB,CAAC;AAIhF,eAAO,MAAM,GAAG,2KAiCf,CAAC"}
@@ -1,12 +1,11 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const chars: VmLib<(str: import("../../index.js").VmValue | undefined) => string[]>;
3
- export declare const starts_with: VmLib<(str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean>;
4
- export declare const ends_with: VmLib<(str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean>;
5
- export declare const contains: VmLib<(str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean>;
6
- export declare const trim_start: VmLib<(str: import("../../index.js").VmValue | undefined) => string>;
7
- export declare const trim_end: VmLib<(str: import("../../index.js").VmValue | undefined) => string>;
8
- export declare const trim: VmLib<(str: import("../../index.js").VmValue | undefined) => string>;
9
- export declare const replace: VmLib<(str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined, replacement?: import("../../index.js").VmValue | undefined) => string>;
10
- export declare const split: VmLib<(str: import("../../index.js").VmValue | undefined, separator?: import("../../index.js").VmValue | undefined) => string[]>;
11
- export declare const join: VmLib<(arr: import("../../index.js").VmValue | undefined, separator?: import("../../index.js").VmValue | undefined) => string>;
1
+ export declare const chars: ((str: import("../../index.js").VmValue | undefined) => string[]) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const starts_with: ((str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const ends_with: ((str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const contains: ((str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined) => boolean) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
5
+ export declare const trim_start: ((str: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
6
+ export declare const trim_end: ((str: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
7
+ export declare const trim: ((str: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
8
+ export declare const replace: ((str: import("../../index.js").VmValue | undefined, search: import("../../index.js").VmValue | undefined, replacement?: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
9
+ export declare const split: ((str: import("../../index.js").VmValue | undefined, separator?: import("../../index.js").VmValue | undefined) => string[]) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
10
+ export declare const join: ((arr: import("../../index.js").VmValue | undefined, separator?: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
12
11
  //# sourceMappingURL=string.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/string.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE9D,eAAO,MAAM,KAAK,wEAYjB,CAAC;AAEF,eAAO,MAAM,WAAW,6HAavB,CAAC;AACF,eAAO,MAAM,SAAS,6HAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,6HAapB,CAAC;AAEF,eAAO,MAAM,UAAU,sEAYtB,CAAC;AAEF,eAAO,MAAM,QAAQ,sEAYpB,CAAC;AAEF,eAAO,MAAM,IAAI,sEAYhB,CAAC;AAEF,eAAO,MAAM,OAAO,wLAanB,CAAC;AAEF,eAAO,MAAM,KAAK,kIAejB,CAAC;AAEF,eAAO,MAAM,IAAI,gIAahB,CAAC"}
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/string.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,oIAYjB,CAAC;AAEF,eAAO,MAAM,WAAW,yLAavB,CAAC;AACF,eAAO,MAAM,SAAS,yLAarB,CAAC;AAEF,eAAO,MAAM,QAAQ,yLAapB,CAAC;AAEF,eAAO,MAAM,UAAU,kIAYtB,CAAC;AAEF,eAAO,MAAM,QAAQ,kIAYpB,CAAC;AAEF,eAAO,MAAM,IAAI,kIAYhB,CAAC;AAEF,eAAO,MAAM,OAAO,oPAanB,CAAC;AAEF,eAAO,MAAM,KAAK,8LAejB,CAAC;AAEF,eAAO,MAAM,IAAI,4LAahB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const to_timestamp: VmLib<(datetime: import("../../index.js").VmValue | undefined) => number>;
3
- export declare const to_datetime: VmLib<(datetime: import("../../index.js").VmValue | undefined, offset: import("../../index.js").VmValue | undefined) => {
1
+ export declare const to_timestamp: ((datetime: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const to_datetime: ((datetime: import("../../index.js").VmValue | undefined, offset: import("../../index.js").VmValue | undefined) => {
4
3
  year: number;
5
4
  month: number;
6
5
  day: number;
@@ -10,6 +9,6 @@ export declare const to_datetime: VmLib<(datetime: import("../../index.js").VmVa
10
9
  millisecond: number;
11
10
  dayOfWeek: number;
12
11
  offset: number;
13
- } | null>;
14
- export declare const to_iso8601: VmLib<(datetime: import("../../index.js").VmValue | undefined) => string | null>;
12
+ } | null) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
13
+ export declare const to_iso8601: ((datetime: import("../../index.js").VmValue | undefined) => string | null) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
15
14
  //# sourceMappingURL=time.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/time.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,eAAO,MAAM,YAAY,2EAqBxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;SA8BvB,CAAC;AAEF,eAAO,MAAM,UAAU,kFAatB,CAAC"}
1
+ {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../src/vm/lib/global/time.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,uIAqBxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;0EA8BvB,CAAC;AAEF,eAAO,MAAM,UAAU,8IAatB,CAAC"}
@@ -1,6 +1,5 @@
1
- import { VmLib } from '../_helpers.js';
2
- export declare const to_string: VmLib<(data: import("../../index.js").VmValue | undefined) => string>;
3
- export declare const to_number: VmLib<(data: import("../../index.js").VmValue | undefined) => number>;
4
- export declare const to_boolean: VmLib<(data: import("../../index.js").VmValue | undefined) => boolean>;
5
- export declare const format: VmLib<(data: import("../../index.js").VmValue | undefined, format: import("../../index.js").VmValue | undefined) => string>;
1
+ export declare const to_string: ((data: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
2
+ export declare const to_number: ((data: import("../../index.js").VmValue | undefined) => number) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
3
+ export declare const to_boolean: ((data: import("../../index.js").VmValue | undefined) => boolean) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
4
+ export declare const format: ((data: import("../../index.js").VmValue | undefined, format: import("../../index.js").VmValue | undefined) => string) & import("../_helpers.js").VmLibOption & Record<string, unknown>;
6
5
  //# sourceMappingURL=to-primitive.d.ts.map