TPTP: add parser for cnf and fof
authorFrançois Bobot <francois@bobot.eu>
Fri, 22 Jun 2012 15:11:37 +0000 (15:11 +0000)
committerFrançois Bobot <francois@bobot.eu>
Fri, 22 Jun 2012 15:11:37 +0000 (15:11 +0000)
commit84c4269f3b9edb8de4134fe464dfc70679da2bb1
treeb0c8f33e04d925064ffa9d85f1caeb6a3ff745b2
parenteda7d4df5481030d4e9cb6ef4a33d52afc8f7e0a
TPTP: add parser for cnf and fof
 - include directive works
 - no keyword : 'fof', 'cnf', ... can be used for symbols name
 - real -> unsorted -> real (for the one that appear, so no bijection bitween real and unsorted)
 - same thing for string

But:
 - string not distinct by projection to real, not sure if the current state of string theory make them distinct
 - filtering in include is not done
 - the result is not printed in the TPTP way (currently SMT2 way)
32 files changed:
src/compat/cvc3_compat.h
src/main/Makefile.am
src/main/driver.cpp
src/main/driver_portfolio.cpp
src/main/interactive_shell.cpp
src/parser/Makefile.am
src/parser/antlr_input.cpp
src/parser/parser_builder.cpp
src/parser/tptp/Makefile [new file with mode: 0644]
src/parser/tptp/Makefile.am [new file with mode: 0644]
src/parser/tptp/Tptp.g [new file with mode: 0644]
src/parser/tptp/tptp.cpp [new file with mode: 0644]
src/parser/tptp/tptp.h [new file with mode: 0644]
src/parser/tptp/tptp_input.cpp [new file with mode: 0644]
src/parser/tptp/tptp_input.h [new file with mode: 0644]
src/printer/printer.cpp
src/util/language.cpp
src/util/language.h
src/util/language.i
src/util/options.cpp
test/regress/regress0/Makefile.am
test/regress/regress0/tptp_parser.p [new file with mode: 0644]
test/regress/regress0/tptp_parser10.p [new file with mode: 0644]
test/regress/regress0/tptp_parser2.p [new file with mode: 0644]
test/regress/regress0/tptp_parser3.p [new file with mode: 0644]
test/regress/regress0/tptp_parser4.p [new file with mode: 0644]
test/regress/regress0/tptp_parser5.p [new file with mode: 0644]
test/regress/regress0/tptp_parser6.p [new file with mode: 0644]
test/regress/regress0/tptp_parser7.p [new file with mode: 0644]
test/regress/regress0/tptp_parser8.p [new file with mode: 0644]
test/regress/regress0/tptp_parser9.p [new file with mode: 0644]
test/regress/run_regression