💕 Adding assignment 2

This commit is contained in:
2024-09-12 13:54:13 +02:00
parent 3722040d09
commit b061522fd1
9 changed files with 321 additions and 0 deletions

32
a2/a2-handout/a2.cabal Normal file
View File

@ -0,0 +1,32 @@
cabal-version: 3.0
name: a2
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
exposed-modules:
APL.AST
APL.Check
APL.Check_Tests
APL.Eval
APL.Eval_Tests
test-suite a2-test
import: common
type: exitcode-stdio-1.0
main-is: runtests.hs
build-depends:
base
, tasty
, a2