LibrarySourceThis module provides functions to load, open and save libraries. Libraries correspond to the subclass of modules that coincide with a file on disk (the ".vo" files). Libraries on the disk comes with checksums (obtained with the Digest module), which are checked at loading time to prevent inconsistencies between files written at various dates.
Type of libraries loaded in memory
val intern_from_file :
CUnix.physical_path ->
(library_t, Exninfo.iexn) Result.t * Intern.Provenance.tval require_library_syntax_from_dirpath :
intern:Intern.t ->
Names.DirPath.t Loc.located list ->
library_t listEnd the compilation of a library and save it to a ".vo" file, or a ".vos" file, depending on the todo_proofs argument.
output_native_objects: when producing vo objects, also compile the native-code version.
val save_library_to :
'document todo_proofs ->
output_native_objects:bool ->
Names.DirPath.t ->
string ->
unitSave library to library_t format, that can be used later in require_library_syntax_from_dirpath
Native compiler.
Opaque accessors