I want to analyze a OCaml/Reason code repository and understand calls between various functions. Is there a tool that provides such functionality?
I actually never used it but only thing I can remember for OCaml is pfff. Readme says that it supports codemaps and codegraphs.
One of the option is to take advantage of the existing OCaml editors or IDE since you can re-use their parsers to obtain the parsed tree or AST tree. I'm aware of two relatively good IDE for OCaml, which are:
OcaIDE (written in Java)
Merlin (written in OCaml)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With