package elpi

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

Install

Dune Dependency

Authors

Maintainers

Sources

elpi-2.0.7.tbz
sha256=80233ebd92babd696148ed553238961ec7b6de6bf157045aae1c7090840aeded
sha512=00c9ec01fabde9db1de4a58cb37480035e6f926d83b8360553419bcb99e9199f0720dde975f97ac9942ce528884d3d59d025cfbd471f12d57547429f15684d49

doc/elpi.parser/Elpi_parser/Ast/Program/index.html

Module Ast.ProgramSource

Sourcetype decl =
  1. | Begin of Loc.t
  2. | Namespace of Loc.t * Func.t
  3. | Constraint of Loc.t * Func.t list * Func.t list
  4. | Shorten of Loc.t * (Func.t * Func.t) list
  5. | End of Loc.t
  6. | Accumulated of Loc.t * parser_output list
  7. | Clause of (Term.t, raw_attribute list, unit) Clause.t
  8. | Chr of (raw_attribute list, Term.t) Chr.t
  9. | Macro of (Func.t, Term.t) Macro.t
  10. | Kind of (raw_attribute list, raw_attribute list) Type.t list
  11. | Type of (raw_attribute list, raw_attribute list) Type.t list
  12. | Pred of (raw_attribute list, raw_attribute list) Type.t
  13. | TypeAbbreviation of (Func.t, raw_attribute list TypeExpression.t) TypeAbbreviation.t
  14. | Ignored of Loc.t
Sourceand parser_output = {
  1. file_name : string;
  2. digest : Elpi_util.Util.Digest.t;
  3. ast : decl list;
}
Sourcetype t = decl list
OCaml

Innovation. Community. Security.