]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaEngine.mli
ocaml 3.09 transition
[helm.git] / helm / matita / matitaEngine.mli
index a06c5117005489ee02c7fc0ff2404501081c8146..e8cdbad0e18cff1f9efe869fe2b8482b11aaed7b 100644 (file)
@@ -25,9 +25,7 @@
 
 exception Drop
 exception UnableToInclude of string
-
-type statement =
-  (CicNotationPt.term, GrafiteAst.obj, string) GrafiteAst.statement
+exception IncludedFileNotCompiled of string
 
 (* heavy checks slow down the compilation process but give you some interesting
  * infos like if the theorem is a duplicate *)
@@ -41,16 +39,16 @@ val eval_from_stream:
   ?do_heavy_checks:bool ->
   ?include_paths:string list ->
   ?clean_baseuri:bool ->
-  MatitaTypes.status ref -> char Stream.t -> 
-  (MatitaTypes.status -> statement -> unit) ->
+  MatitaTypes.status ref -> Ulexing.lexbuf -> 
+  (MatitaTypes.status -> GrafiteParser.statement -> unit) ->
     unit
 
 val eval_from_stream_greedy: 
   ?do_heavy_checks:bool ->
   ?include_paths:string list ->
   ?clean_baseuri:bool ->
-  MatitaTypes.status ref-> char Stream.t -> 
-  (MatitaTypes.status -> statement -> unit) ->
+  MatitaTypes.status ref-> Ulexing.lexbuf -> 
+  (MatitaTypes.status -> GrafiteParser.statement -> unit) ->
     unit
 
 val eval_ast: 
@@ -58,7 +56,7 @@ val eval_ast:
   ?include_paths:string list ->
   ?clean_baseuri:bool ->
   MatitaTypes.status ->
-    statement ->
+    GrafiteParser.statement ->
     MatitaTypes.status
 
 val initial_status: MatitaTypes.status lazy_t