vba-interpreter 0.0.0-stage → 0.1.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/LICENSE +202 -0
- package/README.md +96 -2
- package/dist/contract-CBGNXslV.d.ts +226 -0
- package/dist/exec/index.d.ts +12 -0
- package/dist/exec/index.js +1 -0
- package/dist/exec-DYWJe-eU.js +306 -0
- package/dist/exec-DYWJe-eU.js.map +1 -0
- package/dist/index-DnrotnmB.d.ts +2015 -0
- package/dist/index-DtaSNo0V.d.ts +111 -0
- package/dist/index-DyoT9JOJ.d.ts +4 -0
- package/dist/index-gM7FYTaq.d.ts +1353 -0
- package/dist/index-zKYgEJdV.d.ts +900 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +3 -0
- package/dist/interp/index.d.ts +10 -0
- package/dist/interp/index.js +1 -0
- package/dist/interp-ChrsgBCf.js +3433 -0
- package/dist/interp-ChrsgBCf.js.map +1 -0
- package/dist/lang/index.d.ts +10 -0
- package/dist/lang/index.js +1 -0
- package/dist/lang-Bo63dJb9.js +4740 -0
- package/dist/lang-Bo63dJb9.js.map +1 -0
- package/dist/runtime/index.d.ts +33 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime-C8-PPxmH.js +8284 -0
- package/dist/runtime-C8-PPxmH.js.map +1 -0
- package/dist/semantic/index.d.ts +12 -0
- package/dist/semantic/index.js +1 -0
- package/dist/semantic-CAVxm72C.js +2877 -0
- package/dist/semantic-CAVxm72C.js.map +1 -0
- package/package.json +91 -5
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `import { createInterpreter } from 'vba-interpreter'`
|
|
3
|
+
*
|
|
4
|
+
* The package root: the interpreter and the executor contract it implements. The language front
|
|
5
|
+
* end, runtime and semantic model have their own subpaths (vba-interpreter/lang, /runtime,
|
|
6
|
+
* /semantic, /exec, /interp).
|
|
7
|
+
*
|
|
8
|
+
* @module vba-interpreter
|
|
9
|
+
*/
|
|
10
|
+
import { a as VbaProcedure, c as VbaProgramOptions, d as VbaRunStatus, f as VbaSessionOptions, h as refsOf, i as VbaExecLimits, l as VbaRunError, m as VbaStackFrame, n as DEFAULT_EXEC_LIMITS, o as VbaProgram, p as VbaSourceModule, r as VbaCallbackError, s as VbaProgramDiagnostic, t as CompileVba, u as VbaRunResult } from "./contract-CBGNXslV.js";
|
|
11
|
+
import { a as compileFailure, c as notRun, d as LimitGuard, f as normalizeDocumentObjects, i as VbaStop, l as outcomeOf, n as VbaCallbackFailure, o as completed, p as CompileGate, r as VbaCompileError, s as isTrappable, t as RunFacts, u as CancelSources } from "./index-DtaSNo0V.js";
|
|
12
|
+
import { t as createInterpreter } from "./index-DyoT9JOJ.js";
|
|
13
|
+
export { type CancelSources, CompileGate, CompileVba, DEFAULT_EXEC_LIMITS, LimitGuard, type RunFacts, VbaCallbackError, VbaCallbackFailure, VbaCompileError, VbaExecLimits, VbaProcedure, VbaProgram, VbaProgramDiagnostic, VbaProgramOptions, VbaRunError, VbaRunResult, VbaRunStatus, VbaSessionOptions, VbaSourceModule, VbaStackFrame, VbaStop, compileFailure, completed, createInterpreter, isTrappable, normalizeDocumentObjects, notRun, outcomeOf, refsOf };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as completed, c as outcomeOf, d as CompileGate, f as DEFAULT_EXEC_LIMITS, i as compileFailure, l as LimitGuard, n as VbaCompileError, o as isTrappable, p as refsOf, r as VbaStop, s as notRun, t as VbaCallbackFailure, u as normalizeDocumentObjects } from "./exec-DYWJe-eU.js";
|
|
2
|
+
import { t as createInterpreter } from "./interp-ChrsgBCf.js";
|
|
3
|
+
export { CompileGate, DEFAULT_EXEC_LIMITS, LimitGuard, VbaCallbackFailure, VbaCompileError, VbaStop, compileFailure, completed, createInterpreter, isTrappable, normalizeDocumentObjects, notRun, outcomeOf, refsOf };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `import { ... } from 'vba-interpreter/interp'`
|
|
3
|
+
*
|
|
4
|
+
* The tree-walking VBA interpreter (approach 1): `createInterpreter` implements the executor
|
|
5
|
+
* contract (`vba-interpreter/exec`) over the shared semantic model.
|
|
6
|
+
*
|
|
7
|
+
* @module interp
|
|
8
|
+
*/
|
|
9
|
+
import { t as createInterpreter } from "../index-DyoT9JOJ.js";
|
|
10
|
+
export { createInterpreter };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as createInterpreter } from "../interp-ChrsgBCf.js";
|