X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaEngine.mli;h=6c8b8660518eb70cf07d5ae20e6a0c3f839cb5cf;hb=1e7db0c9a71cb3720d36ab090706a84e3f539fe0;hp=05092770ba9caeee237940b9edafe619a319eedb;hpb=cf5b84fca20d90722298e9a5f5399ff15a3bc1d4;p=helm.git diff --git a/helm/matita/matitaEngine.mli b/helm/matita/matitaEngine.mli index 05092770b..6c8b86605 100644 --- a/helm/matita/matitaEngine.mli +++ b/helm/matita/matitaEngine.mli @@ -24,31 +24,43 @@ *) exception Drop +exception UnableToInclude of string +exception IncludedFileNotCompiled of string + +type statement = + (CicNotationPt.term, GrafiteAst.obj, string) GrafiteAst.statement (* 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: ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status ref -> char Stream.t -> - (MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + (MatitaTypes.status -> 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 -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> unit) -> + (MatitaTypes.status -> statement -> unit) -> unit val eval_ast: ?do_heavy_checks:bool -> + ?include_paths:string list -> + ?clean_baseuri:bool -> MatitaTypes.status -> - (CicAst.term,TacticAst.obj,string) TacticAst.statement -> + statement -> MatitaTypes.status val initial_status: MatitaTypes.status lazy_t +