package datalog

  1. Overview
  2. Docs
type token =
  1. | LEFT_PARENTHESIS
  2. | RIGHT_PARENTHESIS
  3. | DOT
  4. | COLON
  5. | IF
  6. | NOT
  7. | COMMA
  8. | AGGR_EQUAL
  9. | EOI
  10. | SINGLE_QUOTED of string
  11. | DOUBLE_QUOTED of string
  12. | LOWER_WORD of string
  13. | UPPER_WORD of string
  14. | INT of string
  15. | OPERATOR of string
val parse_term : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.term
val parse_literal : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.literal
val parse_literals : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.literal list
val parse_query : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.term list * TopDownAst.literal list
val parse_clause : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.clause
val parse_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.file
OCaml

Innovation. Community. Security.