package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.3.tbz
sha256=d9bcd4cd43bf3ecd6ec471c8cd0c74a542e67bdba96310418207a7c5a42b77e2
sha512=7ecc6d298332d01a84daa3d91ac28cd6c4cbf9f5f6cf025313580577f87b6781cbbf7fed3fdee470562b1b2a5b58865dd00878efd21be294e462810b578d8ace

doc/elpi.compiler/Elpi_compiler/Compiler_data/QuotationHooks/index.html

Module Compiler_data.QuotationHooksSource

Sourcetype quotation = language:Scope.language -> State.t -> Elpi_parser.Ast.Loc.t -> string -> ScopedTerm.SimpleTerm.t
Sourcetype descriptor = {
  1. named_quotations : quotation Elpi_util.Util.StrMap.t;
  2. default_quotation : quotation option;
  3. singlequote_compilation : (string * quotation) option;
  4. backtick_compilation : (string * quotation) option;
}
Sourceval new_descriptor : unit -> descriptor ref
Sourceval declare_singlequote_compilation : descriptor:descriptor ref -> string -> quotation -> string
Sourceval declare_backtick_compilation : descriptor:descriptor ref -> string -> quotation -> string
Sourceval set_default_quotation : descriptor:descriptor ref -> quotation -> unit
Sourceval register_named_quotation : descriptor:descriptor ref -> name:Elpi_util.Util.StrMap.key -> quotation -> Elpi_util.Util.StrMap.key