Octachron / codept

Contextual Ocaml DEPendencies Tool: alternative ocaml dependency analyzer
Other
59 stars 10 forks source link

enhancement request: extension node dependencies #8

Closed mobileink closed 2 years ago

mobileink commented 2 years ago

OCaml extension nodes and attributes are a form of dependency. So are extension operators and literals, I suppose. I'd like to have a tool that can analyze source files and tell me what their extension points are. I'm not aware of any tool that can do this. It seems like a good fit for codept, though.

Octachron commented 2 years ago

Extension nodes and attributes are not really a form of dependency: they don't create an interrelated network of dependencies that must be discovered before building.

Collecting extension nodes and attributes can be done nearly directly using compilerlibs, I am thus not convinced by the idea of integrating this feature in codept.