-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzm-language.cabal
More file actions
147 lines (134 loc) · 2.86 KB
/
zm-language.cabal
File metadata and controls
147 lines (134 loc) · 2.86 KB
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
name: zm-language
version: 0.3.3
synopsis:
Parser, pretty printer and code generators for the ZM data modelling language
description:
See the <http://github.com/Quid2/zm-language online tutorial>.
homepage: http://github.com/Quid2/zm-language
category: Data
license: BSD3
license-file: LICENSE
author: Pasqualino `Titto` Assini
maintainer: tittoassini@gmail.com
copyright: Copyright: (c) 2025 Pasqualino `Titto` Assini
cabal-version: >=1.10
build-type: Simple
tested-with:
ghc ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==9.6.7
extra-source-files: README.md
-- stack.yaml
-- stack710.yaml
--stack802.yaml
--stack822.yaml
source-repository head
type: git
location: https://github.com/Quid2/zm-language
library
exposed-modules:
ZM.To.Dart
ZM.To.Haskell
ZM.To.PureScript
ZM.To.TypeScript
ZM.To.Util
ZM.To.ZMT
other-modules: FileEmbed
build-depends:
QuickCheck,
Unique,
array >=0.5.1.0 && <0.6,
base >=4.8.2.0 && <5,
bytestring,
containers,
data-default,
data-fix,
directory,
either,
extra,
file-embed,
filepath,
flat,
megaparsec,
model,
parser-combinators,
pretty,
mtl,
regex-compat,
scientific,
template-haskell,
text,
zm >=0.3,
top
-- TODO: remove QuickCheck
default-language: Haskell2010
hs-source-dirs: src
-- ghc-options: -O2 -funbox-strict-fields -Wall -fno-warn-orphans -fno-warn-name-shadowing
ghc-options:
-funbox-strict-fields
-Wall
-fno-warn-orphans
-fno-warn-name-shadowing
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-- -Werror
test-suite lib
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
base,
bytestring,
containers,
file-embed,
filepath,
flat,
model,
pretty,
tasty >=0.11,
tasty-hunit >=0.8,
tasty-quickcheck,
text,
timeit >=1,
zm,
zm-language
default-language: Haskell2010
hs-source-dirs: test
other-modules:
Info
Test.Data
Test.Data.Model
Test.Data2
Test.Data3
ToHaskellTest
ToTypeScriptTest
ToZMTTest
-- Test.Data.Flat
-- Test.Data2.Flat
-- Test.Data3.Flat
test-suite doc
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options:
-threaded
-O0
main-is: DocSpec.hs
build-depends:
base,
doctest >=0.11.4,
filemanip >=0.3.6.3
hs-source-dirs: test
-- test-suite flat-test
-- default-language: Haskell2010
-- type: exitcode-stdio-1.0
-- main-is: FlatTest.hs
-- -- Modules included in this executable, other than Main.
-- -- other-modules:
-- -- LANGUAGE extensions used by modules in this package.
-- -- other-extensions:
-- build-depends:
-- base
-- , bytestring
-- , flat
-- , pretty-simple
-- , QuickCheck >=2.14.2
-- , zm
-- hs-source-dirs: test