Module Logtk_parsers.Parsing_utils
Utils for Parsing in various Formats (High-Level Interface)
val parse_tptp : string -> Logtk.UntypedAST.statement Iter.t or_errorParse the given file as TPTP
val parse_tip : string -> Logtk.UntypedAST.statement Iter.t or_errorParse the given file as TIP
val guess_input : string -> Logtk.Input_format.tGuess input from file extension
val input_of_file : string -> Logtk.Input_format.tChoose input for this file based on
Options.input andguess_input. This is the recommended way of picking the input format for a given file.
val parse_file : Logtk.Input_format.t -> string -> Logtk.UntypedAST.statement Iter.t or_errorparse_file fmt fileparses the file using the parser for the given input format.