everystate 0.1.0 → 0.3.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.
Files changed (51) hide show
  1. package/README.md +111 -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 +23 -24
  9. package/wasm/cli.mjs +26 -0
  10. package/wasm/everystate.d.ts +33 -0
  11. package/wasm/everystate.mjs +112 -0
  12. package/wasm/everystate.wasm +0 -0
  13. package/CONFORMANCE.md +0 -64
  14. package/dist/bundled.d.ts +0 -1
  15. package/dist/bundled.js +0 -2
  16. package/dist/cfg.d.ts +0 -24
  17. package/dist/cfg.js +0 -252
  18. package/dist/checker.d.ts +0 -96
  19. package/dist/checker.js +0 -520
  20. package/dist/cli.d.ts +0 -2
  21. package/dist/cli.js +0 -4
  22. package/dist/community.d.ts +0 -17
  23. package/dist/community.js +0 -1381
  24. package/dist/entry.d.ts +0 -2
  25. package/dist/entry.js +0 -39
  26. package/dist/eval.d.ts +0 -119
  27. package/dist/eval.js +0 -1533
  28. package/dist/index.d.ts +0 -33
  29. package/dist/index.js +0 -24
  30. package/dist/java.d.ts +0 -2
  31. package/dist/java.js +0 -6
  32. package/dist/lexer.d.ts +0 -17
  33. package/dist/lexer.js +0 -255
  34. package/dist/liveness.d.ts +0 -80
  35. package/dist/liveness.js +0 -855
  36. package/dist/main.d.ts +0 -40
  37. package/dist/main.js +0 -494
  38. package/dist/model.d.ts +0 -56
  39. package/dist/model.js +0 -582
  40. package/dist/modules.d.ts +0 -91
  41. package/dist/modules.js +0 -649
  42. package/dist/node-host.d.ts +0 -2
  43. package/dist/node-host.js +0 -25
  44. package/dist/parser.d.ts +0 -30
  45. package/dist/parser.js +0 -1114
  46. package/dist/pprint.d.ts +0 -7
  47. package/dist/pprint.js +0 -647
  48. package/dist/stdlib.d.ts +0 -14
  49. package/dist/stdlib.js +0 -588
  50. package/dist/values.d.ts +0 -150
  51. 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;