solve-engine 2.16.0 → 2.17.0
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/{BytecodeBuilder-CRYfrFfq.d.cts → BytecodeBuilder-aqVa7Plx.d.cts} +10 -0
- package/dist/{BytecodeBuilder-CRYfrFfq.d.ts → BytecodeBuilder-aqVa7Plx.d.ts} +10 -0
- package/dist/{EngineError-Cv5q4Rbv.d.cts → EngineError-DTk7I7hZ.d.cts} +24 -0
- package/dist/{EngineError-Cv5q4Rbv.d.ts → EngineError-DTk7I7hZ.d.ts} +24 -0
- package/dist/{PackageCompatibility-CHQ4kDT8.d.ts → PackageCompatibility-BGXSFuL9.d.ts} +1 -1
- package/dist/{PackageCompatibility-BET0iFb9.d.cts → PackageCompatibility-BZCqaTOO.d.cts} +1 -1
- package/dist/{PackageRegistry-YmfowYr1.d.ts → PackageRegistry-BRoVOYzg.d.ts} +78 -5
- package/dist/{PackageRegistry-DzmG-Rvu.d.cts → PackageRegistry-rMGnTh7W.d.cts} +78 -5
- package/dist/{Parselet-CK0bNO1l.d.ts → Parselet-B-WyUtX4.d.ts} +5 -1
- package/dist/{Parselet-DOGmj6N6.d.cts → Parselet-Bkbp9CKD.d.cts} +5 -1
- package/dist/{ScopeManager-BtqiTVjG.d.cts → ScopeManager-bCYewWVt.d.cts} +2 -2
- package/dist/{ScopeManager-C6c1WmJD.d.ts → ScopeManager-gB9UengK.d.ts} +2 -2
- package/dist/{TokenNormalizer-BfTHg1qt.d.cts → TokenNormalizer-MXaKLJ_m.d.cts} +182 -0
- package/dist/{TokenNormalizer-d7F1KQFs.d.ts → TokenNormalizer-OTPS0Otq.d.ts} +182 -0
- package/dist/{VMCheckpoints-DJdvpliw.d.ts → VMCheckpoints-BDRY1Kx8.d.ts} +2 -2
- package/dist/{VMCheckpoints-BFDlaGse.d.cts → VMCheckpoints-DGar9Yg8.d.cts} +2 -2
- package/dist/{WorkerError-FH7KXX4_.d.cts → WorkerError-DGBNM3gA.d.cts} +1 -1
- package/dist/{WorkerError-J3v3ix_z.d.ts → WorkerError-DpZgKRks.d.ts} +1 -1
- package/dist/{chunk-UZSPBFZN.js → chunk-2DPKJ2SM.js} +2 -2
- package/dist/{chunk-UZSPBFZN.js.map → chunk-2DPKJ2SM.js.map} +1 -1
- package/dist/{chunk-O3ALJLYC.js → chunk-3GR46UOX.js} +2 -2
- package/dist/{chunk-O3ALJLYC.js.map → chunk-3GR46UOX.js.map} +1 -1
- package/dist/{chunk-PREIL3IB.cjs → chunk-3SSMOVWB.cjs} +2 -2
- package/dist/{chunk-PREIL3IB.cjs.map → chunk-3SSMOVWB.cjs.map} +1 -1
- package/dist/{chunk-XK23K3EJ.js → chunk-4ETS224G.js} +2 -2
- package/dist/{chunk-XK23K3EJ.js.map → chunk-4ETS224G.js.map} +1 -1
- package/dist/{chunk-55B4PSPM.js → chunk-5FMYW44V.js} +2 -2
- package/dist/{chunk-55B4PSPM.js.map → chunk-5FMYW44V.js.map} +1 -1
- package/dist/{chunk-GWCBPITD.cjs → chunk-6YM67DWH.cjs} +3 -3
- package/dist/{chunk-GWCBPITD.cjs.map → chunk-6YM67DWH.cjs.map} +1 -1
- package/dist/{chunk-6U66HQKQ.cjs → chunk-75JLWK4L.cjs} +2 -2
- package/dist/{chunk-6U66HQKQ.cjs.map → chunk-75JLWK4L.cjs.map} +1 -1
- package/dist/chunk-A2RQUV5H.cjs +5 -0
- package/dist/chunk-A2RQUV5H.cjs.map +1 -0
- package/dist/{chunk-VJP4GGCW.cjs → chunk-BNCBB4H5.cjs} +2 -2
- package/dist/{chunk-VJP4GGCW.cjs.map → chunk-BNCBB4H5.cjs.map} +1 -1
- package/dist/{chunk-XZYZS4BP.cjs → chunk-CEURQXSN.cjs} +2 -2
- package/dist/{chunk-XZYZS4BP.cjs.map → chunk-CEURQXSN.cjs.map} +1 -1
- package/dist/chunk-CO2BI6WL.cjs +3 -0
- package/dist/chunk-CO2BI6WL.cjs.map +1 -0
- package/dist/chunk-EN3CDYOS.cjs +2 -0
- package/dist/chunk-EN3CDYOS.cjs.map +1 -0
- package/dist/{chunk-GWJJRH32.js → chunk-EQDT42JG.js} +3 -3
- package/dist/{chunk-GWJJRH32.js.map → chunk-EQDT42JG.js.map} +1 -1
- package/dist/chunk-G2MFTERZ.cjs +2 -0
- package/dist/chunk-G2MFTERZ.cjs.map +1 -0
- package/dist/chunk-G63TMUL2.js +2 -0
- package/dist/chunk-G63TMUL2.js.map +1 -0
- package/dist/{chunk-UUAFDZK6.cjs → chunk-H3JXNH7X.cjs} +3 -3
- package/dist/{chunk-UUAFDZK6.cjs.map → chunk-H3JXNH7X.cjs.map} +1 -1
- package/dist/{chunk-VOTTSM4L.cjs → chunk-HQ2PE6HY.cjs} +3 -3
- package/dist/{chunk-VOTTSM4L.cjs.map → chunk-HQ2PE6HY.cjs.map} +1 -1
- package/dist/chunk-IES365YJ.cjs +3 -0
- package/dist/chunk-IES365YJ.cjs.map +1 -0
- package/dist/{chunk-2XZCLDHJ.cjs → chunk-J7ABVGZH.cjs} +2 -2
- package/dist/{chunk-2XZCLDHJ.cjs.map → chunk-J7ABVGZH.cjs.map} +1 -1
- package/dist/chunk-JVMINMAB.js +2 -0
- package/dist/chunk-JVMINMAB.js.map +1 -0
- package/dist/chunk-JYLNQOPU.cjs +2 -0
- package/dist/chunk-JYLNQOPU.cjs.map +1 -0
- package/dist/{chunk-JOIQFDZQ.js → chunk-KEA5HRL3.js} +2 -2
- package/dist/{chunk-JOIQFDZQ.js.map → chunk-KEA5HRL3.js.map} +1 -1
- package/dist/{chunk-TVE2DNPU.js → chunk-LJFS3XHW.js} +2 -2
- package/dist/{chunk-TVE2DNPU.js.map → chunk-LJFS3XHW.js.map} +1 -1
- package/dist/{chunk-C5MP74ER.js → chunk-MRRMIBHE.js} +2 -2
- package/dist/{chunk-C5MP74ER.js.map → chunk-MRRMIBHE.js.map} +1 -1
- package/dist/chunk-N64ZK6CL.cjs +2 -0
- package/dist/{chunk-EEVUKZ5B.cjs.map → chunk-N64ZK6CL.cjs.map} +1 -1
- package/dist/chunk-O3BDXOQJ.js +2 -0
- package/dist/chunk-O3BDXOQJ.js.map +1 -0
- package/dist/chunk-PIZQIQVM.js +3 -0
- package/dist/chunk-PIZQIQVM.js.map +1 -0
- package/dist/chunk-PS5OA7QU.js +5 -0
- package/dist/chunk-PS5OA7QU.js.map +1 -0
- package/dist/{chunk-IPOU3JTA.js → chunk-QTSDIDAS.js} +3 -3
- package/dist/{chunk-IPOU3JTA.js.map → chunk-QTSDIDAS.js.map} +1 -1
- package/dist/chunk-RHE3LC4Q.js +2 -0
- package/dist/chunk-RHE3LC4Q.js.map +1 -0
- package/dist/{chunk-P4ETODMP.js → chunk-RLTH2H3U.js} +2 -2
- package/dist/{chunk-P4ETODMP.js.map → chunk-RLTH2H3U.js.map} +1 -1
- package/dist/{chunk-WOIJPV7Z.js → chunk-SEOIKHYK.js} +2 -2
- package/dist/{chunk-WOIJPV7Z.js.map → chunk-SEOIKHYK.js.map} +1 -1
- package/dist/{chunk-W5ELYJ4Z.cjs → chunk-TL545PXW.cjs} +2 -2
- package/dist/{chunk-W5ELYJ4Z.cjs.map → chunk-TL545PXW.cjs.map} +1 -1
- package/dist/{chunk-FAGFPVYK.cjs → chunk-TRDOYAKJ.cjs} +2 -2
- package/dist/{chunk-FAGFPVYK.cjs.map → chunk-TRDOYAKJ.cjs.map} +1 -1
- package/dist/chunk-WMISTHB2.cjs +2 -0
- package/dist/chunk-WMISTHB2.cjs.map +1 -0
- package/dist/{chunk-5EX2FCM3.js → chunk-XOEZ7UQI.js} +3 -3
- package/dist/{chunk-5EX2FCM3.js.map → chunk-XOEZ7UQI.js.map} +1 -1
- package/dist/{chunk-EXCFCHAT.cjs → chunk-XPJGDGJF.cjs} +2 -2
- package/dist/{chunk-EXCFCHAT.cjs.map → chunk-XPJGDGJF.cjs.map} +1 -1
- package/dist/chunk-YQV4WGXH.js +3 -0
- package/dist/chunk-YQV4WGXH.js.map +1 -0
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/engine.cjs +1 -1
- package/dist/engine.d.cts +8 -8
- package/dist/engine.d.ts +8 -8
- package/dist/engine.js +1 -1
- package/dist/errors.cjs +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +1 -1
- package/dist/format.cjs +1 -1
- package/dist/format.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/language.d.cts +7 -7
- package/dist/language.d.ts +7 -7
- package/dist/lexer.cjs +1 -1
- package/dist/lexer.js +1 -1
- package/dist/normalizer.cjs +1 -1
- package/dist/normalizer.d.cts +2 -2
- package/dist/normalizer.d.ts +2 -2
- package/dist/normalizer.js +1 -1
- package/dist/packages.cjs +1 -1
- package/dist/packages.d.cts +6 -6
- package/dist/packages.d.ts +6 -6
- package/dist/packages.js +1 -1
- package/dist/parser.cjs +1 -1
- package/dist/parser.d.cts +2 -2
- package/dist/parser.d.ts +2 -2
- package/dist/parser.js +1 -1
- package/dist/resolvers.d.cts +1 -1
- package/dist/resolvers.d.ts +1 -1
- package/dist/testing.cjs +2 -2
- package/dist/testing.d.cts +7 -7
- package/dist/testing.d.ts +7 -7
- package/dist/testing.js +1 -1
- package/dist/uom.cjs +1 -1
- package/dist/uom.d.cts +1 -1
- package/dist/uom.d.ts +1 -1
- package/dist/uom.js +1 -1
- package/dist/vm.cjs +1 -1
- package/dist/vm.d.cts +5 -5
- package/dist/vm.d.ts +5 -5
- package/dist/vm.js +1 -1
- package/dist/worker.cjs +2 -2
- package/dist/worker.d.cts +7 -7
- package/dist/worker.d.ts +7 -7
- package/dist/worker.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-35RNQ2OQ.js +0 -5
- package/dist/chunk-35RNQ2OQ.js.map +0 -1
- package/dist/chunk-5CWVWMIY.js +0 -2
- package/dist/chunk-5CWVWMIY.js.map +0 -1
- package/dist/chunk-7EMZOBGW.cjs +0 -3
- package/dist/chunk-7EMZOBGW.cjs.map +0 -1
- package/dist/chunk-CUDPOWXA.js +0 -2
- package/dist/chunk-CUDPOWXA.js.map +0 -1
- package/dist/chunk-EEVUKZ5B.cjs +0 -2
- package/dist/chunk-ERMNQ5QJ.js +0 -2
- package/dist/chunk-ERMNQ5QJ.js.map +0 -1
- package/dist/chunk-FVQWN5HZ.cjs +0 -2
- package/dist/chunk-FVQWN5HZ.cjs.map +0 -1
- package/dist/chunk-IMXSVHQK.cjs +0 -2
- package/dist/chunk-IMXSVHQK.cjs.map +0 -1
- package/dist/chunk-LZSSAH5D.cjs +0 -2
- package/dist/chunk-LZSSAH5D.cjs.map +0 -1
- package/dist/chunk-NAZ6PGLS.cjs +0 -3
- package/dist/chunk-NAZ6PGLS.cjs.map +0 -1
- package/dist/chunk-Q3PSTNSY.js +0 -2
- package/dist/chunk-Q3PSTNSY.js.map +0 -1
- package/dist/chunk-SPOECHDG.cjs +0 -5
- package/dist/chunk-SPOECHDG.cjs.map +0 -1
- package/dist/chunk-W64AWQCX.js +0 -3
- package/dist/chunk-W64AWQCX.js.map +0 -1
- package/dist/chunk-YAZ4DUJJ.js +0 -3
- package/dist/chunk-YAZ4DUJJ.js.map +0 -1
- package/dist/chunk-Z4BXU65Y.cjs +0 -2
- package/dist/chunk-Z4BXU65Y.cjs.map +0 -1
package/dist/constants.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkCEURQXSN_cjs=require('./chunk-CEURQXSN.cjs');require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"ConfigManager",{enumerable:true,get:function(){return chunkCEURQXSN_cjs.d}});Object.defineProperty(exports,"DEFAULT_CONFIG",{enumerable:true,get:function(){return chunkCEURQXSN_cjs.b}});Object.defineProperty(exports,"ENGINE_VERSION",{enumerable:true,get:function(){return chunkCEURQXSN_cjs.a}});//# sourceMappingURL=constants.cjs.map
|
|
2
2
|
//# sourceMappingURL=constants.cjs.map
|
package/dist/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{d as ConfigManager,b as DEFAULT_CONFIG,a as ENGINE_VERSION}from'./chunk-
|
|
1
|
+
export{d as ConfigManager,b as DEFAULT_CONFIG,a as ENGINE_VERSION}from'./chunk-5FMYW44V.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=constants.js.map
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/engine.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkHQ2PE6HY_cjs=require('./chunk-HQ2PE6HY.cjs');require('./chunk-EFJCC6FJ.cjs');var chunkA2RQUV5H_cjs=require('./chunk-A2RQUV5H.cjs');require('./chunk-JYLNQOPU.cjs'),require('./chunk-NGBBNL4K.cjs'),require('./chunk-LNZNJSRW.cjs'),require('./chunk-TTFO4YDP.cjs'),require('./chunk-BNCBB4H5.cjs'),require('./chunk-HG4NPDN5.cjs'),require('./chunk-H3JXNH7X.cjs'),require('./chunk-R2SZFJTT.cjs'),require('./chunk-WMISTHB2.cjs'),require('./chunk-EN3CDYOS.cjs'),require('./chunk-G2MFTERZ.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-N64ZK6CL.cjs'),require('./chunk-6YM67DWH.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-J7ABVGZH.cjs'),require('./chunk-75JLWK4L.cjs'),require('./chunk-BKSKZA4W.cjs'),require('./chunk-CEURQXSN.cjs'),require('./chunk-XPJGDGJF.cjs'),require('./chunk-Y7O4D3BJ.cjs'),require('./chunk-TRDOYAKJ.cjs'),require('./chunk-5IJD5L3O.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-WEAKI5V5.cjs'),require('./chunk-6QRHN3I6.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"DocumentModel",{enumerable:true,get:function(){return chunkHQ2PE6HY_cjs.a}});Object.defineProperty(exports,"EvalTier",{enumerable:true,get:function(){return chunkHQ2PE6HY_cjs.b}});Object.defineProperty(exports,"ThreeTierEvaluator",{enumerable:true,get:function(){return chunkHQ2PE6HY_cjs.c}});Object.defineProperty(exports,"evaluateDocument",{enumerable:true,get:function(){return chunkHQ2PE6HY_cjs.d}});Object.defineProperty(exports,"AsyncResolutionBatcher",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.h}});Object.defineProperty(exports,"ExpressionEngine",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.n}});Object.defineProperty(exports,"SNAPSHOT_FORMAT",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.d}});Object.defineProperty(exports,"SNAPSHOT_VERSION",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.e}});Object.defineProperty(exports,"SnapshotErrorCodes",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.f}});Object.defineProperty(exports,"checkExpressionComplexity",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.j}});Object.defineProperty(exports,"checkExpressionLength",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.i}});Object.defineProperty(exports,"extractReadsAndWrites",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.k}});Object.defineProperty(exports,"findInlineSolvesInLine",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.m}});Object.defineProperty(exports,"isEmptyLine",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.l}});//# sourceMappingURL=engine.cjs.map
|
|
2
2
|
//# sourceMappingURL=engine.cjs.map
|
package/dist/engine.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { D as DocumentModel, E as ExpressionEngine, V as ViewportRange, r as LineChange, U as UnifiedParsingOptions, P as ParsingResult, s as InlineSolvePosition } from './PackageRegistry-
|
|
2
|
-
export { A as ApplyChangesResult, t as AsyncCachePackageInfo, u as AsyncErrorEvent, v as AsyncResolutionBatcher, w as AsyncResolutionEvent, B as BatcherMetrics, x as BytecodeCacheEntry, y as CacheSnapshot, z as CheckpointSnapshot, a as EngineOptions, b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, F as LineCacheEntryInfo, G as LineState, H as LinesUpdatedEvent, J as ParsedLine, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-
|
|
1
|
+
import { D as DocumentModel, E as ExpressionEngine, V as ViewportRange, r as LineChange, U as UnifiedParsingOptions, P as ParsingResult, s as InlineSolvePosition } from './PackageRegistry-rMGnTh7W.cjs';
|
|
2
|
+
export { A as ApplyChangesResult, t as AsyncCachePackageInfo, u as AsyncErrorEvent, v as AsyncResolutionBatcher, w as AsyncResolutionEvent, B as BatcherMetrics, x as BytecodeCacheEntry, y as CacheSnapshot, z as CheckpointSnapshot, a as EngineOptions, b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, F as LineCacheEntryInfo, G as LineState, H as LinesUpdatedEvent, J as ParsedLine, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-rMGnTh7W.cjs';
|
|
3
3
|
import { V as Value } from './Value-DCTqTSeP.cjs';
|
|
4
|
-
import { a as VMCheckpointer } from './VMCheckpoints-
|
|
4
|
+
import { a as VMCheckpointer } from './VMCheckpoints-DGar9Yg8.cjs';
|
|
5
5
|
import { T as Token } from './Token-CbP_OutD.cjs';
|
|
6
|
-
import { E as EngineError } from './EngineError-
|
|
7
|
-
import { a as BytecodeProgram } from './BytecodeBuilder-
|
|
8
|
-
export { a as DagSnapshot } from './ScopeManager-
|
|
9
|
-
import './Parselet-
|
|
6
|
+
import { E as EngineError } from './EngineError-DTk7I7hZ.cjs';
|
|
7
|
+
import { a as BytecodeProgram } from './BytecodeBuilder-aqVa7Plx.cjs';
|
|
8
|
+
export { a as DagSnapshot } from './ScopeManager-bCYewWVt.cjs';
|
|
9
|
+
import './Parselet-Bkbp9CKD.cjs';
|
|
10
10
|
import './pipeline-B4wf3M1h.cjs';
|
|
11
11
|
import './Lexer-CCHFDcgP.cjs';
|
|
12
12
|
import './resolvers.cjs';
|
|
13
13
|
import '@tanstack/query-core';
|
|
14
|
-
import './TokenNormalizer-
|
|
14
|
+
import './TokenNormalizer-MXaKLJ_m.cjs';
|
|
15
15
|
import './Configuration-BGQn-cJ8.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/engine.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { D as DocumentModel, E as ExpressionEngine, V as ViewportRange, r as LineChange, U as UnifiedParsingOptions, P as ParsingResult, s as InlineSolvePosition } from './PackageRegistry-
|
|
2
|
-
export { A as ApplyChangesResult, t as AsyncCachePackageInfo, u as AsyncErrorEvent, v as AsyncResolutionBatcher, w as AsyncResolutionEvent, B as BatcherMetrics, x as BytecodeCacheEntry, y as CacheSnapshot, z as CheckpointSnapshot, a as EngineOptions, b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, F as LineCacheEntryInfo, G as LineState, H as LinesUpdatedEvent, J as ParsedLine, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-
|
|
1
|
+
import { D as DocumentModel, E as ExpressionEngine, V as ViewportRange, r as LineChange, U as UnifiedParsingOptions, P as ParsingResult, s as InlineSolvePosition } from './PackageRegistry-BRoVOYzg.js';
|
|
2
|
+
export { A as ApplyChangesResult, t as AsyncCachePackageInfo, u as AsyncErrorEvent, v as AsyncResolutionBatcher, w as AsyncResolutionEvent, B as BatcherMetrics, x as BytecodeCacheEntry, y as CacheSnapshot, z as CheckpointSnapshot, a as EngineOptions, b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, F as LineCacheEntryInfo, G as LineState, H as LinesUpdatedEvent, J as ParsedLine, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-BRoVOYzg.js';
|
|
3
3
|
import { V as Value } from './Value-DCTqTSeP.js';
|
|
4
|
-
import { a as VMCheckpointer } from './VMCheckpoints-
|
|
4
|
+
import { a as VMCheckpointer } from './VMCheckpoints-BDRY1Kx8.js';
|
|
5
5
|
import { T as Token } from './Token-CbP_OutD.js';
|
|
6
|
-
import { E as EngineError } from './EngineError-
|
|
7
|
-
import { a as BytecodeProgram } from './BytecodeBuilder-
|
|
8
|
-
export { a as DagSnapshot } from './ScopeManager-
|
|
9
|
-
import './Parselet-
|
|
6
|
+
import { E as EngineError } from './EngineError-DTk7I7hZ.js';
|
|
7
|
+
import { a as BytecodeProgram } from './BytecodeBuilder-aqVa7Plx.js';
|
|
8
|
+
export { a as DagSnapshot } from './ScopeManager-gB9UengK.js';
|
|
9
|
+
import './Parselet-B-WyUtX4.js';
|
|
10
10
|
import './pipeline-QIT4iD8f.js';
|
|
11
11
|
import './Lexer-CqagTewQ.js';
|
|
12
12
|
import './resolvers.js';
|
|
13
13
|
import '@tanstack/query-core';
|
|
14
|
-
import './TokenNormalizer-
|
|
14
|
+
import './TokenNormalizer-OTPS0Otq.js';
|
|
15
15
|
import './Configuration-BGQn-cJ8.js';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/engine.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as DocumentModel,b as EvalTier,c as ThreeTierEvaluator,d as evaluateDocument}from'./chunk-
|
|
1
|
+
export{a as DocumentModel,b as EvalTier,c as ThreeTierEvaluator,d as evaluateDocument}from'./chunk-XOEZ7UQI.js';import'./chunk-RAF57WYO.js';export{h as AsyncResolutionBatcher,n as ExpressionEngine,d as SNAPSHOT_FORMAT,e as SNAPSHOT_VERSION,f as SnapshotErrorCodes,j as checkExpressionComplexity,i as checkExpressionLength,k as extractReadsAndWrites,m as findInlineSolvesInLine,l as isEmptyLine}from'./chunk-PS5OA7QU.js';import'./chunk-JVMINMAB.js';import'./chunk-2RWAXT6O.js';import'./chunk-7E7NXKQ5.js';import'./chunk-MIQBJGGR.js';import'./chunk-RLTH2H3U.js';import'./chunk-JP4JMQOG.js';import'./chunk-QTSDIDAS.js';import'./chunk-XEIDV5JP.js';import'./chunk-RHE3LC4Q.js';import'./chunk-O3BDXOQJ.js';import'./chunk-G63TMUL2.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-SEOIKHYK.js';import'./chunk-EQDT42JG.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-KEA5HRL3.js';import'./chunk-3GR46UOX.js';import'./chunk-DLAKPF5T.js';import'./chunk-5FMYW44V.js';import'./chunk-2DPKJ2SM.js';import'./chunk-JPFCXLJV.js';import'./chunk-LJFS3XHW.js';import'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';import'./chunk-UWAXJX5G.js';import'./chunk-44EOEWGP.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=engine.js.map
|
|
2
2
|
//# sourceMappingURL=engine.js.map
|
package/dist/errors.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk3SSMOVWB_cjs=require('./chunk-3SSMOVWB.cjs'),chunkCO2BI6WL_cjs=require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"WorkerErrorCodes",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.a}});Object.defineProperty(exports,"deserializeEngineError",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.c}});Object.defineProperty(exports,"serializeEngineError",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.b}});Object.defineProperty(exports,"workerCancelledError",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.d}});Object.defineProperty(exports,"workerTerminatedError",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.e}});Object.defineProperty(exports,"workerTransportError",{enumerable:true,get:function(){return chunk3SSMOVWB_cjs.f}});Object.defineProperty(exports,"CoreErrorCodes",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.r}});Object.defineProperty(exports,"EngineError",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.b}});Object.defineProperty(exports,"ErrorCategory",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.a}});Object.defineProperty(exports,"ErrorFactory",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.c}});Object.defineProperty(exports,"andThen",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.k}});Object.defineProperty(exports,"combine",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.n}});Object.defineProperty(exports,"err",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.f}});Object.defineProperty(exports,"isErr",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.h}});Object.defineProperty(exports,"isOk",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.g}});Object.defineProperty(exports,"map",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.i}});Object.defineProperty(exports,"mapErr",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.j}});Object.defineProperty(exports,"match",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.m}});Object.defineProperty(exports,"normalizeUnknownError",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.d}});Object.defineProperty(exports,"ok",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.e}});Object.defineProperty(exports,"throwIfErr",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.o}});Object.defineProperty(exports,"tryCatch",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.p}});Object.defineProperty(exports,"tryCatchAsync",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.q}});Object.defineProperty(exports,"unwrapOr",{enumerable:true,get:function(){return chunkCO2BI6WL_cjs.l}});//# sourceMappingURL=errors.cjs.map
|
|
2
2
|
//# sourceMappingURL=errors.cjs.map
|
package/dist/errors.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EngineError } from './EngineError-
|
|
2
|
-
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-
|
|
3
|
-
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-
|
|
1
|
+
import { E as EngineError } from './EngineError-DTk7I7hZ.cjs';
|
|
2
|
+
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-DTk7I7hZ.cjs';
|
|
3
|
+
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-DGBNM3gA.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A Rust-style `Result<T, E>`, the value half of this engine's error-handling
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EngineError } from './EngineError-
|
|
2
|
-
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-
|
|
3
|
-
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-
|
|
1
|
+
import { E as EngineError } from './EngineError-DTk7I7hZ.js';
|
|
2
|
+
export { C as CoreErrorCode, a as CoreErrorCodes, b as EngineErrorInit, c as ErrorCategory, d as ErrorCode, e as ErrorFactory, S as SourceSpan, n as normalizeUnknownError } from './EngineError-DTk7I7hZ.js';
|
|
3
|
+
export { S as SerializedEngineError, W as WorkerErrorCodes, d as deserializeEngineError, s as serializeEngineError, w as workerCancelledError, a as workerTerminatedError, b as workerTransportError } from './WorkerError-DpZgKRks.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A Rust-style `Result<T, E>`, the value half of this engine's error-handling
|
package/dist/errors.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as WorkerErrorCodes,c as deserializeEngineError,b as serializeEngineError,d as workerCancelledError,e as workerTerminatedError,f as workerTransportError}from'./chunk-
|
|
1
|
+
export{a as WorkerErrorCodes,c as deserializeEngineError,b as serializeEngineError,d as workerCancelledError,e as workerTerminatedError,f as workerTransportError}from'./chunk-4ETS224G.js';export{r as CoreErrorCodes,b as EngineError,a as ErrorCategory,c as ErrorFactory,k as andThen,n as combine,f as err,h as isErr,g as isOk,i as map,j as mapErr,m as match,d as normalizeUnknownError,e as ok,o as throwIfErr,p as tryCatch,q as tryCatchAsync,l as unwrapOr}from'./chunk-PIZQIQVM.js';//# sourceMappingURL=errors.js.map
|
|
2
2
|
//# sourceMappingURL=errors.js.map
|
package/dist/format.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkH3JXNH7X_cjs=require('./chunk-H3JXNH7X.cjs');require('./chunk-R2SZFJTT.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-J7ABVGZH.cjs'),require('./chunk-75JLWK4L.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"DEFAULT_FORMATTING_SETTINGS",{enumerable:true,get:function(){return chunkH3JXNH7X_cjs.a}});Object.defineProperty(exports,"formatMatrixAligned",{enumerable:true,get:function(){return chunkH3JXNH7X_cjs.b}});Object.defineProperty(exports,"formatValue",{enumerable:true,get:function(){return chunkH3JXNH7X_cjs.c}});//# sourceMappingURL=format.cjs.map
|
|
2
2
|
//# sourceMappingURL=format.cjs.map
|
package/dist/format.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as DEFAULT_FORMATTING_SETTINGS,b as formatMatrixAligned,c as formatValue}from'./chunk-
|
|
1
|
+
export{a as DEFAULT_FORMATTING_SETTINGS,b as formatMatrixAligned,c as formatValue}from'./chunk-QTSDIDAS.js';import'./chunk-XEIDV5JP.js';import'./chunk-5TCSFTZD.js';import'./chunk-KEA5HRL3.js';import'./chunk-3GR46UOX.js';import'./chunk-LHLW7JLS.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=format.js.map
|
|
2
2
|
//# sourceMappingURL=format.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';require('./chunk-
|
|
1
|
+
'use strict';require('./chunk-HQ2PE6HY.cjs'),require('./chunk-EFJCC6FJ.cjs');var chunkA2RQUV5H_cjs=require('./chunk-A2RQUV5H.cjs');require('./chunk-JYLNQOPU.cjs'),require('./chunk-NGBBNL4K.cjs'),require('./chunk-LNZNJSRW.cjs'),require('./chunk-TTFO4YDP.cjs'),require('./chunk-BNCBB4H5.cjs'),require('./chunk-HG4NPDN5.cjs'),require('./chunk-H3JXNH7X.cjs'),require('./chunk-R2SZFJTT.cjs');var chunkIES365YJ_cjs=require('./chunk-IES365YJ.cjs');require('./chunk-TL545PXW.cjs'),require('./chunk-WMISTHB2.cjs');var chunkEN3CDYOS_cjs=require('./chunk-EN3CDYOS.cjs');require('./chunk-G2MFTERZ.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-N64ZK6CL.cjs'),require('./chunk-6YM67DWH.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-J7ABVGZH.cjs');var chunk75JLWK4L_cjs=require('./chunk-75JLWK4L.cjs');require('./chunk-BKSKZA4W.cjs');var chunkCEURQXSN_cjs=require('./chunk-CEURQXSN.cjs');require('./chunk-XPJGDGJF.cjs'),require('./chunk-Y7O4D3BJ.cjs'),require('./chunk-TRDOYAKJ.cjs'),require('./chunk-5IJD5L3O.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-WEAKI5V5.cjs'),require('./chunk-6QRHN3I6.cjs');var chunkCO2BI6WL_cjs=require('./chunk-CO2BI6WL.cjs');var r={DEFINE_FUNCTION_INVALID_NAME:"DEFINE_FUNCTION_INVALID_NAME",DEFINE_FUNCTION_INVALID_SPEC:"DEFINE_FUNCTION_INVALID_SPEC",DEFINE_FUNCTION_ARITY_MISMATCH:"DEFINE_FUNCTION_ARITY_MISMATCH",DEFINE_FUNCTION_ARGUMENT_TYPE:"DEFINE_FUNCTION_ARGUMENT_TYPE",DEFINE_FUNCTION_RETURN_TYPE:"DEFINE_FUNCTION_RETURN_TYPE"},b=/^[a-z_][a-z0-9_]*$/i,y=new Set(["number","string","boolean"]);function u(e){return e===1?"1 argument":`${e} arguments`}function f(e){switch(e.type){case 0:case 1:return "a number";case 3:return "a string";case 10:return "a boolean";case 2:return "a big integer";case 5:return "a percentage";case 6:return "a value with a unit";case 4:return "a date";case 7:return "a matrix";case 8:return "a range";case 9:return "a symbolic expression";default:return "an unsupported value"}}function A(e,n,t){switch(n.type){case "number":if(e.type===0||e.type===1)return e.toNumber();break;case "string":if(e.type===3)return e.value;break;case "boolean":if(e.type===10)return e.value;break}throw chunkCO2BI6WL_cjs.c.execution({code:r.DEFINE_FUNCTION_ARGUMENT_TYPE,message:`${t}() expects "${n.name}" to be a ${n.type}, but was given ${f(e)}`,expected:`a ${n.type}`,found:f(e),context:{functionName:t,argName:n.name,expectedType:n.type}})}function S(e,n,t){switch(n){case "number":if(typeof e=="number")return chunk75JLWK4L_cjs.n(e);break;case "string":if(typeof e=="string")return chunk75JLWK4L_cjs.t(e);break;case "boolean":if(typeof e=="boolean")return chunk75JLWK4L_cjs.L(e);break}throw chunkCO2BI6WL_cjs.c.internal({code:r.DEFINE_FUNCTION_RETURN_TYPE,message:`${t}() is declared to return a ${n}, but its implementation returned ${typeof e}`,expected:`a ${n}`,found:typeof e,context:{functionName:t,expectedType:n}})}var p=class{constructor(n){this.fnName=n;this.category="Function";}parse(n,t,i){n.consume("LPAREN");let a=0;if(n.peek()?.type!=="RPAREN")for(n.parseExpression(chunkEN3CDYOS_cjs.a.Lowest,i),a++;n.match("COMMA");)n.parseExpression(chunkEN3CDYOS_cjs.a.Lowest,i),a++;n.consume("RPAREN"),i.emitPluginCall(this.fnName,a);}};function P(e){let n=e.args.length;return t=>{if(t.length!==n)throw chunkCO2BI6WL_cjs.c.execution({code:r.DEFINE_FUNCTION_ARITY_MISMATCH,message:`${e.name}() takes ${u(n)}, but was given ${t.length===0?"none":u(t.length)}`,expected:u(n),found:t.length===0?"none":u(t.length),context:{functionName:e.name,expected:n,actual:t.length}});let i=new Array(n);for(let s=0;s<n;s++)i[s]=A(t[s],e.args[s],e.name);let a=e.call(...i);return S(a,e.returns,e.name)}}function V(e){if(typeof e?.name!="string"||!b.test(e.name))throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_NAME,message:`defineFunction: name must be a single identifier, got ${JSON.stringify(e?.name)}`,suggestion:'e.g. "vat" or "net_price"',context:{name:e?.name}});if(!Array.isArray(e.args))throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" args must be an array`,context:{name:e.name}});for(let n of e.args){if(typeof n?.name!="string"||n.name.length===0)throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has an argument with no name`,context:{name:e.name}});if(!y.has(n.type))throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" argument "${n.name}" has unsupported type ${JSON.stringify(n.type)}`,suggestion:"supported argument types are number, string, boolean",context:{name:e.name,argName:n.name,type:n.type}})}if(!y.has(e.returns))throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has unsupported return type ${JSON.stringify(e.returns)}`,suggestion:"supported return types are number, string, boolean",context:{name:e.name,returns:e.returns}});if(typeof e.call!="function")throw chunkCO2BI6WL_cjs.c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" is missing a call implementation`,context:{name:e.name}})}function O(e){V(e);let n=e.name,t=`DEFINE_FN_${n.toUpperCase()}`;return {name:`solve-fn-${n}`,lexerVocabulary:{keywords:{[n.toLowerCase()]:t}},prefixParselets:{[t]:new p(n)},pluginFunctions:{[n]:P(e)}}}function h(e={}){let{extraPackages:n=[],...t}=e;return new chunkA2RQUV5H_cjs.n({...t,packages:n.length>0?[...chunkIES365YJ_cjs.y,...n]:chunkIES365YJ_cjs.y})}Object.defineProperty(exports,"ExpressionEngine",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.n}});Object.defineProperty(exports,"SNAPSHOT_FORMAT",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.d}});Object.defineProperty(exports,"SNAPSHOT_VERSION",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.e}});Object.defineProperty(exports,"SnapshotErrorCodes",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.f}});Object.defineProperty(exports,"assertEngineVersionCompatible",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.c}});Object.defineProperty(exports,"checkEngineVersionCompatibility",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.b}});Object.defineProperty(exports,"checkPackageCompatibility",{enumerable:true,get:function(){return chunkA2RQUV5H_cjs.a}});Object.defineProperty(exports,"ENGINE_VERSION",{enumerable:true,get:function(){return chunkCEURQXSN_cjs.a}});exports.DefineFunctionErrorCodes=r;exports.createEngine=h;exports.defineFunction=O;//# sourceMappingURL=index.cjs.map
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-
|
|
2
|
-
export { b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-
|
|
3
|
-
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-
|
|
1
|
+
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-rMGnTh7W.cjs';
|
|
2
|
+
export { b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-rMGnTh7W.cjs';
|
|
3
|
+
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-BZCqaTOO.cjs';
|
|
4
4
|
export { E as EngineConfigOverride } from './Configuration-BGQn-cJ8.cjs';
|
|
5
5
|
export { ENGINE_VERSION } from './constants.cjs';
|
|
6
|
-
import './Parselet-
|
|
7
|
-
import './BytecodeBuilder-
|
|
6
|
+
import './Parselet-Bkbp9CKD.cjs';
|
|
7
|
+
import './BytecodeBuilder-aqVa7Plx.cjs';
|
|
8
8
|
import './Token-CbP_OutD.cjs';
|
|
9
9
|
import './pipeline-B4wf3M1h.cjs';
|
|
10
10
|
import './Value-DCTqTSeP.cjs';
|
|
11
11
|
import './Lexer-CCHFDcgP.cjs';
|
|
12
12
|
import './resolvers.cjs';
|
|
13
13
|
import '@tanstack/query-core';
|
|
14
|
-
import './TokenNormalizer-
|
|
15
|
-
import './ScopeManager-
|
|
16
|
-
import './EngineError-
|
|
14
|
+
import './TokenNormalizer-MXaKLJ_m.cjs';
|
|
15
|
+
import './ScopeManager-bCYewWVt.cjs';
|
|
16
|
+
import './EngineError-DTk7I7hZ.cjs';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A higher-level, declarative way to contribute a single `name(args)`
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-
|
|
2
|
-
export { b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-
|
|
3
|
-
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-
|
|
1
|
+
import { I as IEnginePackage, a as EngineOptions, E as ExpressionEngine } from './PackageRegistry-BRoVOYzg.js';
|
|
2
|
+
export { b as EngineRestoreOptions, c as EngineSnapshot, d as Explanation, e as ExplanationStep, S as SNAPSHOT_FORMAT, f as SNAPSHOT_VERSION, g as SerializedAnonymousBody, h as SerializedBytecode, i as SerializedDecimal, j as SerializedLineCacheEntry, k as SerializedNumber, l as SerializedRational, m as SerializedUserFunction, n as SerializedValue, o as SnapshotErrorCodes } from './PackageRegistry-BRoVOYzg.js';
|
|
3
|
+
export { a as CompatibilityConflict, b as CompatibilityConflictKind, C as CompatibilityReport, c as CompatibilitySeverity, d as checkPackageCompatibility } from './PackageCompatibility-BGXSFuL9.js';
|
|
4
4
|
export { E as EngineConfigOverride } from './Configuration-BGQn-cJ8.js';
|
|
5
5
|
export { ENGINE_VERSION } from './constants.js';
|
|
6
|
-
import './Parselet-
|
|
7
|
-
import './BytecodeBuilder-
|
|
6
|
+
import './Parselet-B-WyUtX4.js';
|
|
7
|
+
import './BytecodeBuilder-aqVa7Plx.js';
|
|
8
8
|
import './Token-CbP_OutD.js';
|
|
9
9
|
import './pipeline-QIT4iD8f.js';
|
|
10
10
|
import './Value-DCTqTSeP.js';
|
|
11
11
|
import './Lexer-CqagTewQ.js';
|
|
12
12
|
import './resolvers.js';
|
|
13
13
|
import '@tanstack/query-core';
|
|
14
|
-
import './TokenNormalizer-
|
|
15
|
-
import './ScopeManager-
|
|
16
|
-
import './EngineError-
|
|
14
|
+
import './TokenNormalizer-OTPS0Otq.js';
|
|
15
|
+
import './ScopeManager-gB9UengK.js';
|
|
16
|
+
import './EngineError-DTk7I7hZ.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A higher-level, declarative way to contribute a single `name(args)`
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-
|
|
1
|
+
import'./chunk-XOEZ7UQI.js';import'./chunk-RAF57WYO.js';import {n}from'./chunk-PS5OA7QU.js';export{n as ExpressionEngine,d as SNAPSHOT_FORMAT,e as SNAPSHOT_VERSION,f as SnapshotErrorCodes,c as assertEngineVersionCompatible,b as checkEngineVersionCompatibility,a as checkPackageCompatibility}from'./chunk-PS5OA7QU.js';import'./chunk-JVMINMAB.js';import'./chunk-2RWAXT6O.js';import'./chunk-7E7NXKQ5.js';import'./chunk-MIQBJGGR.js';import'./chunk-RLTH2H3U.js';import'./chunk-JP4JMQOG.js';import'./chunk-QTSDIDAS.js';import'./chunk-XEIDV5JP.js';import {y as y$1}from'./chunk-YQV4WGXH.js';import'./chunk-MRRMIBHE.js';import'./chunk-RHE3LC4Q.js';import {a}from'./chunk-O3BDXOQJ.js';import'./chunk-G63TMUL2.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-SEOIKHYK.js';import'./chunk-EQDT42JG.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-KEA5HRL3.js';import {L,t,n as n$1}from'./chunk-3GR46UOX.js';import'./chunk-DLAKPF5T.js';export{a as ENGINE_VERSION}from'./chunk-5FMYW44V.js';import'./chunk-2DPKJ2SM.js';import'./chunk-JPFCXLJV.js';import'./chunk-LJFS3XHW.js';import'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';import'./chunk-UWAXJX5G.js';import'./chunk-44EOEWGP.js';import {c}from'./chunk-PIZQIQVM.js';var r={DEFINE_FUNCTION_INVALID_NAME:"DEFINE_FUNCTION_INVALID_NAME",DEFINE_FUNCTION_INVALID_SPEC:"DEFINE_FUNCTION_INVALID_SPEC",DEFINE_FUNCTION_ARITY_MISMATCH:"DEFINE_FUNCTION_ARITY_MISMATCH",DEFINE_FUNCTION_ARGUMENT_TYPE:"DEFINE_FUNCTION_ARGUMENT_TYPE",DEFINE_FUNCTION_RETURN_TYPE:"DEFINE_FUNCTION_RETURN_TYPE"},b=/^[a-z_][a-z0-9_]*$/i,y=new Set(["number","string","boolean"]);function u(e){return e===1?"1 argument":`${e} arguments`}function f(e){switch(e.type){case 0:case 1:return "a number";case 3:return "a string";case 10:return "a boolean";case 2:return "a big integer";case 5:return "a percentage";case 6:return "a value with a unit";case 4:return "a date";case 7:return "a matrix";case 8:return "a range";case 9:return "a symbolic expression";default:return "an unsupported value"}}function A(e,n,t){switch(n.type){case "number":if(e.type===0||e.type===1)return e.toNumber();break;case "string":if(e.type===3)return e.value;break;case "boolean":if(e.type===10)return e.value;break}throw c.execution({code:r.DEFINE_FUNCTION_ARGUMENT_TYPE,message:`${t}() expects "${n.name}" to be a ${n.type}, but was given ${f(e)}`,expected:`a ${n.type}`,found:f(e),context:{functionName:t,argName:n.name,expectedType:n.type}})}function S(e,n,t$1){switch(n){case "number":if(typeof e=="number")return n$1(e);break;case "string":if(typeof e=="string")return t(e);break;case "boolean":if(typeof e=="boolean")return L(e);break}throw c.internal({code:r.DEFINE_FUNCTION_RETURN_TYPE,message:`${t$1}() is declared to return a ${n}, but its implementation returned ${typeof e}`,expected:`a ${n}`,found:typeof e,context:{functionName:t$1,expectedType:n}})}var p=class{constructor(n){this.fnName=n;this.category="Function";}parse(n,t,i){n.consume("LPAREN");let a$1=0;if(n.peek()?.type!=="RPAREN")for(n.parseExpression(a.Lowest,i),a$1++;n.match("COMMA");)n.parseExpression(a.Lowest,i),a$1++;n.consume("RPAREN"),i.emitPluginCall(this.fnName,a$1);}};function P(e){let n=e.args.length;return t=>{if(t.length!==n)throw c.execution({code:r.DEFINE_FUNCTION_ARITY_MISMATCH,message:`${e.name}() takes ${u(n)}, but was given ${t.length===0?"none":u(t.length)}`,expected:u(n),found:t.length===0?"none":u(t.length),context:{functionName:e.name,expected:n,actual:t.length}});let i=new Array(n);for(let s=0;s<n;s++)i[s]=A(t[s],e.args[s],e.name);let a=e.call(...i);return S(a,e.returns,e.name)}}function V(e){if(typeof e?.name!="string"||!b.test(e.name))throw c.config({code:r.DEFINE_FUNCTION_INVALID_NAME,message:`defineFunction: name must be a single identifier, got ${JSON.stringify(e?.name)}`,suggestion:'e.g. "vat" or "net_price"',context:{name:e?.name}});if(!Array.isArray(e.args))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" args must be an array`,context:{name:e.name}});for(let n of e.args){if(typeof n?.name!="string"||n.name.length===0)throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has an argument with no name`,context:{name:e.name}});if(!y.has(n.type))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" argument "${n.name}" has unsupported type ${JSON.stringify(n.type)}`,suggestion:"supported argument types are number, string, boolean",context:{name:e.name,argName:n.name,type:n.type}})}if(!y.has(e.returns))throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" has unsupported return type ${JSON.stringify(e.returns)}`,suggestion:"supported return types are number, string, boolean",context:{name:e.name,returns:e.returns}});if(typeof e.call!="function")throw c.config({code:r.DEFINE_FUNCTION_INVALID_SPEC,message:`defineFunction: "${e.name}" is missing a call implementation`,context:{name:e.name}})}function O(e){V(e);let n=e.name,t=`DEFINE_FN_${n.toUpperCase()}`;return {name:`solve-fn-${n}`,lexerVocabulary:{keywords:{[n.toLowerCase()]:t}},prefixParselets:{[t]:new p(n)},pluginFunctions:{[n]:P(e)}}}function h(e={}){let{extraPackages:n$1=[],...t}=e;return new n({...t,packages:n$1.length>0?[...y$1,...n$1]:y$1})}export{r as DefineFunctionErrorCodes,h as createEngine,O as defineFunction};//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/language.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { C as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { L as LanguageService, p as LanguageServiceOptions, q as SemanticToken } from './PackageRegistry-
|
|
1
|
+
import { C as CompletionItem } from './PackageRegistry-rMGnTh7W.cjs';
|
|
2
|
+
export { L as LanguageService, p as LanguageServiceOptions, q as SemanticToken } from './PackageRegistry-rMGnTh7W.cjs';
|
|
3
3
|
import { e as TokenCategory } from './Lexer-CCHFDcgP.cjs';
|
|
4
|
-
import './Parselet-
|
|
5
|
-
import './BytecodeBuilder-
|
|
4
|
+
import './Parselet-Bkbp9CKD.cjs';
|
|
5
|
+
import './BytecodeBuilder-aqVa7Plx.cjs';
|
|
6
6
|
import './Token-CbP_OutD.cjs';
|
|
7
7
|
import './pipeline-B4wf3M1h.cjs';
|
|
8
8
|
import './Value-DCTqTSeP.cjs';
|
|
9
9
|
import './resolvers.cjs';
|
|
10
10
|
import '@tanstack/query-core';
|
|
11
|
-
import './TokenNormalizer-
|
|
12
|
-
import './ScopeManager-
|
|
13
|
-
import './EngineError-
|
|
11
|
+
import './TokenNormalizer-MXaKLJ_m.cjs';
|
|
12
|
+
import './ScopeManager-bCYewWVt.cjs';
|
|
13
|
+
import './EngineError-DTk7I7hZ.cjs';
|
|
14
14
|
import './Configuration-BGQn-cJ8.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
package/dist/language.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { C as CompletionItem } from './PackageRegistry-
|
|
2
|
-
export { L as LanguageService, p as LanguageServiceOptions, q as SemanticToken } from './PackageRegistry-
|
|
1
|
+
import { C as CompletionItem } from './PackageRegistry-BRoVOYzg.js';
|
|
2
|
+
export { L as LanguageService, p as LanguageServiceOptions, q as SemanticToken } from './PackageRegistry-BRoVOYzg.js';
|
|
3
3
|
import { e as TokenCategory } from './Lexer-CqagTewQ.js';
|
|
4
|
-
import './Parselet-
|
|
5
|
-
import './BytecodeBuilder-
|
|
4
|
+
import './Parselet-B-WyUtX4.js';
|
|
5
|
+
import './BytecodeBuilder-aqVa7Plx.js';
|
|
6
6
|
import './Token-CbP_OutD.js';
|
|
7
7
|
import './pipeline-QIT4iD8f.js';
|
|
8
8
|
import './Value-DCTqTSeP.js';
|
|
9
9
|
import './resolvers.js';
|
|
10
10
|
import '@tanstack/query-core';
|
|
11
|
-
import './TokenNormalizer-
|
|
12
|
-
import './ScopeManager-
|
|
13
|
-
import './EngineError-
|
|
11
|
+
import './TokenNormalizer-OTPS0Otq.js';
|
|
12
|
+
import './ScopeManager-gB9UengK.js';
|
|
13
|
+
import './EngineError-DTk7I7hZ.js';
|
|
14
14
|
import './Configuration-BGQn-cJ8.js';
|
|
15
15
|
|
|
16
16
|
/**
|
package/dist/lexer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXPJGDGJF_cjs=require('./chunk-XPJGDGJF.cjs');require('./chunk-Y7O4D3BJ.cjs');var chunkTRDOYAKJ_cjs=require('./chunk-TRDOYAKJ.cjs'),chunk5IJD5L3O_cjs=require('./chunk-5IJD5L3O.cjs');require('./chunk-S3DFU33X.cjs');var chunkWEAKI5V5_cjs=require('./chunk-WEAKI5V5.cjs');require('./chunk-6QRHN3I6.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"Lexer",{enumerable:true,get:function(){return chunkXPJGDGJF_cjs.b}});Object.defineProperty(exports,"LexerState",{enumerable:true,get:function(){return chunkXPJGDGJF_cjs.a}});Object.defineProperty(exports,"buildTokenLookup",{enumerable:true,get:function(){return chunkXPJGDGJF_cjs.d}});Object.defineProperty(exports,"sharedLexer",{enumerable:true,get:function(){return chunkXPJGDGJF_cjs.c}});Object.defineProperty(exports,"ExpressionLexer",{enumerable:true,get:function(){return chunkTRDOYAKJ_cjs.b}});Object.defineProperty(exports,"LexerToken",{enumerable:true,get:function(){return chunkTRDOYAKJ_cjs.a}});Object.defineProperty(exports,"TokenTypes",{enumerable:true,get:function(){return chunk5IJD5L3O_cjs.a}});Object.defineProperty(exports,"registerAllTokenTypes",{enumerable:true,get:function(){return chunk5IJD5L3O_cjs.e}});Object.defineProperty(exports,"registerTokenType",{enumerable:true,get:function(){return chunk5IJD5L3O_cjs.b}});Object.defineProperty(exports,"tokenTypeId",{enumerable:true,get:function(){return chunk5IJD5L3O_cjs.c}});Object.defineProperty(exports,"tokenTypeName",{enumerable:true,get:function(){return chunk5IJD5L3O_cjs.d}});Object.defineProperty(exports,"knownUnits",{enumerable:true,get:function(){return chunkWEAKI5V5_cjs.a}});//# sourceMappingURL=lexer.cjs.map
|
|
2
2
|
//# sourceMappingURL=lexer.cjs.map
|
package/dist/lexer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as Lexer,a as LexerState,d as buildTokenLookup,c as sharedLexer}from'./chunk-
|
|
1
|
+
export{b as Lexer,a as LexerState,d as buildTokenLookup,c as sharedLexer}from'./chunk-2DPKJ2SM.js';import'./chunk-JPFCXLJV.js';export{b as ExpressionLexer,a as LexerToken}from'./chunk-LJFS3XHW.js';export{a as TokenTypes,e as registerAllTokenTypes,b as registerTokenType,c as tokenTypeId,d as tokenTypeName}from'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';export{a as knownUnits}from'./chunk-UWAXJX5G.js';import'./chunk-44EOEWGP.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=lexer.js.map
|
|
2
2
|
//# sourceMappingURL=lexer.js.map
|
package/dist/normalizer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';require('./chunk-NGBBNL4K.cjs');var
|
|
1
|
+
'use strict';require('./chunk-NGBBNL4K.cjs');var chunkG2MFTERZ_cjs=require('./chunk-G2MFTERZ.cjs');require('./chunk-TRDOYAKJ.cjs'),require('./chunk-5IJD5L3O.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-WEAKI5V5.cjs'),require('./chunk-6QRHN3I6.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"BUILTIN_PHRASES",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.g}});Object.defineProperty(exports,"PhraseTrie",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.a}});Object.defineProperty(exports,"TokenNormalizer",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.c}});Object.defineProperty(exports,"createBuiltinNormalizerRules",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.f}});Object.defineProperty(exports,"createFusedToken",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.b}});Object.defineProperty(exports,"implicitMultiplyRule",{enumerable:true,get:function(){return chunkG2MFTERZ_cjs.d}});//# sourceMappingURL=normalizer.cjs.map
|
|
2
2
|
//# sourceMappingURL=normalizer.cjs.map
|
package/dist/normalizer.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizerMatch, a as NormalizerRule } from './TokenNormalizer-
|
|
2
|
-
export { b as NormalizerOptions, T as TokenFusion, c as TokenNormalizer, d as createFusedToken } from './TokenNormalizer-
|
|
1
|
+
import { N as NormalizerMatch, a as NormalizerRule } from './TokenNormalizer-MXaKLJ_m.cjs';
|
|
2
|
+
export { b as NormalizerOptions, T as TokenFusion, c as TokenNormalizer, d as createFusedToken } from './TokenNormalizer-MXaKLJ_m.cjs';
|
|
3
3
|
import { T as Token } from './Token-CbP_OutD.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/normalizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizerMatch, a as NormalizerRule } from './TokenNormalizer-
|
|
2
|
-
export { b as NormalizerOptions, T as TokenFusion, c as TokenNormalizer, d as createFusedToken } from './TokenNormalizer-
|
|
1
|
+
import { N as NormalizerMatch, a as NormalizerRule } from './TokenNormalizer-OTPS0Otq.js';
|
|
2
|
+
export { b as NormalizerOptions, T as TokenFusion, c as TokenNormalizer, d as createFusedToken } from './TokenNormalizer-OTPS0Otq.js';
|
|
3
3
|
import { T as Token } from './Token-CbP_OutD.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/normalizer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-2RWAXT6O.js';export{g as BUILTIN_PHRASES,a as PhraseTrie,c as TokenNormalizer,f as createBuiltinNormalizerRules,b as createFusedToken,d as implicitMultiplyRule}from'./chunk-
|
|
1
|
+
import'./chunk-2RWAXT6O.js';export{g as BUILTIN_PHRASES,a as PhraseTrie,c as TokenNormalizer,f as createBuiltinNormalizerRules,b as createFusedToken,d as implicitMultiplyRule}from'./chunk-G63TMUL2.js';import'./chunk-LJFS3XHW.js';import'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';import'./chunk-UWAXJX5G.js';import'./chunk-44EOEWGP.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=normalizer.js.map
|
|
2
2
|
//# sourceMappingURL=normalizer.js.map
|
package/dist/packages.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkIES365YJ_cjs=require('./chunk-IES365YJ.cjs');require('./chunk-TL545PXW.cjs');var chunkWMISTHB2_cjs=require('./chunk-WMISTHB2.cjs');require('./chunk-EN3CDYOS.cjs'),require('./chunk-G2MFTERZ.cjs'),require('./chunk-UURM7P3P.cjs'),require('./chunk-ZLRJ7TDP.cjs'),require('./chunk-N64ZK6CL.cjs'),require('./chunk-6YM67DWH.cjs'),require('./chunk-ABVDKMNF.cjs'),require('./chunk-TLG7VZRX.cjs'),require('./chunk-5TVI2UPZ.cjs'),require('./chunk-J7ABVGZH.cjs'),require('./chunk-75JLWK4L.cjs'),require('./chunk-BKSKZA4W.cjs'),require('./chunk-TRDOYAKJ.cjs'),require('./chunk-5IJD5L3O.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-WEAKI5V5.cjs'),require('./chunk-6QRHN3I6.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"ARITHMETIC_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.a}});Object.defineProperty(exports,"BIGINT_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.n}});Object.defineProperty(exports,"BUILTIN_PACKAGES",{enumerable:true,get:function(){return chunkIES365YJ_cjs.y}});Object.defineProperty(exports,"CONDITIONALS_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.o}});Object.defineProperty(exports,"CONVERTERS_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.p}});Object.defineProperty(exports,"CURRENCY_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.j}});Object.defineProperty(exports,"DATETIME_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.d}});Object.defineProperty(exports,"DICE_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.f}});Object.defineProperty(exports,"FINANCE_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.r}});Object.defineProperty(exports,"FUNCTION_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.c}});Object.defineProperty(exports,"LINES_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.v}});Object.defineProperty(exports,"MAPREDUCE_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.m}});Object.defineProperty(exports,"MATHPHRASES_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.q}});Object.defineProperty(exports,"MATRIX_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.l}});Object.defineProperty(exports,"PERCENTAGE_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.b}});Object.defineProperty(exports,"TABLES_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.w}});Object.defineProperty(exports,"TAGS_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.x}});Object.defineProperty(exports,"TIME_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.e}});Object.defineProperty(exports,"UOM_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.h}});Object.defineProperty(exports,"VARIABLES_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.g}});Object.defineProperty(exports,"VECTOR_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.k}});Object.defineProperty(exports,"WEATHER_PACKAGE",{enumerable:true,get:function(){return chunkIES365YJ_cjs.s}});Object.defineProperty(exports,"createCurrencyPackage",{enumerable:true,get:function(){return chunkIES365YJ_cjs.i}});Object.defineProperty(exports,"createKnowledgePackage",{enumerable:true,get:function(){return chunkIES365YJ_cjs.u}});Object.defineProperty(exports,"createStocksPackage",{enumerable:true,get:function(){return chunkIES365YJ_cjs.t}});Object.defineProperty(exports,"SYMBOLIC_PACKAGE",{enumerable:true,get:function(){return chunkWMISTHB2_cjs.a}});//# sourceMappingURL=packages.cjs.map
|
|
2
2
|
//# sourceMappingURL=packages.cjs.map
|
package/dist/packages.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
import './Parselet-
|
|
3
|
-
import './BytecodeBuilder-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-rMGnTh7W.cjs';
|
|
2
|
+
import './Parselet-Bkbp9CKD.cjs';
|
|
3
|
+
import './BytecodeBuilder-aqVa7Plx.cjs';
|
|
4
4
|
import './Token-CbP_OutD.cjs';
|
|
5
5
|
import './pipeline-B4wf3M1h.cjs';
|
|
6
6
|
import './Value-DCTqTSeP.cjs';
|
|
7
7
|
import './Lexer-CCHFDcgP.cjs';
|
|
8
8
|
import './resolvers.cjs';
|
|
9
9
|
import '@tanstack/query-core';
|
|
10
|
-
import './TokenNormalizer-
|
|
11
|
-
import './ScopeManager-
|
|
12
|
-
import './EngineError-
|
|
10
|
+
import './TokenNormalizer-MXaKLJ_m.cjs';
|
|
11
|
+
import './ScopeManager-bCYewWVt.cjs';
|
|
12
|
+
import './EngineError-DTk7I7hZ.cjs';
|
|
13
13
|
import './Configuration-BGQn-cJ8.cjs';
|
|
14
14
|
|
|
15
15
|
/** Core arithmetic: numbers, `()` grouping, `pi`/`e` constants, `+ - * / % ^`, bitwise `<< >> & | ^`, and their `*_by` word forms. */
|
package/dist/packages.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I as IEnginePackage } from './PackageRegistry-
|
|
2
|
-
import './Parselet-
|
|
3
|
-
import './BytecodeBuilder-
|
|
1
|
+
import { I as IEnginePackage } from './PackageRegistry-BRoVOYzg.js';
|
|
2
|
+
import './Parselet-B-WyUtX4.js';
|
|
3
|
+
import './BytecodeBuilder-aqVa7Plx.js';
|
|
4
4
|
import './Token-CbP_OutD.js';
|
|
5
5
|
import './pipeline-QIT4iD8f.js';
|
|
6
6
|
import './Value-DCTqTSeP.js';
|
|
7
7
|
import './Lexer-CqagTewQ.js';
|
|
8
8
|
import './resolvers.js';
|
|
9
9
|
import '@tanstack/query-core';
|
|
10
|
-
import './TokenNormalizer-
|
|
11
|
-
import './ScopeManager-
|
|
12
|
-
import './EngineError-
|
|
10
|
+
import './TokenNormalizer-OTPS0Otq.js';
|
|
11
|
+
import './ScopeManager-gB9UengK.js';
|
|
12
|
+
import './EngineError-DTk7I7hZ.js';
|
|
13
13
|
import './Configuration-BGQn-cJ8.js';
|
|
14
14
|
|
|
15
15
|
/** Core arithmetic: numbers, `()` grouping, `pi`/`e` constants, `+ - * / % ^`, bitwise `<< >> & | ^`, and their `*_by` word forms. */
|
package/dist/packages.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ARITHMETIC_PACKAGE,n as BIGINT_PACKAGE,y as BUILTIN_PACKAGES,o as CONDITIONALS_PACKAGE,p as CONVERTERS_PACKAGE,j as CURRENCY_PACKAGE,d as DATETIME_PACKAGE,f as DICE_PACKAGE,r as FINANCE_PACKAGE,c as FUNCTION_PACKAGE,v as LINES_PACKAGE,m as MAPREDUCE_PACKAGE,q as MATHPHRASES_PACKAGE,l as MATRIX_PACKAGE,b as PERCENTAGE_PACKAGE,w as TABLES_PACKAGE,x as TAGS_PACKAGE,e as TIME_PACKAGE,h as UOM_PACKAGE,g as VARIABLES_PACKAGE,k as VECTOR_PACKAGE,s as WEATHER_PACKAGE,i as createCurrencyPackage,u as createKnowledgePackage,t as createStocksPackage}from'./chunk-
|
|
1
|
+
export{a as ARITHMETIC_PACKAGE,n as BIGINT_PACKAGE,y as BUILTIN_PACKAGES,o as CONDITIONALS_PACKAGE,p as CONVERTERS_PACKAGE,j as CURRENCY_PACKAGE,d as DATETIME_PACKAGE,f as DICE_PACKAGE,r as FINANCE_PACKAGE,c as FUNCTION_PACKAGE,v as LINES_PACKAGE,m as MAPREDUCE_PACKAGE,q as MATHPHRASES_PACKAGE,l as MATRIX_PACKAGE,b as PERCENTAGE_PACKAGE,w as TABLES_PACKAGE,x as TAGS_PACKAGE,e as TIME_PACKAGE,h as UOM_PACKAGE,g as VARIABLES_PACKAGE,k as VECTOR_PACKAGE,s as WEATHER_PACKAGE,i as createCurrencyPackage,u as createKnowledgePackage,t as createStocksPackage}from'./chunk-YQV4WGXH.js';import'./chunk-MRRMIBHE.js';export{a as SYMBOLIC_PACKAGE}from'./chunk-RHE3LC4Q.js';import'./chunk-O3BDXOQJ.js';import'./chunk-G63TMUL2.js';import'./chunk-76F3LCIL.js';import'./chunk-TCZSPH4A.js';import'./chunk-SEOIKHYK.js';import'./chunk-EQDT42JG.js';import'./chunk-TZYMXNIB.js';import'./chunk-HFKDWQUL.js';import'./chunk-5TCSFTZD.js';import'./chunk-KEA5HRL3.js';import'./chunk-3GR46UOX.js';import'./chunk-DLAKPF5T.js';import'./chunk-LJFS3XHW.js';import'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';import'./chunk-UWAXJX5G.js';import'./chunk-44EOEWGP.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=packages.js.map
|
|
2
2
|
//# sourceMappingURL=packages.js.map
|
package/dist/parser.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkJYLNQOPU_cjs=require('./chunk-JYLNQOPU.cjs');require('./chunk-HG4NPDN5.cjs');var chunkEN3CDYOS_cjs=require('./chunk-EN3CDYOS.cjs'),chunkABVDKMNF_cjs=require('./chunk-ABVDKMNF.cjs');require('./chunk-5IJD5L3O.cjs'),require('./chunk-S3DFU33X.cjs'),require('./chunk-CO2BI6WL.cjs');Object.defineProperty(exports,"ParseletRegistry",{enumerable:true,get:function(){return chunkJYLNQOPU_cjs.b}});Object.defineProperty(exports,"Parser",{enumerable:true,get:function(){return chunkJYLNQOPU_cjs.a}});Object.defineProperty(exports,"PrecedenceParser",{enumerable:true,get:function(){return chunkJYLNQOPU_cjs.a}});Object.defineProperty(exports,"sharedParseletRegistry",{enumerable:true,get:function(){return chunkJYLNQOPU_cjs.c}});Object.defineProperty(exports,"BindingPower",{enumerable:true,get:function(){return chunkEN3CDYOS_cjs.a}});Object.defineProperty(exports,"BytecodeBuilder",{enumerable:true,get:function(){return chunkEN3CDYOS_cjs.d}});Object.defineProperty(exports,"buildBindingPowerTable",{enumerable:true,get:function(){return chunkEN3CDYOS_cjs.b}});Object.defineProperty(exports,"invalidateBindingPowerTable",{enumerable:true,get:function(){return chunkEN3CDYOS_cjs.c}});Object.defineProperty(exports,"OpCode",{enumerable:true,get:function(){return chunkABVDKMNF_cjs.a}});Object.defineProperty(exports,"getOpCodeName",{enumerable:true,get:function(){return chunkABVDKMNF_cjs.b}});//# sourceMappingURL=parser.cjs.map
|
|
2
2
|
//# sourceMappingURL=parser.cjs.map
|
package/dist/parser.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-
|
|
2
|
-
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-
|
|
1
|
+
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-Bkbp9CKD.cjs';
|
|
2
|
+
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-aqVa7Plx.cjs';
|
|
3
3
|
import './Token-CbP_OutD.cjs';
|
|
4
4
|
import './pipeline-B4wf3M1h.cjs';
|
|
5
5
|
import './Value-DCTqTSeP.cjs';
|
package/dist/parser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-
|
|
2
|
-
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-
|
|
1
|
+
export { I as InfixParselet, P as ParseletRegistry, a as Parser, a as PrecedenceParser, b as PrefixParselet, s as sharedParseletRegistry } from './Parselet-B-WyUtX4.js';
|
|
2
|
+
export { B as BytecodeBuilder, a as BytecodeProgram, O as OpCode, g as getOpCodeName } from './BytecodeBuilder-aqVa7Plx.js';
|
|
3
3
|
import './Token-CbP_OutD.js';
|
|
4
4
|
import './pipeline-QIT4iD8f.js';
|
|
5
5
|
import './Value-DCTqTSeP.js';
|
package/dist/parser.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as ParseletRegistry,a as Parser,a as PrecedenceParser,c as sharedParseletRegistry}from'./chunk-
|
|
1
|
+
export{b as ParseletRegistry,a as Parser,a as PrecedenceParser,c as sharedParseletRegistry}from'./chunk-JVMINMAB.js';import'./chunk-JP4JMQOG.js';export{a as BindingPower,d as BytecodeBuilder,b as buildBindingPowerTable,c as invalidateBindingPowerTable}from'./chunk-O3BDXOQJ.js';export{a as OpCode,b as getOpCodeName}from'./chunk-TZYMXNIB.js';import'./chunk-IJMNVBIS.js';import'./chunk-LHLW7JLS.js';import'./chunk-PIZQIQVM.js';//# sourceMappingURL=parser.js.map
|
|
2
2
|
//# sourceMappingURL=parser.js.map
|
package/dist/resolvers.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
2
|
import { T as Token } from './Token-CbP_OutD.cjs';
|
|
3
|
-
import { a as BytecodeProgram } from './BytecodeBuilder-
|
|
3
|
+
import { a as BytecodeProgram } from './BytecodeBuilder-aqVa7Plx.cjs';
|
|
4
4
|
import { V as Value } from './Value-DCTqTSeP.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/resolvers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryClient } from '@tanstack/query-core';
|
|
2
2
|
import { T as Token } from './Token-CbP_OutD.js';
|
|
3
|
-
import { a as BytecodeProgram } from './BytecodeBuilder-
|
|
3
|
+
import { a as BytecodeProgram } from './BytecodeBuilder-aqVa7Plx.js';
|
|
4
4
|
import { V as Value } from './Value-DCTqTSeP.js';
|
|
5
5
|
|
|
6
6
|
/**
|