Logtk_parsers.Util_tptpSourceCache that remembers the set of files that have been parsed so far
find_file name dir looks for a file with the given name, recursively, in dir, or in its parent dir recursively. It also looks in the "TPTP" environment variable.
Given a lexbuf, try to parse its content into a sequence of untyped declarations
val parse_file :
?cache:parse_cache ->
recursive:bool ->
string ->
untyped A.t Iter.t or_errorParsing a TPTP file is here presented with a recursive option that, if true, will make "include" directives to be recursively parsed. It uses find_file for included files.
Printing is simpler, because it does not involve includes.
Check whether some include declaration can be found in the sequence