package elpi

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

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-2.0.7.tbz
sha256=80233ebd92babd696148ed553238961ec7b6de6bf157045aae1c7090840aeded
sha512=00c9ec01fabde9db1de4a58cb37480035e6f926d83b8360553419bcb99e9199f0720dde975f97ac9942ce528884d3d59d025cfbd471f12d57547429f15684d49

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
OCaml

Innovation. Community. Security.