started on a test suite

This commit is contained in:
sebastianselander 2023-02-23 11:54:35 +01:00
parent 5daa5573f2
commit 06e65de235
6 changed files with 57 additions and 272 deletions

View file

@ -15,7 +15,6 @@ extra-doc-files: CHANGELOG.md
extra-source-files:
Grammar.cf
common warnings
ghc-options: -Wdefault
@ -51,6 +50,34 @@ executable language
, either
, extra
, array
, unification-fd
default-language: GHC2021
test-suite test
hs-source-dirs: tests, src
main-is: Main.hs
type: exitcode-stdio-1.0
other-modules:
Grammar.Abs
Grammar.Lex
Grammar.Par
Grammar.Print
Grammar.Skel
Grammar.ErrM
Auxiliary
Renamer.RenamerM
TypeChecker.AlgoW
TypeChecker.HM
TypeChecker.HMIr
build-depends:
base >=4.16
, mtl
, containers
, either
, array
, extra
, hspec
default-language: GHC2021