aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/egramcoq.mli
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-20 22:23:02 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-27 15:18:08 +0200
commit311e87f261b5e7f1dca61ac19d9b7b695b411ce0 (patch)
treeba75b995a5b9a58b76d016f46adc934dfe9e29ba /vernac/egramcoq.mli
parentb2f746e41abf53fc481f90804ba4d70edd73fc86 (diff)
[api] [parsing] Move Egram* to `vernac/`
The extension mechanism is specific to metasyntax and vernacinterp, thus it makes sense to place them next to each other. We also fix the META entry for the `grammar` camlp5 plugin.
Diffstat (limited to 'vernac/egramcoq.mli')
-rw-r--r--vernac/egramcoq.mli19
1 files changed, 19 insertions, 0 deletions
diff --git a/vernac/egramcoq.mli b/vernac/egramcoq.mli
new file mode 100644
index 000000000..e15add10f
--- /dev/null
+++ b/vernac/egramcoq.mli
@@ -0,0 +1,19 @@
+(************************************************************************)
+(* * The Coq Proof Assistant / The Coq Development Team *)
+(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
+(* <O___,, * (see CREDITS file for the list of authors) *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(* * (see LICENSE file for the text of the license) *)
+(************************************************************************)
+
+(** Mapping of grammar productions to camlp5 actions *)
+
+(** This is the part specific to Coq-level Notation and Tactic Notation.
+ For the ML-level tactic and vernac extensions, see Egramml. *)
+
+(** {5 Adding notations} *)
+
+val extend_constr_grammar : Notation_term.one_notation_grammar -> unit
+(** Add a term notation rule to the parsing system. *)