Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide a objinfo library #4619
Original bug ID: 4619
At the moment, objinfo is provided solely as an executable. It would be interesting to have a version of objinfo as a OCaml library. This could be helpful to write IDEs and other code-manipulation tools.
Comment author: @Octachron
The objinfo tool is mostly made up of glue code between modules that are part of the compiler-libs, which are available since OCaml 4.01. A higher-level library for IDE integration is certainly possible, but it can be provided outside of the compiler distribution.