]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commit
An initial version of an smtlib2 format parser. It has these problems:
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 21 May 2010 15:55:33 +0000 (15:55 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 21 May 2010 15:55:33 +0000 (15:55 +0000)
commitc220bc350564955d73af2645d4dcbe470ec242d0
tree64f961f7f8d666e3c6b03c163900a62c3f3078d8
parent1c6d8e67d0e1bd7a052891c0f6b22361919eaaee
An initial version of an smtlib2 format parser. It has these problems:
* Leaks memory
* Doesn't allow for annotations on terms.
* Ignores the commands sent to it. It just solves the problem specified.

Other changes:
* Long options are no longer case senstive.
* If the input file ends with .smt2 or .smt the appropriate parser is selected.
* The simplifying node factory is disabled during parsing when printing back is enabled. This allows STP to be used as a better, but still low-fidelity translator between formats.

git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@774 e59a4935-1847-0410-ae03-e826735625c1
src/STPManager/UserDefinedFlags.h
src/c_interface/c_interface.cpp
src/main/main.cpp
src/parser/.PL.y.swp [deleted file]
src/parser/.parsePL.cpp.swp [deleted file]
src/parser/LetMgr.cpp
src/parser/Makefile
src/parser/smtlib2.lex [new file with mode: 0644]
src/parser/smtlib2.y [new file with mode: 0644]
src/to-sat/ToSAT.cpp