-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3736ed1
commit 3231452
Showing
19 changed files
with
194 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
module Casm.Compilation where | ||
|
||
import Base | ||
import Casm.Compilation.Negative qualified as N | ||
import Casm.Compilation.Positive qualified as P | ||
import Casm.Compilation.Negative qualified as Negative | ||
import Casm.Compilation.Positive qualified as Positive | ||
|
||
allTests :: TestTree | ||
allTests = testGroup "Juvix to CASM compilation" [P.allTests, P.allTestsNoOptimize, N.allTests] | ||
allTests :: IO TestTree | ||
allTests = | ||
testGroup "Juvix to CASM compilation" | ||
<$> sequence | ||
[ Positive.allTests, | ||
Positive.allTestsNoOptimize, | ||
return Negative.allTests | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
module Casm.Reg where | ||
|
||
import Base | ||
import Casm.Reg.Cairo qualified as C | ||
import Casm.Reg.Positive qualified as P | ||
import Casm.Reg.Cairo qualified as Cairo | ||
import Casm.Reg.Positive qualified as Positive | ||
|
||
allTests :: TestTree | ||
allTests = testGroup "JuvixReg to CASM translation" [P.allTests, C.allTests] | ||
allTests :: IO TestTree | ||
allTests = | ||
testGroup | ||
"JuvixReg to CASM translation" | ||
<$> sequence | ||
[ return Positive.allTests, | ||
Cairo.allTests | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module Casm.Run where | ||
|
||
import Base | ||
import Casm.Run.Negative qualified as RunN | ||
import Casm.Run.Positive qualified as RunP | ||
import Casm.Run.Negative qualified as Negative | ||
import Casm.Run.Positive qualified as Positive | ||
|
||
allTests :: TestTree | ||
allTests = testGroup "CASM run" [RunP.allTests, RunN.allTests] | ||
allTests :: IO TestTree | ||
allTests = testGroup "CASM run" <$> sequence [Positive.allTests, return Negative.allTests] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
module Rust.Compilation where | ||
|
||
import Base | ||
import Rust.Compilation.Base | ||
import Rust.Compilation.Positive qualified as P | ||
|
||
allTests :: TestTree | ||
allTests = testGroup "Juvix to native Rust compilation tests" [P.allTests, P.allTestsNoOptimize] | ||
allTests :: IO TestTree | ||
allTests = | ||
withPrecondition precondition . return $ | ||
testGroup "Juvix to native Rust compilation tests" [P.allTests, P.allTestsNoOptimize] |
Oops, something went wrong.