aboutsummaryrefslogtreecommitdiff
path: root/langhs.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'langhs.cabal')
-rw-r--r--langhs.cabal47
1 files changed, 47 insertions, 0 deletions
diff --git a/langhs.cabal b/langhs.cabal
new file mode 100644
index 0000000..73ac567
--- /dev/null
+++ b/langhs.cabal
@@ -0,0 +1,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