-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathkriti-lang.cabal
137 lines (123 loc) · 2.77 KB
/
kriti-lang.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cabal-version: 3.0
name: kriti-lang
version: 0.3.3
copyright: 2021 Hasura Systems Private Limited
author: Solomon Bothwell
maintainer: [email protected]
license: Apache-2.0
license-file: LICENSE
category: Compiler
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with: GHC ==8.10.7
-------------------------------------------------------------------------------
-- Settings shared between all components.
common common-settings
default-language: Haskell2010
default-extensions:
BlockArguments
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
NamedFieldPuns
OverloadedStrings
StrictData
RecordWildCards
TupleSections
DerivingVia
TypeApplications
TypeFamilies
ghc-options:
-Wall
-Wcpp-undef
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Werror=missing-home-modules
common common-libraries
build-depends:
, base >= 2 && < 5
, aeson <1.6 || >=2 && <2.2
, bytestring
, containers
, text
, utf8-string
, optparse-applicative
, prettyprinter
-------------------------------------------------------------------------------
library
import:
, common-libraries
, common-settings
hs-source-dirs: src
build-depends:
, array
, lens
, megaparsec
, mtl
, network-uri
, parser-combinators == 1.3.0
, scientific
, unordered-containers
, vector
build-tool-depends:
, alex:alex >= 3.2.6
, happy:happy >= 1.20
exposed-modules:
Kriti
Kriti.Aeson.Compat
Kriti.Error
Kriti.Parser
Kriti.Parser.Grammar
Kriti.Parser.Lexer
Kriti.Parser.Monad
Kriti.Parser.Spans
Kriti.Parser.Token
Kriti.Eval
Kriti.CustomFunctions
other-modules:
Paths_kriti_lang
-------------------------------------------------------------------------------
test-suite kriti-lang-test
import:
, common-libraries
, common-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
, kriti-lang
, aeson-pretty
, directory
, filepath
, generic-arbitrary
, hspec
, hspec-core
, hspec-golden
, lens
, lens-aeson
, mtl
, parsec
, pretty-simple
, prettyprinter
, profunctors
, raw-strings-qq
, QuickCheck
, safe-exceptions
, scientific
, unordered-containers
, utf8-string
, vector
-------------------------------------------------------------------------------
executable kriti
import:
, common-libraries
, common-settings
main-is: Main.hs
build-depends:
, kriti-lang
, mtl