@turing-machine-js/machine 7.0.0-alpha.4 → 7.0.0-alpha.6

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.
@@ -60,7 +60,8 @@ export type StateMap = Map<number, StateMapEntry>;
60
60
  * instance + per-pattern Symbol references for breakpoint setup (#195).
61
61
  *
62
62
  * **Positional alignment contract.** For any `GraphTransition` whose id
63
- * is `${N}-${K}`, `result.get(N)!.transitionSymbols[K]` is the Symbol
63
+ * is `${N}.${K}` (#205 changed the separator from `-` to `.`),
64
+ * `result.get(N)!.transitionSymbols[K]` is the Symbol
64
65
  * the transition fires on (reference equality, not structural). The K-th
65
66
  * entry is the K-th key from the source State's `#symbolToDataMap` in
66
67
  * insertion order, including `ifOtherSymbol` when the user wrote one.
@@ -71,7 +72,7 @@ export type StateMap = Map<number, StateMapEntry>;
71
72
  * when a transition's `nextState` is an unresolved `Reference` (it
72
73
  * `continue`s without pushing the GraphTransition). In that case
73
74
  * `transitionSymbols[K]` is still set to the K-th Map key, but no
74
- * `Graph.nodes[N].transitions` entry exists with id `${N}-${K}`. Sparse
75
+ * `Graph.nodes[N].transitions` entry exists with id `${N}.${K}`. Sparse
75
76
  * on the Graph side, dense on the `transitionSymbols` side — same
76
77
  * indexing.
77
78
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turing-machine-js/machine",
3
- "version": "7.0.0-alpha.4",
3
+ "version": "7.0.0-alpha.6",
4
4
  "description": "A convenient Turing machine",
5
5
  "engines": {
6
6
  "npm": ">=7.0.0"
@@ -38,5 +38,5 @@
38
38
  "default": "./dist/index.mjs"
39
39
  }
40
40
  },
41
- "gitHead": "0183c78ea7f7212ce983e99c846fc8e1fec5e56b"
41
+ "gitHead": "0b44e44db9da4a2f50bb46e5f723382345fdc687"
42
42
  }