Traversal in IPLD
"Traversal" refers to the act of walking over IPLD data.
Traversing a map means iterating over its keys and values... and possibly, traversing over those values, recursively.
Traversing a list means iterating over its values... and possibly, traversing over those values, recursively.
Traversing other kinds of nodes that aren't recursive just means looking at that node.
Traversing a link can mean either examining that link, or, loading it, resulting in a whole new bunch of nodes which can be traversed.
Any IPLD data can be traversed, because once it's been loaded into the Data Model by a codec, the Data Model means we know how to look at the data, see what kind it is, and see how to iterate over it.
IPLD Selectors can be used to declaratively describe how to traverse over an IPLD dag, as well as how to mark and select some of the nodes reached during that traversal.
You can think of Selectors as roughly like regexps for textual data, but made for IPLD graphs.
See more in the Selector specs.
- Your language here, please! :D