aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/metasyntax.mli
blob: e3d9e593d75312df7537281d7abdae7d457f7094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

(* $Id$ *)

(*i*)
open Extend
open Names
(*i*)

(* Adding grammar and pretty-printing objects in the environment *)

val add_syntax_obj : string -> Coqast.t list -> unit

val add_grammar_obj : string -> Coqast.t list -> unit
val add_token_obj : string -> unit

val add_infix : Gramext.g_assoc option -> int -> string -> qualid -> unit
val add_distfix : Gramext.g_assoc option -> int -> string -> qualid -> unit

val print_grammar : string -> string -> unit