This commit is contained in:
2024-10-10 11:14:29 +02:00
parent 8d35d03be6
commit 38b4e22c1e
10 changed files with 679 additions and 0 deletions

41
a5/a5-handout/a5.cabal Normal file
View File

@ -0,0 +1,41 @@
cabal-version: 3.0
name: a5
version: 1.0.0.0
build-type: Simple
common common
default-language: Haskell2010
ghc-options: -Wall -Wno-orphans
library
import: common
hs-source-dirs: src
build-depends:
base
, megaparsec
, QuickCheck
exposed-modules:
APL.AST
APL.Parser
APL.Error
APL.Eval
APL.Check
APL.Tests
executable apl
import: common
main-is: apl.hs
build-depends:
base
, a5
test-suite a5-test
import: common
type: exitcode-stdio-1.0
main-is: runtests.hs
build-depends:
base
, tasty
, tasty-quickcheck
, a5