aboutsummaryrefslogtreecommitdiff
path: root/langhs.cabal
blob: 73ac5676ee0a14859cefd3d531005645ba902d6c (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
cabal-version:       >=1.10
name:                langhs
synopsis:            Compiler for a made-up language to x64
version:             0.1.0.0
license:             MIT
author:              Tom Smeding
maintainer:          tom@tomsmeding.com
build-type:          Simple

executable langhs
  main-is:             Main.hs
  other-modules:
    AST
    BuildIR
    CodeGen
    Defs
    Intermediate
    LibLang
    -- LifetimeAnalysis2
    LifetimeAnalysis
    LifetimeAnalysisOld
    Optimiser
    OptionParser
    Pretty
    ProgramParser
    RegAlloc
    ReplaceRefs
    TypeCheck
    TypeRules
    Utils
    Verify
    X64
    X64Optimiser
  build-depends:       base >= 4.13 && < 4.15,
                       parsec >= 3.1 && < 3.2,
                       mtl >= 2.2 && < 2.3,
                       containers >= 0.6 && < 0.7,
                       directory >= 1.3 && < 1.4,
                       process >= 1.6 && < 1.7,
                       unix >= 2.7 && < 2.8,
                       bytestring,
                       -- vector >= 0.12 && < 0.13,
                       -- primitive >= 0.7 && < 0.8,
                       file-embed >= 0.0.13 && < 0.0.14
  hs-source-dirs:      .
  default-language:    Haskell2010
  ghc-options:         -Wall -O2 -threaded -Widentities -Wno-unused-imports