*)
exception Parse_error of Token.flocation * string
+exception Level_not_found of int
(** {2 Parsing functions} *)
(** interpretation: notation level 3 *)
val parse_interpretation: char Stream.t -> CicNotationPt.cic_appl_pattern
+ (** top level phrases *)
+val parse_phrase: char Stream.t -> CicNotationPt.phrase
+
+(** {2 Grammar extension} *)
+
+type rule_id
+
+val extend:
+ CicNotationPt.term ->
+ ?precedence:int ->
+ ?associativity:Gramext.g_assoc ->
+ (CicNotationEnv.t -> CicNotationPt.location -> CicNotationPt.term) ->
+ rule_id
+
+val delete: rule_id -> unit
+
+(** {2 Debugging} *)
+
+ (** print "level2_pattern" entry on stdout, flushing afterwards *)
+val print_l2_pattern: unit -> unit
+