everystate 0.1.0 → 0.3.1

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 (55) hide show
  1. package/README.md +121 -86
  2. package/bin/everystate.mjs +35 -0
  3. package/native/darwin-arm64/everystate +0 -0
  4. package/native/darwin-x64/everystate +0 -0
  5. package/native/linux-arm64/everystate +0 -0
  6. package/native/linux-x64/everystate +0 -0
  7. package/native/win32-x64/everystate.exe +0 -0
  8. package/package.json +29 -24
  9. package/skills/formal-verification/SKILL.md +115 -0
  10. package/skills/formal-verification/example/Charge.cfg +7 -0
  11. package/skills/formal-verification/example/Charge.tla +61 -0
  12. package/skills/formal-verification/example/ChargeBroken.cfg +7 -0
  13. package/wasm/cli.mjs +26 -0
  14. package/wasm/everystate.d.ts +33 -0
  15. package/wasm/everystate.mjs +112 -0
  16. package/wasm/everystate.wasm +0 -0
  17. package/CONFORMANCE.md +0 -64
  18. package/dist/bundled.d.ts +0 -1
  19. package/dist/bundled.js +0 -2
  20. package/dist/cfg.d.ts +0 -24
  21. package/dist/cfg.js +0 -252
  22. package/dist/checker.d.ts +0 -96
  23. package/dist/checker.js +0 -520
  24. package/dist/cli.d.ts +0 -2
  25. package/dist/cli.js +0 -4
  26. package/dist/community.d.ts +0 -17
  27. package/dist/community.js +0 -1381
  28. package/dist/entry.d.ts +0 -2
  29. package/dist/entry.js +0 -39
  30. package/dist/eval.d.ts +0 -119
  31. package/dist/eval.js +0 -1533
  32. package/dist/index.d.ts +0 -33
  33. package/dist/index.js +0 -24
  34. package/dist/java.d.ts +0 -2
  35. package/dist/java.js +0 -6
  36. package/dist/lexer.d.ts +0 -17
  37. package/dist/lexer.js +0 -255
  38. package/dist/liveness.d.ts +0 -80
  39. package/dist/liveness.js +0 -855
  40. package/dist/main.d.ts +0 -40
  41. package/dist/main.js +0 -494
  42. package/dist/model.d.ts +0 -56
  43. package/dist/model.js +0 -582
  44. package/dist/modules.d.ts +0 -91
  45. package/dist/modules.js +0 -649
  46. package/dist/node-host.d.ts +0 -2
  47. package/dist/node-host.js +0 -25
  48. package/dist/parser.d.ts +0 -30
  49. package/dist/parser.js +0 -1114
  50. package/dist/pprint.d.ts +0 -7
  51. package/dist/pprint.js +0 -647
  52. package/dist/stdlib.d.ts +0 -14
  53. package/dist/stdlib.js +0 -588
  54. package/dist/values.d.ts +0 -150
  55. package/dist/values.js +0 -822
package/dist/parser.d.ts DELETED
@@ -1,30 +0,0 @@
1
- import type { Loc } from './lexer.ts';
2
- export interface Node {
3
- k: string;
4
- loc: Loc;
5
- [key: string]: any;
6
- }
7
- export interface Param {
8
- name: string;
9
- arity: number;
10
- }
11
- export interface Bound {
12
- names: string[] | null;
13
- tuple: string[] | null;
14
- set: Node | null;
15
- }
16
- export interface DefNode extends Node {
17
- k: 'def';
18
- name: string;
19
- params: Param[];
20
- body: Node;
21
- local: boolean;
22
- }
23
- export interface ModuleNode extends Node {
24
- k: 'module';
25
- name: string;
26
- extends: string[];
27
- units: Node[];
28
- }
29
- export declare function parseModule(src: string, nameHint?: string): ModuleNode;
30
- export declare function parseExpression(src: string): Node;