package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.1.tbz
sha256=deb40fc3dd5d1c0aa9eb52931e4d54384aa1e6cc96ad9675575ff5784f1cc88f
sha512=71092d086b9ad72a5b6e08ecfa2fa896bd109730c1896ff0cfe7465be6d7dc5faff033e0bd518e450279925e38ac1cb254ce18f90235b3492508ce346a3d1efc

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