aboutsummaryrefslogtreecommitdiff
path: root/compcomp.cabal
blob: 20a3d37fe46a26d9cc610ae704e8d83d1416adab (plain)
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
name:          compcomp
version:       0.1.0
cabal-version: >= 1.10
build-type:    Simple
license:       MIT
author:        Tom Smeding
maintainer:    tom.smeding@gmail.com

executable            compcomp
    hs-source-dirs:   main
    main-is:          Main.hs
    default-language: Haskell2010
    ghc-options:      -Wall -O2
    build-depends:    base >= 4 && < 5, cc-parser, cc-typecheck, cc-utils
    other-modules:

library               cc-parser
    hs-source-dirs:   parser
    default-language: Haskell2010
    ghc-options:      -Wall -O2
    build-depends:    base >= 4 && < 5, parsec, cc-ast, cc-utils
    exposed-modules:  CC.Parser
    other-modules:

library               cc-typecheck
    hs-source-dirs:   typecheck
    default-language: Haskell2010
    ghc-options:      -Wall -O2
    build-depends:    base >= 4 && < 5, containers, mtl, cc-ast, cc-utils
    exposed-modules:  CC.Typecheck
    other-modules:

library               cc-ast
    hs-source-dirs:   ast
    default-language: Haskell2010
    ghc-options:      -Wall -O2
    build-depends:    base >= 4 && < 5, cc-utils
    exposed-modules:  CC.Source, CC.Typed
    other-modules:

library               cc-utils
    hs-source-dirs:   utils
    default-language: Haskell2010
    ghc-options:      -Wall -O2
    build-depends:    base >= 4 && < 5
    exposed-modules:  CC.Types, CC.Pretty
    other-modules: