From 5c062833d435e3dde5db3a8223c379a3e8cca520 Mon Sep 17 00:00:00 2001 From: Abdalrhman Mohamed <32971963+abdoo8080@users.noreply.github.com> Date: Tue, 22 Sep 2020 22:12:17 -0500 Subject: Refactor Commands to use the Public API. (#5105) This is work towards eliminating the Expr layer. This PR does the following: Replace Expr/Type with Term/Sort in the API for commands. Remove the command export functionality which is not supported. Since many commands now call the Solver functions instead of the SmtEngine ones, their behavior may be a slightly different. For example, (get-unsat-assumptions) now only works in incremental mode. In some cases, CVC4 will not recover from non-fatal errors. --- src/smt/smt_engine.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/smt/smt_engine.h') diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index ce17ffc82..1b8789513 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -133,8 +133,6 @@ namespace theory { class Rewriter; }/* CVC4::theory namespace */ -std::vector exprVectorToNodes(const std::vector& exprs); - // TODO: SAT layer (esp. CNF- versus non-clausal solvers under the // hood): use a type parameter and have check() delegate, or subclass // SmtEngine and override check()? -- cgit v1.2.3