I need to implement feature where I query tree structure searching for nodes.
The query could match different properties of the node, but here we focus on the path only.
I'm looking for idea how to implement xpath-like globs or something similar to datalog. Datalog queries would be totally fine, but I don't want to run full-blown db like datascript and I want my library to target both clj and cljs.