package datalog

  1. Overview
  2. Docs
An in-memory datalog implementation for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

datalog-0.7.tbz
sha256=13ca520bddf4f0c44d1468bc89347be72ec543be58fff29469a0da24956be541
sha512=25d6e9cb5abe8aa1110730d884abb9e51ae78bf681b3f21709efa32359b9cbdd97d9076761c91562580c090cbce12ce159c97533ae5d9d427c24cb329e950793

doc/datalog.top_down/Datalog_top_down/AST/index.html

Module Datalog_top_down.ASTSource

AST for TopDown terms

Sourcetype term =
  1. | Var of string
  2. | Apply of string * term list
  3. | Int of int
Sourcetype aggregate = {
  1. ag_left : term;
  2. ag_constructor : string;
  3. ag_var : string;
  4. ag_guard : term;
}
Sourcetype literal =
  1. | LitPos of term
  2. | LitNeg of term
  3. | LitAggr of aggregate
Sourcetype clause = term * literal list
Sourcetype file = clause list
Sourceexception ParseError of string
Sourceval loc_to_str : Lexing.position -> string
Sourceval print_error : ?out:out_channel -> string -> Lexing.lexbuf -> unit
Sourceval error_to_string : string -> Lexing.lexbuf -> string
OCaml

Innovation. Community. Security.