Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are:
- whole project analysis
- exhaustive warning and error messages
- structured format (s-expression or json) for dependencies
- uniform handling of delayed alias dependencies
- (experimental) full dependencies, when dependencies up to transitive closure are not enough
Both ocamldep and codept computes an over-approximation of the dependencies graph of OCaml project. However, codept uses whole project analysis to reduce the number of fictitious dependencies inferred at the project scale, whereas ocamldep is, by design, limited to local file analysis.