package elpi

  1. Overview
  2. Docs
ELPI - Embeddable λProlog Interpreter

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-2.0.7.tbz
sha256=80233ebd92babd696148ed553238961ec7b6de6bf157045aae1c7090840aeded
sha512=00c9ec01fabde9db1de4a58cb37480035e6f926d83b8360553419bcb99e9199f0720dde975f97ac9942ce528884d3d59d025cfbd471f12d57547429f15684d49

doc/elpi.compiler/Elpi_compiler/Compiler/index.html

Module Elpi_compiler.CompilerSource

Sourcetype flags = {
  1. defined_variables : Elpi_util.Util.StrSet.t;
  2. print_units : bool;
  3. time_typechecking : bool;
}
Sourceval default_flags : flags
Sourcetype header
Sourcetype program
Sourceval program_of_ast : flags:flags -> header:header -> Elpi_parser.Ast.Program.t -> program
Sourcetype scoped_program
Sourceval scoped_of_ast : flags:flags -> header:header -> Elpi_parser.Ast.Program.t -> scoped_program
Sourcetype checked_compilation_unit
Sourcetype unchecked_compilation_unit
Sourceval empty_base : header:header -> program
Sourceval unit_of_scoped : flags:flags -> header:header -> ?builtins:builtins list -> scoped_program -> unchecked_compilation_unit
Sourceval append_unit : flags:flags -> base:program -> checked_compilation_unit -> program
Sourcetype checked_compilation_unit_signature
Sourceval signature_of_checked_compilation_unit : checked_compilation_unit -> checked_compilation_unit_signature
Sourceval append_unit_signature : flags:flags -> base:program -> checked_compilation_unit_signature -> program
Sourcetype query
Sourceval total_type_checking_time : query -> float
Sourceval pp_program : (pp_ctx:Elpi_runtime.Data.pp_ctx -> depth:int -> Format.formatter -> Elpi_runtime.Data.term -> unit) -> Format.formatter -> program -> unit
Sourceval pp_goal : (pp_ctx:Elpi_runtime.Data.pp_ctx -> depth:int -> Format.formatter -> Elpi_runtime.Data.term -> unit) -> Format.formatter -> query -> unit
Sourceval global_name_to_constant : Elpi_runtime.Data.State.t -> string -> Elpi_util.Util.constant
OCaml

Innovation. Community. Security.