Logtk_parsers.Parsing_utilsSourceThis module provides functions to parse a file and guess its syntax (from its extension) in a convenient way.
To parse a file file_name into a sequence of statements, the simplest way is:
let fmt = guess_input file_name in
parse_file fmt file_nameParse the given file as TPTP
Parse the given file as TIP
Guess input from file extension
Choose input for this file based on Options.input and guess_input. This is the recommended way of picking the input format for a given file.
parse_file fmt file parses the file using the parser for the given input format.