dead_code_analyzer
dead_code_analyzer copied to clipboard
Dead-code analyzer for OCaml
I'm trying to use dead_code_analyzer, and it doesn't seem to scan any files. I ran it using: ``` docker run -it --mount type=bind,src=$PWD,dst=/app -w /app ocaml/opam:ubuntu-12.04_ocaml-4.04.2 /bin/bash opam install dead_code_analyzer...
Under 4.06, the following error occurs during building: ``` ocamlc -w +A-4-9-40-42 -I +compiler-libs -bin-annot -keep-locs -g -o dead_code_analyzer.byt ocamlcommon.cma deadCode.mli deadFlag.ml deadCommon.ml deadArg.mli deadType.mli deadObj.mli deadType.ml deadArg.ml deadMod.ml deadObj.ml...
The `opam` file in the main directory claims release 0.9 runs on ocaml 4.05 and higher, but the opam file in the opam repository claims only under 4.05. I suspect...
Hi, I was wondering if you were considering making a release that supports OCaml 4.05 (or even the upcoming 4.06) soon ?
I found this useful when trying to run the analyser on coq/coq.
Fix #6, #13 and #12. As I've experimented, the previous version works only on `ocaml.4.05`.
Includes https://github.com/LexiFi/dead_code_analyzer/pull/35, and https://github.com/LexiFi/dead_code_analyzer/pull/41. To be reviewed after [1.0.1](https://github.com/LexiFi/dead_code_analyzer/pull/35). Other than updating the OCaml version to 5.3 and fixing the compilation mistakes, this PR includes 2 import changes : -...
Given a simple project architecture : ``` . ├── bin │ ├── dune │ └── main.ml ├── dune-project ├── lib │ ├── bar.ml │ ├── bar.mli │ ├── dune │ ...
Add tests using ppx and add support for preprocessed files. This contributes to https://github.com/LexiFi/dead_code_analyzer/issues/40 for OCaml 5.2. It applies the suggested solution. It works well (based on the tests results)...
Ready for release : `opam install .` works as expected. Upon approval of this PR, I'll publish the package on opam. This release includes: - https://github.com/LexiFi/dead_code_analyzer/pull/26 - https://github.com/LexiFi/dead_code_analyzer/pull/27 - https://github.com/LexiFi/dead_code_analyzer/pull/29...