package elpi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type flags = {
  1. defined_variables : Elpi_util.Util.StrSet.t;
  2. print_units : bool;
}
val default_flags : flags
type header
type program
val program_of_ast : flags:flags -> header:header -> Elpi_parser.Ast.Program.t -> program
type scoped_program
val scoped_of_ast : flags:flags -> header:header -> Elpi_parser.Ast.Program.t -> scoped_program
type checked_compilation_unit
type unchecked_compilation_unit
val empty_base : header:header -> program
val unit_of_scoped : flags:flags -> header:header -> ?builtins:builtins list -> scoped_program -> unchecked_compilation_unit
val append_unit : flags:flags -> base:program -> checked_compilation_unit -> program
type checked_compilation_unit_signature
val signature_of_checked_compilation_unit : checked_compilation_unit -> checked_compilation_unit_signature
val append_unit_signature : flags:flags -> base:program -> checked_compilation_unit_signature -> program
type query
val total_type_checking_time : query -> float
val optimize_query : query -> Elpi_runtime.Data.executable
val relocate_closed_term : from:Elpi_runtime.Data.symbol_table -> to_:program -> Elpi_runtime.Data.term -> (Elpi_runtime.Data.term, string) Stdlib.Result.t
val pp_program : (pp_ctx:Elpi_runtime.Data.pp_ctx -> depth:int -> Stdlib.Format.formatter -> Elpi_runtime.Data.term -> unit) -> Stdlib.Format.formatter -> program -> unit
val pp_goal : (pp_ctx:Elpi_runtime.Data.pp_ctx -> depth:int -> Stdlib.Format.formatter -> Elpi_runtime.Data.term -> unit) -> Stdlib.Format.formatter -> query -> unit
val elpi_language : Compiler_data.Scope.language
val pp : Stdlib.Format.formatter -> Elpi_runtime.Data.uvar_body -> unit
val global_name_to_constant : Elpi_runtime.Data.State.t -> string -> Elpi_util.Util.constant
OCaml

Innovation. Community. Security.