solve-engine 1.0.0-beta.4 → 1.0.0-beta.6
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/dist/{chunk-EAAHVJ4P.cjs → chunk-62W2DYYA.cjs} +3 -3
- package/dist/{chunk-EAAHVJ4P.cjs.map → chunk-62W2DYYA.cjs.map} +1 -1
- package/dist/{chunk-3MNKQZ77.js → chunk-BAMZT3GL.js} +3 -3
- package/dist/{chunk-3MNKQZ77.js.map → chunk-BAMZT3GL.js.map} +1 -1
- package/dist/{chunk-2NPS5DQ3.cjs → chunk-BXKJLM5R.cjs} +13 -5
- package/dist/chunk-BXKJLM5R.cjs.map +1 -0
- package/dist/{chunk-43G3JT2E.cjs → chunk-CSG5XVNJ.cjs} +35 -35
- package/dist/chunk-CSG5XVNJ.cjs.map +1 -0
- package/dist/{chunk-X2BWAZAU.cjs → chunk-FN2WMF2W.cjs} +28 -27
- package/dist/chunk-FN2WMF2W.cjs.map +1 -0
- package/dist/{chunk-FIFQPKBA.js → chunk-GVWHCL2N.js} +3 -3
- package/dist/chunk-GVWHCL2N.js.map +1 -0
- package/dist/{chunk-OWRHDUJD.js → chunk-LVLUHTRD.js} +3 -3
- package/dist/{chunk-OWRHDUJD.js.map → chunk-LVLUHTRD.js.map} +1 -1
- package/dist/{chunk-KHJUSHFU.js → chunk-MVBEL57Q.js} +13 -5
- package/dist/chunk-MVBEL57Q.js.map +1 -0
- package/dist/{chunk-DDQVZGLO.js → chunk-NUR3K7EW.js} +7 -6
- package/dist/chunk-NUR3K7EW.js.map +1 -0
- package/dist/{chunk-M4Q47KHF.cjs → chunk-QDMPOAI7.cjs} +22 -22
- package/dist/{chunk-M4Q47KHF.cjs.map → chunk-QDMPOAI7.cjs.map} +1 -1
- package/dist/constants.cjs +4 -4
- package/dist/constants.js +1 -1
- package/dist/engine.cjs +15 -15
- package/dist/engine.js +5 -5
- package/dist/index.cjs +11 -11
- package/dist/index.js +6 -6
- package/dist/packages.cjs +25 -25
- package/dist/packages.d.cts +42 -0
- package/dist/packages.d.ts +42 -0
- package/dist/packages.js +2 -2
- package/dist/vm.cjs +13 -13
- package/dist/vm.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-2NPS5DQ3.cjs.map +0 -1
- package/dist/chunk-43G3JT2E.cjs.map +0 -1
- package/dist/chunk-DDQVZGLO.js.map +0 -1
- package/dist/chunk-FIFQPKBA.js.map +0 -1
- package/dist/chunk-KHJUSHFU.js.map +0 -1
- package/dist/chunk-X2BWAZAU.cjs.map +0 -1
package/dist/constants.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk62W2DYYA_cjs = require('./chunk-62W2DYYA.cjs');
|
|
4
4
|
require('./chunk-M4N5GA5Z.cjs');
|
|
5
5
|
require('./chunk-B7LXJ6LC.cjs');
|
|
6
6
|
|
|
@@ -8,15 +8,15 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ConfigManager", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk62W2DYYA_cjs.ConfigManager; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DEFAULT_CONFIG", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk62W2DYYA_cjs.DEFAULT_CONFIG; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ENGINE_VERSION", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk62W2DYYA_cjs.ENGINE_VERSION; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=constants.cjs.map
|
|
22
22
|
//# sourceMappingURL=constants.cjs.map
|
package/dist/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConfigManager, DEFAULT_CONFIG, ENGINE_VERSION } from './chunk-
|
|
1
|
+
export { ConfigManager, DEFAULT_CONFIG, ENGINE_VERSION } from './chunk-LVLUHTRD.js';
|
|
2
2
|
import './chunk-6RDSQURE.js';
|
|
3
3
|
import './chunk-YLJ4XMA6.js';
|
|
4
4
|
//# sourceMappingURL=constants.js.map
|
package/dist/engine.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFN2WMF2W_cjs = require('./chunk-FN2WMF2W.cjs');
|
|
4
4
|
require('./chunk-MTX2KVU7.cjs');
|
|
5
5
|
require('./chunk-NGBBNL4K.cjs');
|
|
6
6
|
require('./chunk-X6K3HUOY.cjs');
|
|
7
7
|
require('./chunk-5X2PTP6F.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-QDMPOAI7.cjs');
|
|
9
9
|
require('./chunk-47LRVGOT.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-CSG5XVNJ.cjs');
|
|
11
11
|
require('./chunk-NZFKROS7.cjs');
|
|
12
12
|
require('./chunk-AHCLWAM5.cjs');
|
|
13
13
|
require('./chunk-N5YFR4UP.cjs');
|
|
14
14
|
require('./chunk-4AVD7NZW.cjs');
|
|
15
15
|
require('./chunk-Z2XP767T.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-BXKJLM5R.cjs');
|
|
17
17
|
require('./chunk-FEAIOR7N.cjs');
|
|
18
18
|
require('./chunk-2MV4HBKC.cjs');
|
|
19
19
|
require('./chunk-MZOVP3WI.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-VEKIWQ3F.cjs');
|
|
|
21
21
|
require('./chunk-4CVLFLOB.cjs');
|
|
22
22
|
require('./chunk-OC6LTXYS.cjs');
|
|
23
23
|
require('./chunk-NJTXJ5AG.cjs');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-62W2DYYA.cjs');
|
|
25
25
|
require('./chunk-WWOLFXTX.cjs');
|
|
26
26
|
require('./chunk-TY3TLZAW.cjs');
|
|
27
27
|
require('./chunk-M4F66R4O.cjs');
|
|
@@ -36,43 +36,43 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
36
36
|
|
|
37
37
|
Object.defineProperty(exports, "AsyncResolutionBatcher", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkFN2WMF2W_cjs.AsyncResolutionBatcher; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "DocumentModel", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkFN2WMF2W_cjs.DocumentModel; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "EvalTier", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkFN2WMF2W_cjs.EvalTier; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "ExpressionEngine", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkFN2WMF2W_cjs.ExpressionEngine; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "ThreeTierEvaluator", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkFN2WMF2W_cjs.ThreeTierEvaluator; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "checkExpressionComplexity", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkFN2WMF2W_cjs.checkExpressionComplexity; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "checkExpressionLength", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkFN2WMF2W_cjs.checkExpressionLength; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "extractReadsAndWrites", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkFN2WMF2W_cjs.extractReadsAndWrites; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "findInlineSolvesInLine", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkFN2WMF2W_cjs.findInlineSolvesInLine; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "isEmptyLine", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFN2WMF2W_cjs.isEmptyLine; }
|
|
76
76
|
});
|
|
77
77
|
//# sourceMappingURL=engine.cjs.map
|
|
78
78
|
//# sourceMappingURL=engine.cjs.map
|
package/dist/engine.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { AsyncResolutionBatcher, DocumentModel, EvalTier, ExpressionEngine, ThreeTierEvaluator, checkExpressionComplexity, checkExpressionLength, extractReadsAndWrites, findInlineSolvesInLine, isEmptyLine } from './chunk-
|
|
1
|
+
export { AsyncResolutionBatcher, DocumentModel, EvalTier, ExpressionEngine, ThreeTierEvaluator, checkExpressionComplexity, checkExpressionLength, extractReadsAndWrites, findInlineSolvesInLine, isEmptyLine } from './chunk-NUR3K7EW.js';
|
|
2
2
|
import './chunk-MEOHSQEH.js';
|
|
3
3
|
import './chunk-2RWAXT6O.js';
|
|
4
4
|
import './chunk-3VGDNEE3.js';
|
|
5
5
|
import './chunk-IF532O7C.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-BAMZT3GL.js';
|
|
7
7
|
import './chunk-G535KJEG.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-GVWHCL2N.js';
|
|
9
9
|
import './chunk-6GCKCWLB.js';
|
|
10
10
|
import './chunk-OFXOTECC.js';
|
|
11
11
|
import './chunk-PFSDGGYL.js';
|
|
12
12
|
import './chunk-YU2CUNFO.js';
|
|
13
13
|
import './chunk-NLNDMWZC.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-MVBEL57Q.js';
|
|
15
15
|
import './chunk-GCM5JHMX.js';
|
|
16
16
|
import './chunk-UKPGSAZW.js';
|
|
17
17
|
import './chunk-75JP4BZX.js';
|
|
@@ -19,7 +19,7 @@ import './chunk-Z4X2RWOF.js';
|
|
|
19
19
|
import './chunk-CYFK5SY2.js';
|
|
20
20
|
import './chunk-BVAR5J2F.js';
|
|
21
21
|
import './chunk-WC5FFSHB.js';
|
|
22
|
-
import './chunk-
|
|
22
|
+
import './chunk-LVLUHTRD.js';
|
|
23
23
|
import './chunk-2CS6OMZK.js';
|
|
24
24
|
import './chunk-AJA6LUI7.js';
|
|
25
25
|
import './chunk-SFQWJMKT.js';
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFN2WMF2W_cjs = require('./chunk-FN2WMF2W.cjs');
|
|
4
4
|
var chunkMTX2KVU7_cjs = require('./chunk-MTX2KVU7.cjs');
|
|
5
5
|
require('./chunk-NGBBNL4K.cjs');
|
|
6
6
|
require('./chunk-X6K3HUOY.cjs');
|
|
7
7
|
require('./chunk-5X2PTP6F.cjs');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-QDMPOAI7.cjs');
|
|
9
9
|
require('./chunk-47LRVGOT.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-CSG5XVNJ.cjs');
|
|
11
11
|
require('./chunk-NZFKROS7.cjs');
|
|
12
12
|
require('./chunk-AHCLWAM5.cjs');
|
|
13
13
|
require('./chunk-N5YFR4UP.cjs');
|
|
14
14
|
require('./chunk-4AVD7NZW.cjs');
|
|
15
15
|
require('./chunk-Z2XP767T.cjs');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-BXKJLM5R.cjs');
|
|
17
17
|
var chunkFEAIOR7N_cjs = require('./chunk-FEAIOR7N.cjs');
|
|
18
18
|
require('./chunk-2MV4HBKC.cjs');
|
|
19
19
|
require('./chunk-MZOVP3WI.cjs');
|
|
@@ -21,7 +21,7 @@ require('./chunk-VEKIWQ3F.cjs');
|
|
|
21
21
|
require('./chunk-4CVLFLOB.cjs');
|
|
22
22
|
var chunkOC6LTXYS_cjs = require('./chunk-OC6LTXYS.cjs');
|
|
23
23
|
require('./chunk-NJTXJ5AG.cjs');
|
|
24
|
-
var
|
|
24
|
+
var chunk62W2DYYA_cjs = require('./chunk-62W2DYYA.cjs');
|
|
25
25
|
var chunkWWOLFXTX_cjs = require('./chunk-WWOLFXTX.cjs');
|
|
26
26
|
require('./chunk-TY3TLZAW.cjs');
|
|
27
27
|
require('./chunk-M4F66R4O.cjs');
|
|
@@ -47,7 +47,7 @@ var PackageRegistry = class {
|
|
|
47
47
|
chunkFEAIOR7N_cjs.sharedVariableResolver.registerSource(source);
|
|
48
48
|
}
|
|
49
49
|
registerPackage(pkg) {
|
|
50
|
-
|
|
50
|
+
chunkFN2WMF2W_cjs.assertEngineVersionCompatible(pkg);
|
|
51
51
|
if (pkg.lexerVocabulary) {
|
|
52
52
|
chunkWWOLFXTX_cjs.sharedLexer.registerVocabulary(pkg.lexerVocabulary);
|
|
53
53
|
}
|
|
@@ -72,23 +72,23 @@ var packageRegistry = new PackageRegistry();
|
|
|
72
72
|
|
|
73
73
|
Object.defineProperty(exports, "ExpressionEngine", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkFN2WMF2W_cjs.ExpressionEngine; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "assertEngineVersionCompatible", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkFN2WMF2W_cjs.assertEngineVersionCompatible; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "checkEngineVersionCompatibility", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkFN2WMF2W_cjs.checkEngineVersionCompatibility; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "checkPackageCompatibility", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkFN2WMF2W_cjs.checkPackageCompatibility; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "ENGINE_VERSION", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk62W2DYYA_cjs.ENGINE_VERSION; }
|
|
92
92
|
});
|
|
93
93
|
exports.PackageRegistry = PackageRegistry;
|
|
94
94
|
exports.packageRegistry = packageRegistry;
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { assertEngineVersionCompatible } from './chunk-
|
|
2
|
-
export { ExpressionEngine, assertEngineVersionCompatible, checkEngineVersionCompatibility, checkPackageCompatibility } from './chunk-
|
|
1
|
+
import { assertEngineVersionCompatible } from './chunk-NUR3K7EW.js';
|
|
2
|
+
export { ExpressionEngine, assertEngineVersionCompatible, checkEngineVersionCompatibility, checkPackageCompatibility } from './chunk-NUR3K7EW.js';
|
|
3
3
|
import { sharedParseletRegistry } from './chunk-MEOHSQEH.js';
|
|
4
4
|
import './chunk-2RWAXT6O.js';
|
|
5
5
|
import './chunk-3VGDNEE3.js';
|
|
6
6
|
import './chunk-IF532O7C.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-BAMZT3GL.js';
|
|
8
8
|
import './chunk-G535KJEG.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-GVWHCL2N.js';
|
|
10
10
|
import './chunk-6GCKCWLB.js';
|
|
11
11
|
import './chunk-OFXOTECC.js';
|
|
12
12
|
import './chunk-PFSDGGYL.js';
|
|
13
13
|
import './chunk-YU2CUNFO.js';
|
|
14
14
|
import './chunk-NLNDMWZC.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-MVBEL57Q.js';
|
|
16
16
|
import { sharedVariableResolver } from './chunk-GCM5JHMX.js';
|
|
17
17
|
import './chunk-UKPGSAZW.js';
|
|
18
18
|
import './chunk-75JP4BZX.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-Z4X2RWOF.js';
|
|
|
20
20
|
import './chunk-CYFK5SY2.js';
|
|
21
21
|
import { Value } from './chunk-BVAR5J2F.js';
|
|
22
22
|
import './chunk-WC5FFSHB.js';
|
|
23
|
-
export { ENGINE_VERSION } from './chunk-
|
|
23
|
+
export { ENGINE_VERSION } from './chunk-LVLUHTRD.js';
|
|
24
24
|
import { sharedLexer } from './chunk-2CS6OMZK.js';
|
|
25
25
|
import './chunk-AJA6LUI7.js';
|
|
26
26
|
import './chunk-SFQWJMKT.js';
|
package/dist/packages.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCSG5XVNJ_cjs = require('./chunk-CSG5XVNJ.cjs');
|
|
4
4
|
require('./chunk-NZFKROS7.cjs');
|
|
5
5
|
require('./chunk-AHCLWAM5.cjs');
|
|
6
6
|
require('./chunk-N5YFR4UP.cjs');
|
|
7
7
|
require('./chunk-4AVD7NZW.cjs');
|
|
8
8
|
require('./chunk-Z2XP767T.cjs');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-BXKJLM5R.cjs');
|
|
10
10
|
require('./chunk-FEAIOR7N.cjs');
|
|
11
11
|
require('./chunk-2MV4HBKC.cjs');
|
|
12
12
|
require('./chunk-MZOVP3WI.cjs');
|
|
@@ -26,95 +26,95 @@ require('./chunk-B7LXJ6LC.cjs');
|
|
|
26
26
|
|
|
27
27
|
Object.defineProperty(exports, "ARITHMETIC_PACKAGE", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkCSG5XVNJ_cjs.ARITHMETIC_PACKAGE; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "BIGINT_PACKAGE", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkCSG5XVNJ_cjs.BIGINT_PACKAGE; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "BUILTIN_PACKAGES", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkCSG5XVNJ_cjs.BUILTIN_PACKAGES; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "CONDITIONALS_PACKAGE", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkCSG5XVNJ_cjs.CONDITIONALS_PACKAGE; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "CONVERTERS_PACKAGE", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkCSG5XVNJ_cjs.CONVERTERS_PACKAGE; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "CURRENCY_PACKAGE", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkCSG5XVNJ_cjs.CURRENCY_PACKAGE; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "DATETIME_PACKAGE", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkCSG5XVNJ_cjs.DATETIME_PACKAGE; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "DICE_PACKAGE", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkCSG5XVNJ_cjs.DICE_PACKAGE; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "FINANCE_PACKAGE", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkCSG5XVNJ_cjs.FINANCE_PACKAGE; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "FUNCTION_PACKAGE", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkCSG5XVNJ_cjs.FUNCTION_PACKAGE; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "LINES_PACKAGE", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkCSG5XVNJ_cjs.LINES_PACKAGE; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "MAPREDUCE_PACKAGE", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkCSG5XVNJ_cjs.MAPREDUCE_PACKAGE; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "MATHPHRASES_PACKAGE", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkCSG5XVNJ_cjs.MATHPHRASES_PACKAGE; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "MATRIX_PACKAGE", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkCSG5XVNJ_cjs.MATRIX_PACKAGE; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "PERCENTAGE_PACKAGE", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkCSG5XVNJ_cjs.PERCENTAGE_PACKAGE; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "SYMBOLIC_PACKAGE", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkCSG5XVNJ_cjs.SYMBOLIC_PACKAGE; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "TIME_PACKAGE", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkCSG5XVNJ_cjs.TIME_PACKAGE; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "UOM_PACKAGE", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkCSG5XVNJ_cjs.UOM_PACKAGE; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "VARIABLES_PACKAGE", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkCSG5XVNJ_cjs.VARIABLES_PACKAGE; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "VECTOR_PACKAGE", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkCSG5XVNJ_cjs.VECTOR_PACKAGE; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "WEATHER_PACKAGE", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkCSG5XVNJ_cjs.WEATHER_PACKAGE; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "createKnowledgePackage", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkCSG5XVNJ_cjs.createKnowledgePackage; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "createStocksPackage", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkCSG5XVNJ_cjs.createStocksPackage; }
|
|
118
118
|
});
|
|
119
119
|
//# sourceMappingURL=packages.cjs.map
|
|
120
120
|
//# sourceMappingURL=packages.cjs.map
|
package/dist/packages.d.cts
CHANGED
|
@@ -102,6 +102,48 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
|
|
|
102
102
|
*/
|
|
103
103
|
declare const DATETIME_PACKAGE: IEnginePackage;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
|
|
107
|
+
* today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
|
|
108
|
+
* durations (midnight-rollover aware), `30 fps` frame-rate literals (a
|
|
109
|
+
* `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
|
|
110
|
+
* lap-time/stopwatch-split durations (two colons, vs clock-time's one).
|
|
111
|
+
* Distinct from the Datetime package's calendar-date arithmetic. See
|
|
112
|
+
* `packages/time/` vs `packages/datetime/`.
|
|
113
|
+
*
|
|
114
|
+
* Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
|
|
115
|
+
* arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
|
|
116
|
+
* "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
|
|
117
|
+
* `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
|
|
118
|
+
* timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
|
|
119
|
+
* dispatch (`combineTimecode()`), plus `timecode in frames` and the
|
|
120
|
+
* reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
|
|
121
|
+
* `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
|
|
122
|
+
* `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
|
|
123
|
+
* (below) composes with this unchanged, the fps literal itself is
|
|
124
|
+
* unaffected by any of the above. Likewise, pretty-printing a duration
|
|
125
|
+
* back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
|
|
126
|
+
* laptime`) is a `converters` package (Phase 1c) concern. This package
|
|
127
|
+
* only produces the underlying `Uom` values.
|
|
128
|
+
*
|
|
129
|
+
* Also: timezone conversion (`6pm Sydney in Chicago`), current
|
|
130
|
+
* time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
|
|
131
|
+
* zone-offset deltas (`time difference between Seattle and Moscow`). See
|
|
132
|
+
* `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
|
|
133
|
+
* `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
|
|
134
|
+
* `String` values (formatted, human-readable), not `Datetime`. This
|
|
135
|
+
* engine's `Datetime` representation is a bare epoch-ms number with no
|
|
136
|
+
* zone tag, so there's no way to represent "this instant, but interpreted
|
|
137
|
+
* through zone X" as anything other than a pre-formatted string; see
|
|
138
|
+
* `ZoneMath.ts`'s doc comment.
|
|
139
|
+
*
|
|
140
|
+
* SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
|
|
141
|
+
* time", city first) is deliberately NOT implemented, it would need
|
|
142
|
+
* "time" registered as a keyword reachable from a BARE city identifier's
|
|
143
|
+
* infix position, and "time" is exactly the kind of common noun this
|
|
144
|
+
* session found real trouble with (see MathPhrasesPackage.ts's "total"
|
|
145
|
+
* regression note). `time in <city>` covers the same need unambiguously.
|
|
146
|
+
*/
|
|
105
147
|
declare const TIME_PACKAGE: IEnginePackage;
|
|
106
148
|
|
|
107
149
|
/** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
|
package/dist/packages.d.ts
CHANGED
|
@@ -102,6 +102,48 @@ declare const FUNCTION_PACKAGE: IEnginePackage;
|
|
|
102
102
|
*/
|
|
103
103
|
declare const DATETIME_PACKAGE: IEnginePackage;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Clock-time-of-day arithmetic: `9:00am`, `16:00`, `4pm` (anchored to
|
|
107
|
+
* today's calendar date), `7:30 to 20:45` / `4pm to 3am` interval
|
|
108
|
+
* durations (midnight-rollover aware), `30 fps` frame-rate literals (a
|
|
109
|
+
* `Rate` value. See `vm/Value.ts`), and `03:04:05` / `00:00:01.5`
|
|
110
|
+
* lap-time/stopwatch-split durations (two colons, vs clock-time's one).
|
|
111
|
+
* Distinct from the Datetime package's calendar-date arithmetic. See
|
|
112
|
+
* `packages/time/` vs `packages/datetime/`.
|
|
113
|
+
*
|
|
114
|
+
* Full HH:MM:SS:FF video-timecode literal parsing + fps-aware carry
|
|
115
|
+
* arithmetic: `01:02:03:04 at 30 fps` / `... @ 30 fps` (a `Uom(totalFrames,
|
|
116
|
+
* "timecode@<fps>")` value. See `vm/Value.ts`'s timecode section)
|
|
117
|
+
* `timecode + N frames` / `+ <duration>` / `+ timecode` (sum) / `-
|
|
118
|
+
* timecode` (difference), all special-cased in `vm/VM.ts`'s ADD/SUB
|
|
119
|
+
* dispatch (`combineTimecode()`), plus `timecode in frames` and the
|
|
120
|
+
* reverse `<N> frames @ <fps>` -> `HH:MM:SS:FF` string conversion (see
|
|
121
|
+
* `parselets/VideoTimecodeParselet.ts`/`FrameCountParselet.ts` and
|
|
122
|
+
* `timecode/TimecodeMath.ts`). `30 fps × <duration>` frame-count math
|
|
123
|
+
* (below) composes with this unchanged, the fps literal itself is
|
|
124
|
+
* unaffected by any of the above. Likewise, pretty-printing a duration
|
|
125
|
+
* back as `"3 hours 15 min"` (`as timespan`) or `"03:04:05"` (`as
|
|
126
|
+
* laptime`) is a `converters` package (Phase 1c) concern. This package
|
|
127
|
+
* only produces the underlying `Uom` values.
|
|
128
|
+
*
|
|
129
|
+
* Also: timezone conversion (`6pm Sydney in Chicago`), current
|
|
130
|
+
* time/date-in-a-zone queries (`time in Paris`, `date in Vancouver`), and
|
|
131
|
+
* zone-offset deltas (`time difference between Seattle and Moscow`). See
|
|
132
|
+
* `timezones/CityZones.ts`/`ZoneMath.ts`. Built entirely on native
|
|
133
|
+
* `Intl.DateTimeFormat`/IANA data, no external dependency. Results are
|
|
134
|
+
* `String` values (formatted, human-readable), not `Datetime`. This
|
|
135
|
+
* engine's `Datetime` representation is a bare epoch-ms number with no
|
|
136
|
+
* zone tag, so there's no way to represent "this instant, but interpreted
|
|
137
|
+
* through zone X" as anything other than a pre-formatted string; see
|
|
138
|
+
* `ZoneMath.ts`'s doc comment.
|
|
139
|
+
*
|
|
140
|
+
* SCOPE DECISION: the alternate phrasing `<City> time` (e.g. "Tokyo
|
|
141
|
+
* time", city first) is deliberately NOT implemented, it would need
|
|
142
|
+
* "time" registered as a keyword reachable from a BARE city identifier's
|
|
143
|
+
* infix position, and "time" is exactly the kind of common noun this
|
|
144
|
+
* session found real trouble with (see MathPhrasesPackage.ts's "total"
|
|
145
|
+
* regression note). `time in <city>` covers the same need unambiguously.
|
|
146
|
+
*/
|
|
105
147
|
declare const TIME_PACKAGE: IEnginePackage;
|
|
106
148
|
|
|
107
149
|
/** `roll(min, max)`, returns a random integer in the inclusive `[min, max]` range. */
|
package/dist/packages.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-
|
|
1
|
+
export { ARITHMETIC_PACKAGE, BIGINT_PACKAGE, BUILTIN_PACKAGES, CONDITIONALS_PACKAGE, CONVERTERS_PACKAGE, CURRENCY_PACKAGE, DATETIME_PACKAGE, DICE_PACKAGE, FINANCE_PACKAGE, FUNCTION_PACKAGE, LINES_PACKAGE, MAPREDUCE_PACKAGE, MATHPHRASES_PACKAGE, MATRIX_PACKAGE, PERCENTAGE_PACKAGE, SYMBOLIC_PACKAGE, TIME_PACKAGE, UOM_PACKAGE, VARIABLES_PACKAGE, VECTOR_PACKAGE, WEATHER_PACKAGE, createKnowledgePackage, createStocksPackage } from './chunk-GVWHCL2N.js';
|
|
2
2
|
import './chunk-6GCKCWLB.js';
|
|
3
3
|
import './chunk-OFXOTECC.js';
|
|
4
4
|
import './chunk-PFSDGGYL.js';
|
|
5
5
|
import './chunk-YU2CUNFO.js';
|
|
6
6
|
import './chunk-NLNDMWZC.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-MVBEL57Q.js';
|
|
8
8
|
import './chunk-GCM5JHMX.js';
|
|
9
9
|
import './chunk-UKPGSAZW.js';
|
|
10
10
|
import './chunk-75JP4BZX.js';
|
package/dist/vm.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQDMPOAI7_cjs = require('./chunk-QDMPOAI7.cjs');
|
|
4
4
|
require('./chunk-47LRVGOT.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkBXKJLM5R_cjs = require('./chunk-BXKJLM5R.cjs');
|
|
6
6
|
require('./chunk-FEAIOR7N.cjs');
|
|
7
7
|
require('./chunk-2MV4HBKC.cjs');
|
|
8
8
|
require('./chunk-MZOVP3WI.cjs');
|
|
@@ -193,47 +193,47 @@ var VMCheckpointer = class {
|
|
|
193
193
|
|
|
194
194
|
Object.defineProperty(exports, "DependencyGraph", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkQDMPOAI7_cjs.DependencyGraph; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "ScopeManager", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkQDMPOAI7_cjs.ScopeManager; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "createVM", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkQDMPOAI7_cjs.createVM; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "executeBytecode", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkQDMPOAI7_cjs.executeBytecode; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "OpRegistry", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkBXKJLM5R_cjs.OpRegistry; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "allocatePluginFunctionIndex", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkBXKJLM5R_cjs.allocatePluginFunctionIndex; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "binaryOp", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkBXKJLM5R_cjs.binaryOp; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "builtinFunctions", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkBXKJLM5R_cjs.builtinFunctions; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "pluginFunctionRegistry", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkBXKJLM5R_cjs.pluginFunctionRegistry; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "sharedOpRegistry", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkBXKJLM5R_cjs.sharedOpRegistry; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "unifyUom", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkBXKJLM5R_cjs.unifyUom; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "Value", {
|
|
239
239
|
enumerable: true,
|
package/dist/vm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DependencyGraph, ScopeManager, createVM, executeBytecode } from './chunk-
|
|
1
|
+
export { DependencyGraph, ScopeManager, createVM, executeBytecode } from './chunk-BAMZT3GL.js';
|
|
2
2
|
import './chunk-G535KJEG.js';
|
|
3
|
-
export { OpRegistry, allocatePluginFunctionIndex, binaryOp, builtinFunctions, pluginFunctionRegistry, sharedOpRegistry, unifyUom } from './chunk-
|
|
3
|
+
export { OpRegistry, allocatePluginFunctionIndex, binaryOp, builtinFunctions, pluginFunctionRegistry, sharedOpRegistry, unifyUom } from './chunk-MVBEL57Q.js';
|
|
4
4
|
import './chunk-GCM5JHMX.js';
|
|
5
5
|
import './chunk-UKPGSAZW.js';
|
|
6
6
|
import './chunk-75JP4BZX.js';
|
package/package.json
CHANGED