package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.0.tbz
sha256=9955d95d69b1ffb6770daad42f2b15d44a8888843817dff272d44ef8a3480b5a
sha512=408bfb46efeba45d0c5e36e8478d9e9b2f01f38de88c10621deeedc69e4c2b007d859fec520ef5652ab33bf00106edbda421f16503eeff397ceb57a61e01fce2

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