module Smtlib_parser:Combined SMT-LIB file parser interface.sig
..end
type'a
tokenizer =Lexing.lexbuf -> 'a
type('a, 'b)
recognizer ='a tokenizer -> Lexing.lexbuf -> 'b
val initialized : unit -> bool
val initialize : string ->
'a tokenizer ->
('a, Smtlib_attribute.attribute list) recognizer ->
('a, Smtlib_attribute.attribute list) recognizer ->
('a, Smtlib_attribute.attribute list) recognizer -> unit
initialize smtlib tokenizer theory_parser logic_parser
benchmark_parser
initializes the combined smtlib file parser.
smtlib
is the path to the standard SMT-LIB library filestokenizer
is the tokenizer to usetheory_parser
is the entry point for the theory nonterminallogic_parser
is the entry point for the logic nonterminalbenchmark_parser
is the entry point for the benchmark nonterminalinitialized
val smtlib_theory_file : string -> string
smtlib_theory_file name
is the path to the SMT-LIB theory file
describing the theory called name
.
initialized
val smtlib_logic_file : string -> string
smtlib_logic_file name
is the path to the SMT-LIB logic file
describing the logic called name
.
initialized
val parse_theory : string -> Smtlib_attribute.attribute list
parse_theory path
parses the SMT-LIB theory file at the
specified path and returns the attributes of theory.
initialized
val parse_logic : string -> Smtlib_attribute.attribute list
parse_logic path
parses the SMT-LIB logic file at the
specified path and returns the attributes of logic.
initialized
val parse_benchmark : string -> Smtlib_attribute.attribute list
parse_logic path
parses the SMT-LIB benchmark file at the
specified path and returns the attributes of benchmark.
initialized