package acgtk

  1. Overview
  2. Docs
Abstract Categorial Grammar development toolkit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

acg-2.2.0-20251107.tar.gz
sha512=07f391d052090bb70c10ec511fdc53af764954cbe1c30093778984c5ed41a4327573fdac0890c6fd619ff9827725572eb7b8a7545bd8ccb7f5bddb84d2d7f7cc

doc/acgtk.grammars/Grammars/Errors/Parsing_l/index.html

Module Errors.Parsing_lSource

This module contains the type for syntax errors in ACGs.

Sourcetype t =
  1. | MenhirError of int
    (*

    Error i is raised on a syntax error with i the number given by Menhir to select the correct message.

    *)
  2. | TypeExpected
  3. | ArrowExpected
  4. | ArrowOrRParenthesisExpected
  5. | LessThanExpected
  6. | AssociativitySpecExpected
  7. | TermNotArrowExpected
  8. | InfixMissingFirstArg of string
  9. | InfixMissingSecondArg of string
  10. | NotAssociative of string
  11. | NotInfix of string
  12. | PrefixMissingArg of string
  13. | UnknownConstant of string
  14. | UnknownType of string
  15. | UnknownBinder of string
  16. | UnknownConstantNorVariable of string
  17. | UnknownConstantNorType of string
  18. | NotDefAsInfix of string
  19. | DuplicatedTerm of string
  20. | DuplicatedType of string
Sourceval kind : string
Sourceval pp : Format.formatter -> t -> unit