forked from yav/sequent-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsequent-core.cabal
123 lines (113 loc) · 4.81 KB
/
sequent-core.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
name: sequent-core
version: 0.5.0.1
stability: experimental
category: Development
license: BSD3
license-file: LICENSE
author: Luke Maurer, Paul Downen, Iavor S. Diatchki
maintainer: [email protected]
build-type: Simple
cabal-version: >=1.10
synopsis: Alternative Core language for GHC plugins
description: Sequent Core is a GHC plugin library based on a sequent calculus. It includes:
.
* A set of datatypes for a language expressing function code as /interactions/
between values and their contexts (/continuations/)
* A library for writing GHC optimizer plugins using the Sequent Core
language in place of the built-in Core language
* Example plugins written using Sequent Core
homepage: https://github.com/lukemaurer/sequent-core
bug-reports: https://github.com/lukemaurer/sequent-core
package-url: https://github.com/lukemaurer/sequent-core/archive/master.zip
flag examples
description: Build example executables.
default: False
manual: True
library
hs-source-dirs: src
exposed-modules: Language.SequentCore
Language.SequentCore.Arity
Language.SequentCore.Dump
Language.SequentCore.Inspect
Language.SequentCore.Lint
Language.SequentCore.OccurAnal
Language.SequentCore.Plugin
Language.SequentCore.Pretty
Language.SequentCore.Simpl
Language.SequentCore.SpecConstr
Language.SequentCore.Syntax
Language.SequentCore.Syntax.Util
Language.SequentCore.Translate
other-modules: Language.SequentCore.Simpl.Env
Language.SequentCore.Simpl.ExprSize
Language.SequentCore.Simpl.Monad
Language.SequentCore.Simpl.Util
Language.SequentCore.Util
Language.SequentCore.WiredIn
build-depends: base >= 4 && < 5, ghc >= 7.8 && < 7.10, containers, transformers,
bytestring
default-language: Haskell2010
ghc-options: -Wall -fno-warn-name-shadowing
executable DumpExpl
hs-source-dirs: examples
Main-is: Example.hs
build-depends: base >= 4 && < 5, sequent-core
default-language: Haskell2010
ghc-options: -fplugin=Language.SequentCore.Dump
if !flag(examples)
buildable: False
executable SpecConstrExpl
hs-source-dirs: examples
Main-is: SpecConstrExpl.hs
build-depends: base >= 4 && < 5, sequent-core, containers
default-language: Haskell2010
ghc-options: -fplugin=Language.SequentCore.SpecConstr
-fspec-constr
if !flag(examples)
buildable: False
executable SimplExpl
hs-source-dirs: examples
Main-is: Compl.hs
build-depends: base >= 4 && < 5, sequent-core, bytestring
default-language: Haskell2010
ghc-options: -fplugin=Language.SequentCore.Simpl
if !flag(examples)
buildable: False
executable CasesExpl
hs-source-dirs: examples
Main-is: Cases.hs
build-depends: base >= 4 && < 5, sequent-core
default-language: Haskell2010
ghc-options: -fplugin=Language.SequentCore.Simpl
if !flag(examples)
buildable: False
executable SizesExpl
hs-source-dirs: examples
Main-is: Sizes.hs
build-depends: base >= 4 && < 5, sequent-core
default-language: Haskell2010
ghc-options: -fplugin=Language.SequentCore.Inspect
-fplugin-opt=Language.SequentCore.Inspect:size
if !flag(examples)
buildable: False
executable ContExpl
hs-source-dirs: examples
Main-is: Contification.hs
build-depends: base >= 4 && < 5, sequent-core
default-language: Haskell2010
ghc-options: -O0 -fplugin=Language.SequentCore.Dump
if !flag(examples)
buildable: False
executable StrictnessExpl
hs-source-dirs: examples
Main-is: Strictness.hs
build-depends: base >= 4 && < 5, sequent-core
default-language: Haskell2010
ghc-options: -O -fplugin=Language.SequentCore.Simpl
-fplugin=Language.SequentCore.Dump
-fplugin-opt=Language.SequentCore.Dump:end
if !flag(examples)
buildable: False
source-repository head
type: git
location: git://github.com/lukemaurer/sequent-core.git