-
Notifications
You must be signed in to change notification settings - Fork 0
/
tcchs.cabal
48 lines (42 loc) · 1.16 KB
/
tcchs.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
name: tcchs
version: 0.1
author: Yuichiro Hanada
synopsis: Toy compiler for Tiny C.
cabal-version: >= 1.10
build-type: Simple
Library
Hs-source-dirs: src
Default-Language: Haskell2010
Build-depends: base >= 4 && < 5
, parsec
, containers
, mtl
, filepath
Exposed-modules: Symbol
Parser
SemanticChecker
CompileError
CodeGen.AsmCode
CodeGen.CodeGenerator
CodeGen.CompilationState
Syntax.AST
Syntax.Types
ghc-options: -Wall
executable tcchs
Hs-source-dirs: src-exec
main-is: Main.hs
Default-Language: Haskell2010
build-depends: base >= 4 && < 5
, filepath
, parsec
, tcchs
ghc-options: -Wall
Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
Hs-source-dirs: spec
Main-Is: Spec.hs
Other-Modules: SymbolSpec
Build-depends: base >= 4 && < 5
, hspec >= 1.3
, tcchs