package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.2.0.tbz
sha256=cfe271ae33cd8d682082a5081d36db5e4e858571909811bb97c4ecd0c4053a61
sha512=e0745da1ee6c74256369cf7d8df5898f9af9d35c0444b25f2e3d08efd64040634464c4139ec7d8caa7e85b4bbae3e3cbfbb824c0b53cbe740d451d338788c6f3

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