]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaEngine.mli
Big commit to let Ferruccio try the merge_coercion patch.
[helm.git] / helm / matita / matitaEngine.mli
index 9311215f3d563c0b6e729c456c133421d71231da..ac6d91cb9bbfaeb506c123cc5ff12532bff7a188 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
-exception Drop
-
-val eval_string: MatitaTypes.status ref -> string -> unit
+(* heavy checks slow down the compilation process but give you some interesting
+ * infos like if the theorem is a duplicate *)
+val eval_string:
+  ?do_heavy_checks:bool ->
+  include_paths:string list ->
+  ?clean_baseuri:bool ->
+    GrafiteTypes.status ref -> string -> unit
 
 val eval_from_stream: 
-  MatitaTypes.status ref -> char Stream.t -> 
-    (MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) ->
-    unit
-
-val eval_from_stream_greedy: 
-  MatitaTypes.status ref-> char Stream.t -> 
-    (MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) ->
+  ?prompt:bool ->
+  ?do_heavy_checks:bool ->
+  include_paths:string list ->
+  ?clean_baseuri:bool ->
+  GrafiteTypes.status ref -> Ulexing.lexbuf -> 
+  (GrafiteTypes.status -> GrafiteParser.statement -> unit) ->
     unit
 
-val eval_ast: 
-  MatitaTypes.status ->
-    (CicAst.term,TacticAst.obj,string) TacticAst.statement ->
-    MatitaTypes.status
-
-val initial_status: MatitaTypes.status lazy_t