package elpi

  1. Overview
  2. Docs
module StrSet : sig ... end
type flags = {
  1. defined_variables : StrSet.t;
  2. allow_untyped_builtin : bool;
  3. print_passes : bool;
}
val default_flags : flags
type program
type 'a query
type 'a executable
val program : flags:flags -> Setup.program_header -> Ast.program list -> program
val query : program -> Ast.query -> unit query
val static_check : Setup.program_header -> ?checker:Ast.program list -> ?flags:flags -> 'a query -> bool

Runs elpi-checker.elpi by default. Returns true if no errors were found

val dummy_header : Setup.program_header

HACK: don't use

OCaml

Innovation. Community. Security.