]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaEngine.mli
update in basic_2
[helm.git] / matita / matita / matitaEngine.mli
index 6af367614abf9a6a383a2d3ac2da50a5de5046c9..2b8d9fd8c7708722fb45ec6d33f722b72623bd20 100644 (file)
@@ -27,10 +27,18 @@ exception TryingToAdd of string Lazy.t
 exception EnrichedWithStatus of exn * GrafiteTypes.status
 exception AlreadyLoaded of string Lazy.t
 exception FailureCompiling of string * exn
+exception CircularDependency of string
+
+class status:
+ string ->
+  object
+   inherit GrafiteTypes.status
+   inherit ApplyTransformation.status
+  end
 
 val get_ast:
 GrafiteTypes.status -> include_paths:string list -> Ulexing.lexbuf ->
-    GrafiteAst.statement
GrafiteTypes.status -> include_paths:string list -> GrafiteParser.parsable ->
+  GrafiteAst.statement
 
 (* heavy checks slow down the compilation process but give you some interesting
  * infos like if the theorem is a duplicate *)
@@ -43,4 +51,8 @@ val eval_ast :
   (GrafiteTypes.status *
    (DisambiguateTypes.domain_item * GrafiteAst.alias_spec) option) list
 
-val assert_ng : include_paths:string list -> root:string -> string -> bool
+val assert_ng: include_paths:string list -> string -> bool
+
+(* given a path to a ma file inside the include_paths, returns the
+   new include_paths associated to that file *)
+val read_include_paths: include_paths:string list -> string -> string list