-
Notifications
You must be signed in to change notification settings - Fork 4
/
hibet.cabal
244 lines (219 loc) · 5.98 KB
/
hibet.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
cabal-version: 3.0
name: hibet
version: 1.4.0
description: tibetan-english translator
synopsis: translator
homepage: https://github.com/willbasky/Hibet
bug-reports: https://github.com/willbasky/Hibet/issues
license: BSD-3-Clause
license-file: LICENSE
author: willbasky
maintainer: willgame(at)mail(dot)ru
copyright: 2023 willbasky
category: Utility
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
data-files:
dicts/*.txt
stuff/tibetan-syllables
stuff/titles.toml
extra-source-files:
test/env/data/dicts/*.txt
test/env/data/stuff/tibetan-syllables
test/env/data/stuff/titles.toml
tested-with: GHC ==9.4.8
source-repository head
type: git
location: https://github.com/willbasky/Hibet.git
common common-dot
default-extensions: OverloadedRecordDot
common common-options
build-depends: base >=4.11 && <5
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-fhide-source-paths -Wpartial-fields -Wmissing-deriving-strategies
-fwrite-ide-info -hiedir=.hie -Wunused-packages
-- -split-sections
-- -Wmissing-export-lists
-- -ddump-if-trace
-- -O2
-- -eventlog
-- -finfo-table-map
-- -fdistinct-constructor-tables
default-language: Haskell2010
default-extensions:
DataKinds
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
GADTs
LambdaCase
MultiParamTypeClasses
OverloadedStrings
PolyKinds
RankNTypes
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
library
import:
common-options
, common-dot
ghc-options: -fplugin=Effectful.Plugin
hs-source-dirs: src
exposed-modules:
App
Cli
Dictionary
Effects.Common
Effects.Console
Effects.File
Effects.PrettyPrint
Env
Label
Parse
Parse.SyllableLines
Parse.TibetanWord
Parse.Type
Parse.WylieText
Parse.WylieWord
Pretty
Translator
Type
Utility
other-modules:
Paths_hibet
Sandbox
autogen-modules: Paths_hibet
build-depends:
, bytestring ^>=0.11.5
, containers ^>=0.6.7
, deepseq ^>=1.4.8
, directory ^>=1.3.7
, effectful ^>=2.4.0
, effectful-core ^>=2.4.0
, effectful-plugin ^>=1.1.0
, effectful-th ^>=1.0.0
, extra ^>=1.8
, filepath ^>=1.4.2
, gitrev ^>=1.3.1
, hashable ^>=1.4.7
, haskeline ^>=0.8.2
, log-effectful ^>=1.0.0
, megaparsec ^>=9.6.1
, neat-interpolation ^>=0.5.1
, optparse-applicative ^>=0.18.1
, pager ^>=0.1.1
, parallel ^>=3.2.2
, path ^>=0.9.5
, path-io ^>=1.8.2
, prettyprinter ^>=1.7.1
, prettyprinter-ansi-terminal ^>=1.1.3
, radixtree ^>=0.6.0.0
, resourcet-effectful ^>=1.0.1
, terminal-size ^>=0.3.4
, text ^>=2.0.2
, text-rope ^>=0.3
, tomland ^>=1.3.3.2
, unordered-containers ^>=0.2.20
executable hibet
import: common-options
hs-source-dirs: app
main-is: Main.hs
ghc-options:
-Wall -threaded -rtsopts -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wcompat -Widentities
-Wredundant-constraints -fhide-source-paths -Wmissing-export-lists
-Wpartial-fields -with-rtsopts=-N16 -with-rtsopts=-qn8
-with-rtsopts=-A64m -with-rtsopts=-AL128m -with-rtsopts=-I0
-with-rtsopts=-T
-- -O2 -eventlog
-- ^ for threadscope
build-depends: hibet
test-suite hibet-pretty
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test/pretty
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
, hibet
, hspec
, prettyprinter
test-suite hibet-labels
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test/labels
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
, bytestring
, containers
, hibet
, hspec
test-suite hibet-env
import:
common-options
, common-dot
type: exitcode-stdio-1.0
hs-source-dirs: test/env
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
, bytestring
, effectful-core
, hibet
, hspec
, text
, unordered-containers
other-modules:
Paths
Paths_hibet
autogen-modules: Paths_hibet
test-suite hibet-parse
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test/parse
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
, hibet
, hspec
other-modules: Paths_hibet
autogen-modules: Paths_hibet
benchmark hibet-benchmark
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: Main.hs
build-depends:
, bytestring
, criterion
, file-embed
, hibet
, path
, path-io >=1.4.0
, text
, text-rope
-- , weigh
-- , streamly
-- , unordered-containers
-- , conduit
-- , async
other-modules:
Common
Lines
Paths_hibet
autogen-modules: Paths_hibet
ghc-options: -threaded -rtsopts -with-rtsopts=-N