-
Notifications
You must be signed in to change notification settings - Fork 1
/
language-ocaml.cabal
170 lines (162 loc) · 6.11 KB
/
language-ocaml.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
cabal-version: 3.0
name: language-ocaml
version: 0.2.2
author: Valentin Robert <valentin.robert.42@gmail.com>
maintainer: Valentin Robert <valentin.robert.42@gmail.com>
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
common common-options
build-depends:
, base
, prettyprinter >=1.7.0
default-extensions:
DeriveGeneric
DuplicateRecordFields
GADTs
LambdaCase
NamedFieldPuns
RankNTypes
RecordWildCards
ScopedTypeVariables
TypeApplications
default-language: Haskell2010
library
import: common-options
exposed-modules:
Language.OCaml.Definitions.Parsing.ASTHelper.Exception
Language.OCaml.Definitions.Parsing.ASTHelper.Exp
Language.OCaml.Definitions.Parsing.ASTHelper.Mb
Language.OCaml.Definitions.Parsing.ASTHelper.Mod
Language.OCaml.Definitions.Parsing.ASTHelper.Mtd
Language.OCaml.Definitions.Parsing.ASTHelper.Mty
Language.OCaml.Definitions.Parsing.ASTHelper.Opn
Language.OCaml.Definitions.Parsing.ASTHelper.Pat
Language.OCaml.Definitions.Parsing.ASTHelper.Sig
Language.OCaml.Definitions.Parsing.ASTHelper.Str
Language.OCaml.Definitions.Parsing.ASTHelper.Te
Language.OCaml.Definitions.Parsing.ASTHelper.Typ
Language.OCaml.Definitions.Parsing.ASTHelper.Type
Language.OCaml.Definitions.Parsing.ASTHelper.Val
Language.OCaml.Definitions.Parsing.ASTHelper.Vb
Language.OCaml.Definitions.Parsing.ASTTypes
Language.OCaml.Definitions.Parsing.Docstrings
Language.OCaml.Definitions.Parsing.Location
Language.OCaml.Definitions.Parsing.Longident
Language.OCaml.Definitions.Parsing.Parser.LetBinding
Language.OCaml.Definitions.Parsing.Parser.LetBindings
Language.OCaml.Definitions.Parsing.ParseTree
Language.OCaml.Parser
Language.OCaml.Parser.Common
Language.OCaml.Parser.Generator.Lexer
Language.OCaml.Parser.Generator.Parser
Language.OCaml.PrettyPrinter
Language.OCaml.PrettyPrinter.Internal
other-modules:
Language.OCaml.Definitions.Parsing.ASTHelper.Common
Language.OCaml.Definitions.StdLib.Lexing
Language.OCaml.Definitions.StdLib.Parsing
Language.OCaml.PrettyPrinter.ArgLabel
Language.OCaml.PrettyPrinter.Case
Language.OCaml.PrettyPrinter.Constant
Language.OCaml.PrettyPrinter.ConstructorArguments
Language.OCaml.PrettyPrinter.ConstructorDeclaration
Language.OCaml.PrettyPrinter.CoreType
Language.OCaml.PrettyPrinter.CoreTypeDesc
Language.OCaml.PrettyPrinter.Expression
Language.OCaml.PrettyPrinter.ExpressionDesc
Language.OCaml.PrettyPrinter.LabelDeclaration
Language.OCaml.PrettyPrinter.Loc
Language.OCaml.PrettyPrinter.Longident
Language.OCaml.PrettyPrinter.ModuleBinding
Language.OCaml.PrettyPrinter.ModuleExpr
Language.OCaml.PrettyPrinter.ModuleExprDesc
Language.OCaml.PrettyPrinter.MutableFlag
Language.OCaml.PrettyPrinter.OpenDescription
Language.OCaml.PrettyPrinter.OverrideFlag
Language.OCaml.PrettyPrinter.Pattern
Language.OCaml.PrettyPrinter.PatternDesc
Language.OCaml.PrettyPrinter.Payload
Language.OCaml.PrettyPrinter.RecFlag
Language.OCaml.PrettyPrinter.Structure
Language.OCaml.PrettyPrinter.StructureItem
Language.OCaml.PrettyPrinter.StructureItemDesc
Language.OCaml.PrettyPrinter.TypeDeclaration
Language.OCaml.PrettyPrinter.ValueBinding
Language.OCaml.PrettyPrinter.Variance
Language.OCaml.Utils
hs-source-dirs: lib
build-tool-depends: alex:alex -any, happy:happy -any
build-depends:
, array
, containers
, data-default
, extensible-effects
, lens
, mtl
test-suite parser
import: common-options
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Language.OCaml.Parser.AndLetBinding.Test
Language.OCaml.Parser.Attribute.Test
Language.OCaml.Parser.Attributes.Test
Language.OCaml.Parser.AttrId.Test
Language.OCaml.Parser.Constant.Test
Language.OCaml.Parser.ConstrLongident.Test
Language.OCaml.Parser.CoreType.Test
Language.OCaml.Parser.CoreType2.Test
Language.OCaml.Parser.CoreTypeNoAttr.Test
Language.OCaml.Parser.Expr.Test
Language.OCaml.Parser.ExtAttributes.Test
Language.OCaml.Parser.Generator.Expr.Test
Language.OCaml.Parser.Generator.Implementation.Test
Language.OCaml.Parser.Generator.LetBinding.Test
Language.OCaml.Parser.Generator.SeqExpr.Test
Language.OCaml.Parser.Generator.SimpleExpr.Test
Language.OCaml.Parser.Generator.Structure.Test
Language.OCaml.Parser.Generator.ValLongident.Test
Language.OCaml.Parser.Ident.Test
Language.OCaml.Parser.Implementation.Test
Language.OCaml.Parser.Int.Test
Language.OCaml.Parser.LetBinding.Test
Language.OCaml.Parser.LetBindingBody.Test
Language.OCaml.Parser.LetBindings.Test
Language.OCaml.Parser.MatchCase.Test
Language.OCaml.Parser.ModLongident.Test
Language.OCaml.Parser.OpenStatement.Test
Language.OCaml.Parser.Operator.Test
Language.OCaml.Parser.Pattern.Test
Language.OCaml.Parser.Payload.Test
Language.OCaml.Parser.PostItemAttribute.Test
Language.OCaml.Parser.PostItemAttributes.Test
Language.OCaml.Parser.RecFlag.Test
Language.OCaml.Parser.SeqExpr.Test
Language.OCaml.Parser.SimpleCoreType.Test
Language.OCaml.Parser.SimpleCoreType2.Test
Language.OCaml.Parser.SimpleCoreTypeOrTuple.Test
Language.OCaml.Parser.SimpleExpr.Test
Language.OCaml.Parser.SimplePattern.Test
Language.OCaml.Parser.SimplePatternNotIdent.Test
Language.OCaml.Parser.SingleAttrId.Test
Language.OCaml.Parser.StrictBinding.Test
Language.OCaml.Parser.Structure.Test
Language.OCaml.Parser.StructureItem.Test
Language.OCaml.Parser.StructureTail.Test
Language.OCaml.Parser.TestStrings
Language.OCaml.Parser.TestUtils
Language.OCaml.Parser.ValIdent.Test
Language.OCaml.Parser.ValLongident.Test
Language.OCaml.PrettyPrinter.Structure.Test
Language.OCaml.PrettyPrinter.StructureItem.Test
Language.OCaml.PrettyPrinter.TestUtils
hs-source-dirs: test
build-depends:
, interpolate
, language-ocaml
, megaparsec
, tasty
, tasty-golden
, tasty-hunit
, string-qq