]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/cicNotationParser.mli
snapshot, notably:
[helm.git] / helm / ocaml / cic_notation / cicNotationParser.mli
index 73627cd0ae68e83d816300e2f43e82f6b3419170..2819f4d9d802386ed4b58f219b07bab6ff85390a 100644 (file)
@@ -33,12 +33,7 @@ val parse_level1_pattern: char Stream.t -> CicNotationPt.term
 
   (** AST pattern: notation level 2 *)
 val parse_level2_ast: char Stream.t -> CicNotationPt.term
-
-  (** 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
+val parse_level2_meta: char Stream.t -> CicNotationPt.term
 
 (** {2 Grammar extension} *)
 
@@ -65,6 +60,15 @@ val binder_assoc: Gramext.g_assoc
 val apply_assoc: Gramext.g_assoc
 val simple_assoc: Gramext.g_assoc
 
+(** {2 Grammar entries}
+ * needed by grafite parser *)
+
+val level2_ast_grammar: Grammar.g
+
+val term : CicNotationPt.term Grammar.Entry.e
+val let_defs :
+  (CicNotationPt.capture_variable * CicNotationPt.term * int) list Grammar.Entry.e
+
 (** {2 Debugging} *)
 
   (** print "level2_pattern" entry on stdout, flushing afterwards *)