package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.3.1.tbz
sha256=3186ebbf97d702e3cd5ebfa2aca50d9e93dd939a86c3db827dbde111656e3d5f
sha512=2ffafd7dbcaad4802fc2f076f90df36a1ce33dae1f0fa9226d45654a932a70e0a9f0627bbc703870561ad2d36a86039ad04c74393ccaf369c283eddb488525cf

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