X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaEngine.mli;h=e8cdbad0e18cff1f9efe869fe2b8482b11aaed7b;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=c94f9748ef927c998a95e2185ac81e66160fe1f3;hpb=6ec0a251ac681afb3a305323097d72ab80d7da6b;p=helm.git diff --git a/helm/matita/matitaEngine.mli b/helm/matita/matitaEngine.mli index c94f9748e..e8cdbad0e 100644 --- a/helm/matita/matitaEngine.mli +++ b/helm/matita/matitaEngine.mli @@ -24,32 +24,39 @@ *) exception Drop +exception UnableToInclude of string +exception IncludedFileNotCompiled of string -val eval_string: (string -> unit) -> 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 -> + MatitaTypes.status ref -> string -> unit val eval_from_stream: - (string -> unit) -> - MatitaTypes.status ref -> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref -> Ulexing.lexbuf -> + (MatitaTypes.status -> GrafiteParser.statement -> unit) -> unit val eval_from_stream_greedy: - (string -> unit) -> - MatitaTypes.status ref-> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> + MatitaTypes.status ref-> Ulexing.lexbuf -> + (MatitaTypes.status -> GrafiteParser.statement -> unit) -> unit val eval_ast: - (string -> unit) -> + ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> - MatitaTypes.status - -val eval: - (string -> unit) -> - MatitaTypes.status -> (Cic.term,Cic.obj,string) TacticAst.statement -> + GrafiteParser.statement -> MatitaTypes.status val initial_status: MatitaTypes.status lazy_t