package elpi

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

elpi-3.4.1.tbz
sha256=deb40fc3dd5d1c0aa9eb52931e4d54384aa1e6cc96ad9675575ff5784f1cc88f
sha512=71092d086b9ad72a5b6e08ecfa2fa896bd109730c1896ff0cfe7465be6d7dc5faff033e0bd518e450279925e38ac1cb254ce18f90235b3492508ce346a3d1efc

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, 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