-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathhpython.cabal
216 lines (206 loc) · 8.78 KB
/
hpython.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
-- Initial hpython.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: hpython
version: 0.3
synopsis: Python language tools
description:
`hpython` provides an abstract syntax tree for Python 3.5, along with a parser,
printer, and syntax checker. It also contains optics for working with the AST,
and a DSL for writing Python programs directly in Haskell.
.
For a high-level overview of the library, see the @Language.Python@ module.
.
For code examples, see the [examples directory on GitHub](https://github.com/qfpl/hpython/tree/master/example).
.
For general information about the project, see the [project readme](https://github.com/qfpl/hpython/blob/master/README.md).
license: BSD3
license-file: LICENCE
author: Isaac Elliott
maintainer: isaace71295@gmail.com
copyright: Copyright (c) 2017-2019, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
category: Language
build-type: Simple
extra-source-files: ChangeLog.md
benchmarks/pypy.py
test/files/ansible.py
test/files/asyncstatements.py
test/files/comments.py
test/files/decorators.py
test/files/dictcomp.py
test/files/django.py
test/files/django2.py
test/files/imaginary.py
test/files/indent_optics_in.py
test/files/indent_optics_out.py
test/files/indent_optics_in2.py
test/files/indent_optics_out2.py
test/files/exprs_optics_in1.py
test/files/exprs_optics_out1.py
test/files/idents_optics_in1.py
test/files/idents_optics_out1.py
test/files/joblib.py
test/files/joblib2.py
test/files/mypy.py
test/files/mypy2.py
test/files/numpy.py
test/files/numpy2.py
test/files/pandas.py
test/files/pandas2.py
test/files/pypy.py
test/files/pypy2.py
test/files/regex.py
test/files/requests.py
test/files/requests2.py
test/files/set.py
test/files/string.py
test/files/sqlalchemy.py
test/files/test.py
test/files/typeann.py
test/files/weird.py
test/files/weird2.py
cabal-version: >=1.10
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.4
source-repository head
type: git
location: git@github.com/qfpl/hpython.git
flag development
default: False
manual: True
library
exposed-modules: Data.Type.Set
, Data.Validate.Monadic
, Language.Python
, Language.Python.DSL
, Language.Python.Internal.Lexer
, Language.Python.Internal.Parse
, Language.Python.Internal.Render
, Language.Python.Internal.Render.Correction
, Language.Python.Internal.Token
, Language.Python.Internal.Syntax.IR
, Language.Python.Optics
, Language.Python.Optics.Idents
, Language.Python.Optics.Indents
, Language.Python.Optics.Newlines
, Language.Python.Optics.Validated
, Language.Python.Parse
, Language.Python.Parse.Error
, Language.Python.Render
, Language.Python.Syntax
, Language.Python.Syntax.Ann
, Language.Python.Syntax.AugAssign
, Language.Python.Syntax.CommaSep
, Language.Python.Syntax.Comment
, Language.Python.Syntax.Expr
, Language.Python.Syntax.Ident
, Language.Python.Syntax.Import
, Language.Python.Syntax.Module
, Language.Python.Syntax.Operator.Binary
, Language.Python.Syntax.Operator.Unary
, Language.Python.Syntax.ModuleNames
, Language.Python.Syntax.Numbers
, Language.Python.Syntax.Punctuation
, Language.Python.Syntax.Raw
, Language.Python.Syntax.Statement
, Language.Python.Syntax.Strings
, Language.Python.Syntax.Types
, Language.Python.Syntax.Whitespace
, Language.Python.Validate
, Language.Python.Validate.Error
, Language.Python.Validate.Scope
, Language.Python.Validate.Scope.Error
, Language.Python.Validate.Syntax
, Language.Python.Validate.Syntax.Error
, Language.Python.Validate.Indentation
, Language.Python.Validate.Indentation.Error
build-depends: base >=4.9 && <5
, bifunctors >= 0.1 && < 5.6
, bytestring >= 0.10 && < 0.11
, digit >=0.7 && < 0.10
, dlist >=0.8 && <0.9
, lens >= 4 && < 4.20
, parsers >= 0.10 && < 0.13
, megaparsec >= 7 && <8.1
, fingertree >=0.1 && <0.2
, generic-lens >=1.0 && <2.1
, mtl >= 2.1 && < 2.3
, containers >=0.5.7.1 && <0.7
, deriving-compat >=0.4 && <0.6
, semigroupoids >=5.2.2 && <5.4
, text >=1.2 && <1.3
, these >=0.7.4 && <1.1
, validation >= 1 && < 1.2
, parsers-megaparsec >=0.1 && <0.2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
-Wincomplete-patterns
-Wincomplete-record-updates
-Wunused-imports
-fno-warn-name-shadowing
if flag(development)
ghc-options: -Werror
executable example
main-is: Main.hs
other-modules: Indentation
, FixMutableDefaultArguments
, OptimizeTailRecursion
, Programs
, Recase
, Validation
hs-source-dirs: example
build-depends: base >=4.9 && <5, lens, hpython, text
default-language: Haskell2010
ghc-options: -Wincomplete-patterns
-Wincomplete-record-updates
-Wunused-imports
if flag(development)
ghc-options: -Werror
benchmark bench
main-is: Main.hs
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
build-depends: base >=4.9 && <5
, hpython
, megaparsec >= 7 && < 8.1
, criterion >= 1 && < 1.6
, deepseq
, text
, validation >= 1 && < 1.2
default-language: Haskell2010
ghc-options: -Wall
-Wincomplete-patterns
-Wincomplete-record-updates
-Wunused-imports
if flag(development)
ghc-options: -Werror
test-suite hpython-tests
main-is: Main.hs
type: exitcode-stdio-1.0
other-modules: DSL
, Helpers
, LexerParser
, Optics
, Parser
, Roundtrip
, Scope
, Syntax
hs-source-dirs: test
build-depends: base >=4.9 && <5
, filepath
, hpython
, hedgehog >= 0.5 && < 1.1
, lens >= 4 && < 4.20
, text >=1.2 && <1.3
, megaparsec >= 7 && < 8.1
, validation >= 1 && < 1.2
default-language: Haskell2010
ghc-options: -Wall
-Wincomplete-patterns
-Wincomplete-record-updates
-Wunused-imports
-fno-warn-name-shadowing
if flag(development)
ghc-options: -Werror