package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.19.0.tar.gz
md5=64b49dbc3205477bd7517642c0b9cbb6
sha512=02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b

doc/coq-core.vernac/Egramml/index.html

Module EgrammlSource

Mapping of grammar productions to camlp5 actions.

This is the part specific to vernac extensions. For the Coq-level Notation and Tactic Notation, see Egramcoq.

Sourcetype 's grammar_prod_item =
  1. | GramTerminal of string
  2. | GramNonTerminal : ('a Genarg.raw_abstract_argument_type * ('s, _, 'a) Pcoq.Symbol.t) Loc.located -> 's grammar_prod_item
Sourceval declare_vernac_command_grammar : allow_override:bool -> Vernacexpr.extend_name -> Vernacexpr.vernac_expr Pcoq.Entry.t option -> Vernacexpr.vernac_expr grammar_prod_item list -> unit
Sourceval extend_vernac_command_grammar : undoable:bool -> Vernacexpr.extend_name -> unit
Sourceval grammar_extend : ?plugin_uid:(string * string) -> 'a Pcoq.Entry.t -> 'a Pcoq.extend_statement -> unit
Sourceval proj_symbol : ('a, 'b, 'c) Extend.ty_user_symbol -> ('a, 'b, 'c) Genarg.genarg_type

Utility function reused in Egramcoq :

Sourceval make_rule : (Loc.t -> Genarg.raw_generic_argument list -> 'a) -> 'a grammar_prod_item list -> 'a Pcoq.Production.t
OCaml

Innovation. Community. Security.