This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathc0.cabal
66 lines (60 loc) · 2.35 KB
/
c0.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: c0
version: 0.1.0.0
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
-- Run Tests
Test-Suite lexerTest
type: exitcode-stdio-1.0
main-is: MainLexerTest.hs
other-modules: Lexer, LexerTest
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck
hs-source-dirs: src, test
build-tools: alex
default-language: Haskell2010
Test-Suite parserTest
type: exitcode-stdio-1.0
main-is: MainParserTest.hs
other-modules: Lexer, Parser, ParserTest, AST, TestPrograms
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck
hs-source-dirs: src, test
build-tools: alex, happy
default-language: Haskell2010
Test-Suite typeCheckTest
type: exitcode-stdio-1.0
main-is: MainTypeCheckTest.hs
other-modules: Lexer, Parser, AST, TestPrograms, TypeCheck, TypeCheckTest
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck, containers
hs-source-dirs: src, test
build-tools: alex, happy
default-language: Haskell2010
Test-Suite middleCodeTest
type: exitcode-stdio-1.0
main-is: MainMiddleCodeTest.hs
other-modules: Lexer, Parser, AST, MiddleCode, TestPrograms, MiddleCodeTest
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck, containers, mtl
hs-source-dirs: src, test
build-tools: alex, happy
default-language: Haskell2010
Test-Suite machineSymTest
type: exitcode-stdio-1.0
main-is: MainMachineSymTest.hs
other-modules: Lexer, Parser, AST, MiddleCode, MachineSym, TestPrograms, MachineSymTest
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck, containers, mtl
hs-source-dirs: src, test
build-tools: alex, happy
default-language: Haskell2010
-- Run compiler
executable main
main-is: Main.hs
other-modules: Lexer, Parser, AST, TypeCheck, MiddleCode, MachineSym
other-extensions: TemplateHaskell
build-depends: base, array, QuickCheck, containers, mtl
hs-source-dirs: src, test
build-tools: alex, happy
default-language: Haskell2010