Date: 2022-03-21
Status: Accepted
To have the dependencies of each namespace in a project it is necessary to parse these declarations from source file, and for that we look at three options:
java.io.PushbackReader
combined with the read function to read clojure file, find ns
form and then parse its contents (how ns-graph works).We will use tools.namespace because it is a set of specific tools for our need.
tool.namespace
also has a dependency graph data structure that is useful for dependency analysis.clj-kondo
if they don't want to.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close