-
Notifications
You must be signed in to change notification settings - Fork 2
/
nsc-lib.cabal
123 lines (116 loc) · 2.57 KB
/
nsc-lib.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.5.
--
-- see: https://github.com/sol/hpack
name: nsc-lib
version: 2.0.0
description: Please see the README on GitHub at <https://github.com/mesabloo/n-star#readme>
homepage: https://github.com/mesabloo/n-star#readme
bug-reports: https://github.com/mesabloo/n-star/issues
author: Mesabloo
maintainer: Mesabloo
copyright: 2020 Mesabloo
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/mesabloo/n-star
flag debug
description: Enable/disable compiling with debugging symbols
manual: True
default: False
library
exposed-modules:
Language.NStar.CodeGen
Language.NStar.Syntax
Language.NStar.Typechecker
Lib
other-modules:
Paths_nsc_lib
hs-source-dirs:
src
default-extensions:
BlockArguments
LambdaCase
BinaryLiterals
ImplicitParams
OverloadedStrings
ghc-options: -Wall -Wextra -Wno-name-shadowing
build-depends:
base >=4.7 && <5
, diagnose
, elfgen
, nsc-codegen
, nsc-core
, nsc-parser
, nsc-typechecker
if flag(debug)
ghc-options: -g3
default-language: Haskell2010
executable nsc
main-is: Main.hs
other-modules:
Paths_nsc_lib
hs-source-dirs:
app
default-extensions:
BlockArguments
LambdaCase
BinaryLiterals
ImplicitParams
OverloadedStrings
ghc-options: -Wall -Wextra -Wno-name-shadowing -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, bytestring
, diagnose
, directory
, elfgen
, filepath
, mtl
, nsc-codegen
, nsc-core
, nsc-flags
, nsc-lib
, nsc-parser
, nsc-typechecker
, prettyprinter
, text
if flag(debug)
ghc-options: -g3
default-language: Haskell2010
test-suite nsc-tests
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_nsc_lib
hs-source-dirs:
test
default-extensions:
BlockArguments
LambdaCase
BinaryLiterals
ImplicitParams
OverloadedStrings
ghc-options: -Wall -Wextra -Wno-name-shadowing -threaded -rtsopts -with-rtsopts=-N
build-depends:
Glob
, base >=4.7 && <5
, deepseq
, diagnose
, elfgen
, hspec
, nsc-codegen
, nsc-core
, nsc-flags
, nsc-lib
, nsc-parser
, nsc-typechecker
, spoon
, text
if flag(debug)
ghc-options: -g3
default-language: Haskell2010