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