-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlambdacomp.cabal
More file actions
196 lines (167 loc) · 5.24 KB
/
lambdacomp.cabal
File metadata and controls
196 lines (167 loc) · 5.24 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
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
cabal-version: 3.8
name: lambdacomp
-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
-- guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
build-type: Simple
license: BSD-3-Clause
license-files: LICENSE
-- A copyright notice.
-- copyright:
author: Junyoung/"Clare" Jang
maintainer: jjc9310@gmail.com
synopsis: A primitive compiler for λ-calculus + α using CBPV
description:
See [README.md](https://github.com/Ailrun/lambdacomp/blob/master/README.md)
category:
Language
, Compiler
tested-with: GHC ==9.12.2
data-files: runtime.h
data-dir: data
-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:
extra-doc-files:
CHANGELOG.md
examples/**/*.lc
README.md
common extensions
-- simulate GHC2024 and more
-- (e.g. OverloadedStrings and RecordWildCards)
default-extensions:
DataKinds
DerivingStrategies
DisambiguateRecordFields
ExplicitNamespaces
GADTs
LambdaCase
MonoLocalBinds
OrPatterns
OverloadedStrings
RecordWildCards
RoleAnnotations
common warnings
ghc-options:
-Wall -Wredundant-constraints -Widentities
-Wincomplete-uni-patterns -Wmissing-deriving-strategies
-Wmissing-export-lists -Wmissing-local-signatures
-Wmissing-poly-kind-signatures
-Wmissing-exported-pattern-synonym-signatures
-Wunticked-promoted-constructors -Wunused-type-patterns
-Wredundant-bang-patterns -Wredundant-strictness-flags
-Wunused-packages -Winvalid-haddock -Woperator-whitespace
-Wterm-variable-capture -Wmissing-role-annotations
library
import:
, extensions
, warnings
-- Modules exported by the library.
exposed-modules:
Control.Monad.FreshName
Control.Monad.FreshName.Class
Data.TaggedTree
LambdaComp.AM.Eval
LambdaComp.AM.Syntax
LambdaComp.Binder
LambdaComp.Const
LambdaComp.CBPV.ArityAnalysis
LambdaComp.CBPV.Optimization.BetaReduction
LambdaComp.CBPV.Optimization.BindingConversion
LambdaComp.CBPV.Optimization.DeadBindingElimination
LambdaComp.CBPV.Optimization.EtaReduction
LambdaComp.CBPV.Optimization.IfConversion
LambdaComp.CBPV.Optimization.InlineBinding
LambdaComp.CBPV.Optimization.Local
LambdaComp.CBPV.Optimization.PrintConversion
LambdaComp.CBPV.PrettyPrinter
LambdaComp.CBPV.Syntax
LambdaComp.CBPV.ToAM
LambdaComp.CBPV.ToC
LambdaComp.CBPV.TypeCheck
LambdaComp.Driver
LambdaComp.Driver.Argument
LambdaComp.Elaborated.CBV.ToCBPV
LambdaComp.Elaborated.Optimization.ConstantPropagation
LambdaComp.Elaborated.Optimization.Local
LambdaComp.Elaborated.Syntax
LambdaComp.Elaborated.TypeCheck
LambdaComp.External.Parser
LambdaComp.External.Syntax
LambdaComp.External.ToElaborated
LambdaComp.Ident
LambdaComp.Optimizations
LambdaComp.PrimOp
-- Other library packages from which modules are imported.
build-depends:
, base ^>=4.21.0.0
, containers ^>=0.7
, directory ^>=1.3.9.0
, filepath ^>=1.5.4.0
, megaparsec ^>=9.7.0
, mtl ^>=2.3.1
, optparse-applicative ^>=0.19.0.0
, parser-combinators ^>=1.3.0
, pretty-simple ^>=4.1.3.0
, prettyprinter ^>=1.7.1
, process ^>=1.6.25.0
, temporary ^>=1.3
, text ^>=2.1.2
, transformers ^>=0.6.2.0
, vector ^>=0.13.2.0
-- Modules included in this library but not exported.
other-modules: Paths_lambdacomp
-- Directories containing source files.
hs-source-dirs: src
-- Base language which the package is written in.
default-language: GHC2021
autogen-modules: Paths_lambdacomp
executable lamc
import:
, extensions
, warnings
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Other library packages from which modules are imported.
build-depends:
, base
, lambdacomp
-- Modules included in this executable, other than Main.
-- other-modules:
-- Directories containing source files.
hs-source-dirs: exe
-- Base language which the package is written in.
default-language: GHC2021
test-suite lambdacomp-test
import:
, extensions
, warnings
-- The interface type and version of the test suite.
type: exitcode-stdio-1.0
-- The entrypoint to the test suite.
main-is: Main.hs
-- Test dependencies.
build-depends:
, base
, bytestring
, containers
, directory
, filepath
, lambdacomp
, tasty
, tasty-golden
, temporary
-- Modules included in this executable, other than Main.
-- other-modules: Paths_lambdacomp
-- Directories containing source files.
hs-source-dirs: test
-- Base language which the package is written in.
default-language: GHC2021
source-repository head
type: git
location: https://github.com/Ailrun/lambdacomp.git
branch: master