**/
#include "printer/cvc/cvc_printer.h"
+#include "util/language.h"
#include <iostream>
std::ostream& CvcPrinter::toStream(std::ostream& out, TNode n,
int toDepth, bool types) const {
- return out;
+ return n.toStream(out, toDepth, types, language::output::LANG_AST);
}/* CvcPrinter::toStream() */
}/* CVC4::printer::cvc namespace */
switch(lang) {
case LANG_SMTLIB:
- //return new printer::smt::SmtPrinter;
+ return new printer::smt::SmtPrinter;
+
case LANG_SMTLIB_V2:
return new printer::smt2::Smt2Printer;
+
case LANG_CVC4:
- //return new printer::cvc::CvcPrinter;
+ return new printer::cvc::CvcPrinter;
+
case LANG_AST:
return new printer::ast::AstPrinter;
+
default:
Unhandled(lang);
}
}/* Printer::makePrinter() */
}/* CVC4 namespace */
-
**/
#include "printer/smt/smt_printer.h"
+#include "util/language.h"
#include <iostream>
std::ostream& SmtPrinter::toStream(std::ostream& out, TNode n,
int toDepth, bool types) const {
- return out;
+ return n.toStream(out, toDepth, types, language::output::LANG_SMTLIB_V2);
}/* SmtPrinter::toStream() */
}/* CVC4::printer::smt namespace */
partial_model.h \
partial_model.cpp \
ordered_bounds_list.h \
+ ordered_set.h \
arithvar_dense_set.h \
tableau.h \
tableau.cpp \