forked from emilaxelsson/imperative-edsl
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimperative-edsl.cabal
130 lines (113 loc) · 3.15 KB
/
imperative-edsl.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
name: imperative-edsl
version: 0.4.1
synopsis: Deep embedding of imperative programs with code generation
description: Deep embedding of imperative programs with code generation.
.
The main module for users who want to write imperative
programs is "Language.Embedded.Imperative" (and optionally
"Language.Embedded.CExp" which provides a simple expression
language).
.
Examples can be found in the @examples@ directory.
license: BSD3
license-file: LICENSE
author: Anders Persson, Emil Axelsson, Markus Aronsson
maintainer: [email protected]
copyright: Copyright 2015 Anders Persson, Emil Axelsson, Markus Aronsson
homepage: https://github.com/emilaxelsson/imperative-edsl
bug-reports: https://github.com/emilaxelsson/imperative-edsl/issues
category: Language
build-type: Simple
cabal-version: >=1.10
extra-source-files:
examples/*.hs
tests/*.hs
source-repository head
type: git
location: [email protected]:emilaxelsson/imperative-edsl.git
Flag old-syntactic
Description: Use syntactic < 2
Default: False
library
exposed-modules:
Control.Monads
Haste.Aplite
-- System.IO.Fake
Language.Embedded.Traversal
Language.Embedded.Imperative.Args
Language.Embedded.Imperative.CMD
Language.Embedded.Imperative.Frontend.General
Language.Embedded.Imperative.Frontend
Language.Embedded.Imperative
Language.Embedded.Backend.JS
Language.JS.Expression
Language.Embedded.Expression
other-modules:
Language.Embedded.Imperative.Backend.JS
Language.JS.Monad
Language.JS.Syntax
Language.JS.CompExp
Language.JS.Print
Language.JS.Export
Language.JS.BinOps
-- No need to export these since only the instances are interesting
default-language: Haskell2010
default-extensions:
ConstraintKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveTraversable
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
MultiParamTypeClasses
PatternSynonyms
Rank2Types
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeFamilies
TypeOperators
ViewPatterns
other-extensions:
PolyKinds
UndecidableInstances
build-depends:
array,
base >=4 && <5,
constraints,
containers,
deepseq,
exception-transformers,
mtl,
operational-alacarte < 0.2,
tagged,
-- tagged needed for GHC 7.6
srcloc,
time >= 1.5.0.1,
haste-lib >= 0.6 && < 0.7,
haste-prim >= 0.6 && < 0.7
if flag(old-syntactic)
build-depends:
syntactic < 2
else
build-depends:
open-typerep >= 0.4,
syntactic >= 3.2
ghc-options:
-Wall
hs-source-dirs: src
test-suite Tests
type: exitcode-stdio-1.0
hs-source-dirs: tests examples
main-is: Tests.hs
default-language: Haskell2010
build-depends:
base,
imperative-edsl,
syntactic,
tasty-quickcheck,
tasty-th