capdag 1.470.4 → 1.474.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/README.md +6 -0
- package/capdag.js +494 -31
- package/machine-parser.js +103 -323
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -86,6 +86,12 @@ const machine = parseMachine(
|
|
|
86
86
|
);
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
+
A cap or media definition names the dims it was built from, and the value
|
|
90
|
+
chosen from each, in its `dims`; its own `documentation` is only what is
|
|
91
|
+
specific to it. A definition is held only together with every dim it names,
|
|
92
|
+
so `fabric.getCachedDim(name)` gives the dim's title and documentation and
|
|
93
|
+
those of each of its values (`getDim(name)` fetches one by name).
|
|
94
|
+
|
|
89
95
|
`parseMachineWithAST` also returns every statement with where each part of it
|
|
90
96
|
stands in the text, and the name the text gave each node. A machine that names
|
|
91
97
|
other machines in step position is read with a `MachineSource`
|