Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@makaimann
Copy link
Collaborator

@makaimann makaimann commented Nov 4, 2019

At a recent meeting, we got some feedback on smt-switch and there's a pull request there which improves the API (stanford-centaur/smt-switch#25). This pull request simply makes the necessary changes to cosa2 to reflect those changes.

In particular:

  • make_value -> make_term
  • creating symbols is done with make_symbol
  • transferring terms uses a dedicated TermTranslator object that moves arbitrary terms to terms that can be used by a particular solver (given to the translator in the constructor). It keeps an internal cache.

Once this is approved, it can be merged as soon as the smt-switch pull request is merged. At that point, we should revert 347934e so that it doesn't pull from the smt-switch branch.

@makaimann makaimann added the do not merge Don't merge this pull request yet (waiting on something or not yet ready). label Nov 4, 2019
Copy link
Collaborator

@ahmed-irfan ahmed-irfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@makaimann makaimann removed the do not merge Don't merge this pull request yet (waiting on something or not yet ready). label Nov 6, 2019
@makaimann makaimann merged commit bd2d775 into master Nov 6, 2019
@makaimann makaimann deleted the smt-switch-change-interface branch November 6, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants