Skip to content

Commit

Permalink
Remove lingering references to Sally
Browse files Browse the repository at this point in the history
The `what4-transition-system-tests` test suite in particular will be moved to
`language-sally`.
  • Loading branch information
RyanGlScott committed Apr 11, 2022
1 parent 5901b36 commit 87b360b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 258 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@
[submodule "dependencies/blt"]
path = dependencies/blt
url = https://github.com/GaloisInc/blt
[submodule "dependencies/language-sally"]
path = dependencies/language-sally
url = https://github.com/GaloisInc/language-sally.git

3 changes: 1 addition & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ packages:
what4-abc/
what4-blt/
what4-transition-system/

optional-packages:
dependencies/abcBridge/
dependencies/aig/
dependencies/blt/
dependencies/language-sally/
1 change: 0 additions & 1 deletion dependencies/language-sally
Submodule language-sally deleted from c846f9
7 changes: 4 additions & 3 deletions what4-transition-system/src/What4/TransitionSystem.hs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ createStateStruct sym namespace stateType =
type CtxState state = Ctx.EmptyCtx Ctx.::> BaseTypes.BaseStructType state

-- | Computes a set of side conditions we must add to state formulas to account
-- for the mismatch between What4 types and sally types. For instance, a What4
-- @Nat@ must be translated as a Sally @Int@ (since Sally does not have natural
-- numbers), with a side condition of positivity.
-- for the mismatch between What4 types and types found in transition systems
-- such as MCMT and Sally. For instance, a What4 @Nat@ must be translated as
-- an MCMT @Int@ (since MCMT does not have natural numbers), with a side
-- condition of positivity.
sideConditions ::
forall sym t st fs state.
sym ~ ExprBuilder t st fs =>
Expand Down
235 changes: 0 additions & 235 deletions what4-transition-system/test/Main.hs

This file was deleted.

13 changes: 0 additions & 13 deletions what4-transition-system/what4-transition-system.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,3 @@ library
-Werror=overlapping-patterns

default-language: Haskell2010

test-suite what4-transition-system-tests
import: dependencies
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Paths_what4_transition_system
hs-source-dirs: test
ghc-options:
-Wall -Werror=incomplete-patterns -Werror=missing-methods
-Werror=overlapping-patterns

build-depends: what4-transition-system
default-language: Haskell2010

0 comments on commit 87b360b

Please sign in to comment.