tla-ts 0.0.9-dev.2813db5 → 0.0.9-dev.4ce0657

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +21 -0
  2. package/dist/compile.cjs +23 -0
  3. package/dist/compile.js +23 -0
  4. package/dist/deciders.cjs +15 -15
  5. package/dist/deciders.js +48 -48
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.d.cts +1 -0
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +1 -1
  10. package/dist/prove.cjs +16 -16
  11. package/dist/prove.js +20 -20
  12. package/dist/run.cjs +28 -28
  13. package/dist/run.js +31 -31
  14. package/dist/tlapm.cjs +2 -2
  15. package/dist/tlapm.js +1 -1
  16. package/dist/transfer.cjs +18 -18
  17. package/dist/transfer.js +26 -26
  18. package/dist/worker.cjs +4 -4
  19. package/dist/worker.js +4 -4
  20. package/package.json +3 -1
  21. package/src/check.ts +44 -31
  22. package/src/cli/options.ts +1 -1
  23. package/src/cli/tlc.ts +17 -8
  24. package/src/cli/typescript.ts +26 -0
  25. package/src/environment.ts +4 -0
  26. package/src/errors.ts +15 -0
  27. package/src/evaluate.ts +65 -10
  28. package/src/instances.ts +67 -6
  29. package/src/liveness-checker.ts +6 -3
  30. package/src/liveness.ts +7 -3
  31. package/src/prover/smt/solver/solver.ts +31 -27
  32. package/src/successors.ts +3 -3
  33. package/src/typescript/actions.ts +494 -0
  34. package/src/typescript/collections.ts +615 -0
  35. package/src/typescript/compile.ts +70 -0
  36. package/src/typescript/context.ts +106 -0
  37. package/src/typescript/emit.ts +122 -0
  38. package/src/typescript/expressions.ts +508 -0
  39. package/src/typescript/formula.ts +160 -0
  40. package/src/typescript/functions.ts +295 -0
  41. package/src/typescript/model.ts +164 -0
  42. package/src/typescript/names.ts +116 -0
  43. package/src/typescript/program.ts +51 -0
  44. package/src/typescript/properties.ts +141 -0
  45. package/src/typescript/scope.ts +117 -0
  46. package/src/typescript/steps.ts +175 -0
  47. package/src/typescript/types.ts +178 -0
  48. package/src/values.ts +11 -9
package/dist/index.cjs CHANGED
@@ -6,4 +6,4 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./worker.cjs"),t=require("./transfer.cjs"),n=require("./prove.cjs");exports.TlaConfigError=e.h,exports.TlaError=e.g,exports.TlaEvaluationError=e._,exports.TlaSyntaxError=e.O,exports.TlaUnsupportedError=e.A,exports.check=n.m,exports.formatValue=t.jt,exports.parseConfig=n.h,exports.parseModule=t.V,exports.prove=n.r;
9
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./worker.cjs"),t=require("./transfer.cjs"),n=require("./prove.cjs");exports.TlaConfigError=e.h,exports.TlaError=e.g,exports.TlaEvaluationError=e._,exports.TlaSyntaxError=e.O,exports.TlaUnsupportedError=e.j,exports.check=n.m,exports.formatValue=t.jt,exports.parseConfig=n.h,exports.parseModule=t.V,exports.prove=n.r;
package/dist/index.d.cts CHANGED
@@ -6,6 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
+ import "@typescript/typescript6";
9
10
  interface LocalResolution {
10
11
  kind: "Local";
11
12
  }
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
+ import ts from "@typescript/typescript6";
9
10
  interface LocalResolution {
10
11
  kind: "Local";
11
12
  }
package/dist/index.js CHANGED
@@ -6,4 +6,4 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- import{A as e,O as t,_ as n,g as r,h as i}from"./worker.js";import{V as a,jt as o}from"./transfer.js";import{h as s,m as c,r as l}from"./prove.js";export{i as TlaConfigError,r as TlaError,n as TlaEvaluationError,t as TlaSyntaxError,e as TlaUnsupportedError,c as check,o as formatValue,s as parseConfig,a as parseModule,l as prove};
9
+ import{O as e,_ as t,g as n,h as r,j as i}from"./worker.js";import{V as a,jt as o}from"./transfer.js";import{h as s,m as c,r as l}from"./prove.js";export{r as TlaConfigError,n as TlaError,t as TlaEvaluationError,e as TlaSyntaxError,i as TlaUnsupportedError,c as check,o as formatValue,s as parseConfig,a as parseModule,l as prove};