💕 Adding assignment 3

This commit is contained in:
2024-09-24 14:22:53 +02:00
parent db1f22e983
commit ff778af26f
8 changed files with 432 additions and 0 deletions

39
a3/a3-handout/a3.cabal Normal file
View File

@ -0,0 +1,39 @@
cabal-version: 3.0
name: a3
version: 1.0.0.0
build-type: Simple
common common
default-language: Haskell2010
ghc-options: -Wall
library
import: common
hs-source-dirs: src
build-depends:
base
, tasty
, tasty-hunit
, megaparsec
exposed-modules:
APL.AST
APL.Eval
APL.Parser
APL.Parser_Tests
executable apl
import: common
main-is: apl.hs
build-depends:
base
, a3
test-suite a3-test
import: common
type: exitcode-stdio-1.0
main-is: runtests.hs
build-depends:
base
, tasty
, a3