package logtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Core types and algorithms for logic
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.0.tar.gz
md5=7a8e57388083ed763d12d18324c8a086
sha512=5c5ac312ada6b42907d1e91e349454a8375f7bf8165d3459721a40b707a840a3d6b3dc968a66f1040cb4de7aedf5c1c13f3e90b51337eae5ea6de41651d7bd63
doc/logtk.parsers/Logtk_parsers/Parsing_utils/index.html
Module Logtk_parsers.Parsing_utils
Utils for Parsing in various Formats (High-Level Interface)
This 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_nametype 'a or_error = ('a, string) CCResult.tval 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 and guess_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 file parses the file using the parser for the given input format.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page