]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/cicTextualParser2.mli
various updates, removed proofs for now because they are the real bottleneck!!
[helm.git] / helm / ocaml / cic_disambiguation / cicTextualParser2.mli
index aec7c8f1d7580a7f62fada503f06d7b88bf39251..c95485e52661b20b1028c53d8eddf42cb672c967 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
-exception Parse_error of string
+exception Parse_error of Token.flocation * string
 
 (** {2 Parsing functions} *)
 
-val parse_term: char Stream.t -> CicAst.term
+val parse_term: char Stream.t -> DisambiguateTypes.term
+val parse_statement:
+ char Stream.t -> (CicAst.term, TacticAst.obj,string) TacticAst.statement
+val parse_statements:  
+ char Stream.t -> (CicAst.term, TacticAst.obj, string) TacticAst.statement list
 
 (** {2 Grammar extensions} *)
 
-val term: CicAst.term Grammar.Entry.e (** recursive rule *)
-val term0: CicAst.term Grammar.Entry.e (** top level rule *)
+val term: CicAst.term Grammar.Entry.e   (** recursive rule *)
+val term0: CicAst.term Grammar.Entry.e  (** top level rule *)
 
 val return_term: CicAst.location -> CicAst.term -> CicAst.term