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

(* $Id$ *)

(*i*)
open Extend
(*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 -> string -> unit
val add_distfix : Gramext.g_assoc option -> int -> string -> string -> unit

val print_grammar : string -> string -> unit