package datalog

  1. Overview
  2. Docs
type token =
  1. | LEFT_PARENTHESIS
  2. | RIGHT_PARENTHESIS
  3. | DOT
  4. | IF
  5. | NOT
  6. | COMMA
  7. | EOI
  8. | SINGLE_QUOTED of string
  9. | LOWER_WORD of string
  10. | UPPER_WORD of string
  11. | INT of string
  12. | 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_clause : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.clause
val parse_file : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> TopDownAst.file
OCaml

Innovation. Community. Security.