forked from ppaml-op3/insomnia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsomnia.cabal
230 lines (221 loc) · 8.33 KB
/
insomnia.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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
-- Initial insomnia.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
name: insomnia
version: 0.0.4.2
synopsis: Typed probabilistic programming language
description: Insomnia is a typed, modular probabilistic programming language.
.
The syntax and static semantics are vaguely based
on the ML family of languages. In particular,
the module system has hierarchical modules, higher-order functors,
and generative sealing. Additionally there is a new module-level notion of a "model" and
of probabilistic sampling at the model level.
.
The slogans are:
.
* A model is a distribution over modules.
.
* Model sealing is marginalization.
.
Currently the compiler is quite immature and
the language syntax and semantics are quite likely to continue evolving.
homepage: http://ppaml.cs.tufts.edu/
license: BSD3
license-file: LICENSE
author: Aleksey Kliger
maintainer: aleksey.kliger@baesystems.com
-- copyright:
category: Language
build-type: Simple
extra-source-files:
examples/*.ism
cabal-version: >=1.10
tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.2.1
library
exposed-modules:
Insomnia.Main
--
Insomnia.Main.Monad
Insomnia.Main.Config
Insomnia.Main.Command
Insomnia.Main.Stage
Insomnia.Main.InsomniaStages
Insomnia.Main.ParsingStage
Insomnia.Main.SaveFinalProductStage
--
Insomnia.SurfaceSyntax.Syntax
Insomnia.SurfaceSyntax.SourcePos
Insomnia.SurfaceSyntax.FixityParser
Insomnia.SurfaceSyntax.Parse
Insomnia.SurfaceSyntax.ToastMonad
Insomnia.SurfaceSyntax.ToAST
Insomnia.SurfaceSyntax.Interactive
Insomnia.SurfaceSyntax.ExtraInstances
--
Insomnia.Common.Literal
Insomnia.Common.Stochasticity
Insomnia.Common.ModuleKind
Insomnia.Common.SampleParameters
Insomnia.Common.FreshName
Insomnia.Common.Telescope
--
Insomnia.Identifier
--
Insomnia.Types
Insomnia.Expr
Insomnia.ValueConstructor
Insomnia.TypeDefn
--
Insomnia.ModuleType
--
Insomnia.Module
--
Insomnia.Query
Insomnia.Toplevel
--
Insomnia.IReturn
--
Insomnia.Unify
--
Insomnia.Typecheck.Env
--
Insomnia.Typecheck.Type
Insomnia.Typecheck.Expr
Insomnia.Typecheck.Polymorphism
--
Insomnia.Typecheck.WhnfModuleType
--
Insomnia.Typecheck.SelfSig
Insomnia.Typecheck.ExtendModuleCtx
Insomnia.Typecheck.Selfify
Insomnia.Typecheck.ClarifySignature
--
Insomnia.Typecheck.TypeDefn
Insomnia.Typecheck.ModuleType
--
Insomnia.Typecheck.Equiv.Types
Insomnia.Typecheck.Equiv.TypeDefn
Insomnia.Typecheck.Equiv.TypeAlias
--
Insomnia.Typecheck.MayAscribe
--
Insomnia.Typecheck.LookupModuleSigPath
Insomnia.Typecheck.ConstructImportDefinitions
--
Insomnia.Typecheck.NaturalSignature
Insomnia.Typecheck.FunctorApplication
Insomnia.Typecheck.ObservationClause
Insomnia.Typecheck.Module
Insomnia.Typecheck.Query
Insomnia.Typecheck.Toplevel
Insomnia.Typecheck
--
FOmega.Syntax
FOmega.Pretty
FOmega.Check
FOmega.Parse
FOmega.Test
--
FOmega.SemanticSig
FOmega.MatchSigs
FOmega.SubSig
--
Insomnia.ToF.Env
Insomnia.ToF.Summary
Insomnia.ToF.Type
Insomnia.ToF.Pattern
Insomnia.ToF.Expr
Insomnia.ToF.DataType
Insomnia.ToF.ModuleType
Insomnia.ToF.Builtins
Insomnia.ToF.Module
Insomnia.ToF.Query
Insomnia.ToF.Toplevel
Insomnia.ToF
--
FOmega.Value
FOmega.Primitives
FOmega.Eval
--
Gambling.Racket
Gambling.Emit
Gambling.FromF
--
Insomnia.Interp.PMonad
--
Insomnia.Pretty
-- utils
Data.Format
-- other-modules:
-- other-extensions:
build-depends: base >=4.6 && <5,
text < 1.3,
pipes,
filepath,
containers >= 0.4,
transformers >= 0.3,
random >= 1.0.1.2,
mtl,
mtl-compat,
lens,
unbound-generics >= 0.1,
pretty >= 1.1 && < 2,
indentation-parsec >= 0.0,
erf >= 2.0,
parsec,
mmorph >= 1.0
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell2010
executable insomnia
main-is: Main.hs
hs-source-dirs: main-interp
build-depends: base,
insomnia
ghc-options: -Wall
default-language: Haskell2010
executable insomniac
main-is: Main.hs
hs-source-dirs: main-compile
build-depends: base,
insomnia
ghc-options: -Wall
default-language: Haskell2010
test-suite run-insomnia
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
other-modules:
InsomniaProvider
InsomniaFlagScraper
main-is: test-run-compiler.hs
build-depends:
base >= 4 && < 5
, tasty >= 0.10
, tagged >= 0.6.2
, Glob >= 0.7.5 && < 1
, temporary >= 1.2
, text
, parsec
, insomnia
test-suite insomnia-units
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
other-modules:
TestToAST
main-is: test-units.hs
build-depends:
base >= 4 && < 5
, tasty >= 0.10
, tasty-hunit >= 0.9
, insomnia
source-repository head
type: git
location: git://github.com/lambdageek/insomnia.git