package lambdapi

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Handle.CompileSource

High-level compilation functions.

Sourceval gen_obj : bool ref

gen_obj indicates whether we should generate object files when compiling source files. The default behaviour is not to generate them.

Sourceval compile : ?force:bool -> Common.Path.t -> Core.Sign.t

compile force mp compiles module path mp, forcing recompilation of up-to-date files if force is true.

Sourceval compile_file : ?force:bool -> string -> Core.Sign.t

compile_file force fname looks for a package configuration file for fname and compiles fname, forcing recompilation of up-to-date files if force is true. It is the main compiling function. It is called from the main program exclusively.

Sourcemodule PureUpToSign : sig ... end

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.

OCaml

Innovation. Community. Security.