.CMI File Extension
File TypeCompiled OCaml Interface
What is a CMI file?
Objective Caml (OCaml) is an ML-based programming language that is used primarily to create symbolic computation applications and teach programming. To begin building (i.e. creating an executable file for) an application they developed using OCaml, a developer must first compile the application's ML and MLI files. When the developer compiles their ML or MLI file, OCaml produces a CMI file.
The CMI file contains a compiled definition of the data types and variables included within the developer's application. Along with the CMO files created during the compilation process, the CMI file is used to continue constructing the application's executable file.
How do I open a CMI file?
CMI files are not meant to be opened. Developers use CMI files to build (create executable files for) OCaml applications.