* http://helm.cs.unibo.it/
*)
+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
+
+val get_ast:
+ GrafiteTypes.status -> include_paths:string list -> Ulexing.lexbuf ->
+ GrafiteAst.statement
+
+(* heavy checks slow down the compilation process but give you some interesting
+ * infos like if the theorem is a duplicate *)
val eval_ast :
include_paths: string list ->
?do_heavy_checks:bool ->
(GrafiteTypes.status *
(DisambiguateTypes.domain_item * GrafiteAst.alias_spec) option) list
-
-(* heavy checks slow down the compilation process but give you some interesting
- * infos like if the theorem is a duplicate *)
-
-exception EnrichedWithStatus of exn * GrafiteTypes.status
-
-(* should be used only by the compiler since it looses the
- * disambiguation_context (text,prefix_len,_) *)
-val eval_from_stream :
- include_paths:string list ->
- ?do_heavy_checks:bool ->
- ?enforce_no_new_aliases:bool -> (* default true *)
- GrafiteTypes.status ->
- Ulexing.lexbuf ->
- (GrafiteTypes.status -> GrafiteAst.statement -> unit) ->
- (GrafiteTypes.status *
- (DisambiguateTypes.domain_item * GrafiteAst.alias_spec) option) list
+val assert_ng : include_paths:string list -> root:string -> string -> bool