]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/cicTextualParser2.mli
added support for commands and scripts
[helm.git] / helm / ocaml / cic_disambiguation / cicTextualParser2.mli
index a6f8dcce310bd8c30f2f96609d7254a1d4674342..e867d3435c500cfc620bda538c88f0bc8a44b016 100644 (file)
 
 exception Parse_error of string
 
+(** {3 type shortands} *)
+
+type tactic = (CicAst.term, string) TacticAst.tactic
+type tactical = (CicAst.term, string) TacticAst.tactic TacticAst.tactical
+type command = CicAst.term CommandAst.command
+type script = CicAst.term CommandAst.Script.script
+
 (** {2 Parsing functions} *)
 
-val parse_term: char Stream.t -> CicAst.term
-val parse_tactic: char Stream.t -> (CicAst.term, string) TacticAst.tactic
-val parse_tactical:
-  char Stream.t ->
-    (CicAst.term, string) TacticAst.tactic TacticAst.tactical
+val parse_term:     char Stream.t -> CicAst.term
+val parse_tactic:   char Stream.t -> tactic
+val parse_tactical: char Stream.t -> tactical
+val parse_command:  char Stream.t -> command
+val parse_script:   char Stream.t -> script
 
 (** {2 Grammar extensions} *)