package datalog

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.tar.gz
md5=4a2d12d630a5edd694968675a84a3ef5
sha512=685c0e186705837cb3ac66df6e8011d9f6a9629484b3a813b767df95348d5a41f37301f3e199ed6c91a42a87d1563e8355377269176785b123eb297a5ad022d7

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.