Open brianhuffman opened 4 years ago
Maybe it would be nice for the saw-core simulator to use Cryptol's Backend
class. We should have a close look at how Backend
is defined to see if this would work.
After taking a quick look a this, I think there wouldn't be too much work to do so we could align the set of primitives in SAWCore with those in Cryptol. As a bonus, SAWCore would automatically get the benefit of the safety predicate and definitional equation features we added to the Cryptol evaluator, as well as immediately usable definitions of all the integer, Z n and rational operations.
This ticket is based on #37. Instead of trying to use the same symbolic simulator for cryptol and saw-core, we should try to share code for some pieces of each. In particular, we should consider making a library for the implementation of the cryptol sequence type. The goal of this refactoring would be to have the saw-core symbolic simulator be able to reuse some of the same libraries.