package lambdapi
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=920de48ec6c2c3223b6b93879bb65d07ea24aa27f7f7176b3de16e5e467b9939
sha512=135f132730825adeb084669222e68bc999de97b12378fae6abcd9f91ae13093eab29fa49c854adb28d064d52c9890c0f5c8ff9d47a9916f66fe5e0fba3479759
doc/lambdapi.handle/Handle/Compile/index.html
Module Handle.Compile
Source
High-level compilation functions.
gen_obj
indicates whether we should generate object files when compiling source files. The default behaviour is not to generate them.
recompile
indicates whether we should recompile files who have an object file that is already up to date. Note that this flag only applies to files that are given on the command line explicitly, not their dependencies.
compile force mp
compiles module path mp
using compile_with
, forcing compilation of up-to-date files if force
is true.
compile_file fname
looks for a package configuration file for fname
and compiles fname
. It is the main compiling function. It is called from the main program exclusively.
The functions provided in this module perform the same computations as the ones defined earlier, but restore the console state and the library mappings when they have finished. An optional library mapping or console state can be passed as argument to change the settings.