package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.5.tbz
sha256=71c93a5ea0bdf19f656f70984bc2bf681d5639c9230325f3675e2f5f8d6726f2
sha512=d6a87bf1ba6bfb6f773075295137d037e007252ecf16aa026c151df11bc498efe56d5d5369920c2dad3b53373cba75378731cd752d08e07353a1c68063d2cd2a

doc/elpi.lexer_config/Elpi_lexer_config/Lexer_config/index.html

Module Elpi_lexer_config.Lexer_configSource

Sourcetype fixity =
  1. | Infixl
  2. | Infixr
  3. | Infix
  4. | Prefix
  5. | Postfix
Sourceval pp_fixity : Format.formatter -> fixity -> unit
Sourceval fixity_of_string : string -> fixity
Sourcetype extensible = {
  1. start : string;
  2. mk_token : string -> Tokens.token;
  3. token : string;
  4. non_enclosed : bool;
  5. at_least_one_char : bool;
  6. fixed : string list;
}
Sourcetype fixed = {
  1. token : string;
  2. the_token : string;
  3. mk_token : Tokens.token;
  4. comment : (int * string) option;
}
Sourcetype mixfix_kind =
  1. | Fixed of fixed
  2. | Extensible of extensible
Sourcetype mixfix = {
  1. tokens : mixfix_kind list;
  2. fixity : fixity;
}
Sourceval mkFix : ?comment:(int * string) -> string -> string -> Tokens.token -> mixfix_kind
Sourceval mkExt : string -> string -> ?non_enclosed:bool -> ?at_least_one_char:bool -> ?fixed:string list -> (string -> Tokens.token) -> mixfix_kind
Sourceval comment : int * string
Sourceval mixfix_symbols : mixfix list