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
|
cabal-version: 2.2
name: compcomp
version: 0.1.0
build-type: Simple
license: MIT
author: Tom Smeding
maintainer: tom.smeding@gmail.com
common deps
default-language: Haskell2010
ghc-options: -O2 -Wall
build-depends: base >=4 && <5
executable compcomp
import: deps
hs-source-dirs: main
main-is: Main.hs
build-depends: cc-parser, cc-typecheck, cc-backend-dumb, cc-ast, cc-utils
library cc-parser
import: deps
hs-source-dirs: parser
build-depends: containers, parsec, cc-ast, cc-utils
exposed-modules: CC.Parser
library cc-typecheck
import: deps
hs-source-dirs: typecheck
build-depends: containers, mtl, cc-ast, cc-utils
exposed-modules: CC.Typecheck
other-modules: CC.Typecheck.Typedefs, CC.Typecheck.Types
library cc-backend-dumb
import: deps
hs-source-dirs: backend
build-depends: containers, cc-ast, cc-utils
exposed-modules: CC.Backend.Dumb
library cc-ast
import: deps
hs-source-dirs: ast
build-depends: containers, cc-utils
exposed-modules: CC.AST.Source, CC.AST.Typed, CC.Context
library cc-utils
import: deps
hs-source-dirs: utils
exposed-modules: CC.Types, CC.Pretty
|