wordgraph-lib
The groupant beside wordgraph/src/lib.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.
Facts
Implementation material. A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.
Components
| component | label | where |
|---|---|---|
| Approximant | partial | Approximant |
| Ast | partial | syntax.json |
| Composition | partial | Composition |
| Cost | partial | Cost |
| Descriptant | present | Descriptant |
| Invariant | partial | Invariant |
| Tests | executed bounded checks | Tests |
Obernants
The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.
| relation | type | label | where |
|---|---|---|---|
| Behavior complement | behavior complement | partial source derived model | Behavior complement |
| Reverse reconstruction | reverse reconstruction | partial source derived model | Reverse reconstruction |
Model text
Descriptant
The crate root: declares the modules compile, eval, extract, graph, pass, rel and re-exports the reader
types (Graph, Dir, Edge, Hint, Via) that other crates (later the Owls' process) use.
Approximant
Identity on behaviour: module declarations and re-exports only.
Invariant
The public reader API is reachable as wordgraph::Graph; no code runs at load.
Cost
None at run time.
Composition
Parent of the crate's modules; the crate composition is described in models/word-graph.groupant/model.md.
Tests
Covered by every crate test compiling through it.
Behavior complement
Holds no logic, no state, no I/O.
Reverse reconstruction
Not applicable beyond the module list: the declarations are the source itself.
Provenance
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/wordgraph/src/lib.rs.groupant/