-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathana-compiler.cabal
72 lines (62 loc) · 1.7 KB
/
ana-compiler.cabal
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
cabal-version: 2.4
name: ana-compiler
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: f3r10
maintainer: frledesma@outlook.com
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
common common-settings
default-language: Haskell2010
ghc-options:
-Wall
library
import: common-settings
exposed-modules:
AnaCompiler
AnaCompiler.Parser
AnaCompiler.Expr
AnaCompiler.Compile
AnaCompiler.Asm
AnaCompiler.Utils
build-depends:
base
, parsec
, validation
, mtl
, text
hs-source-dirs: src
executable ana-compiler
import: common-settings
main-is: Main.hs
build-depends: base ^>=4.17.2.1
-- , sexpresso
, parsec
, ana-compiler
-- , sexp-grammar
-- , megaparsec
-- , text
hs-source-dirs: app
ghc-options: -O
test-suite ana-compiler-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, ana-compiler
, hspec
, QuickCheck
, process
, text
, directory
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010