-
Notifications
You must be signed in to change notification settings - Fork 7
/
hbf.cabal
200 lines (189 loc) · 5.32 KB
/
hbf.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
-- This file has been generated from package.yml by hpack version 0.27.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 2e87a5cd02b71c60a1afaedd80f0d5c77071e5f883c57143f3d73b46e3de20fa
name: hbf
version: 0.1.0.1
cabal-version: >= 1.10
build-type: Simple
license: GPL-3
license-file: LICENSE
tested-with: GHC == 8.2.1, GHC == 8.2.2, GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3
author: Sebastian Galkin
maintainer: paraseba@gmail.com
copyright: Sebastian Galkin, 2018
synopsis: An optimizing Brainfuck compiler and evaluator
description: hbf is a compiler and executor of Brainfuck programs. It provides two executables: @hbfc@ the Brainfuck compiler, and @hbf@ the virtual machine that executes compiled Brainfuck programs.
homepage: https://github.com/paraseba/hbf
bug-reports: https://github.com/paraseba/hbf/issues
category: Language
extra-source-files:
ChangeLog.md
README.md
tests/allfeatures.bf
tests/factor.bf
tests/squares.bf
source-repository head
type: git
location: git@github.com:paraseba/hbf.git
flag dump
description: Dump stg and core files
manual: True
default: False
flag profile
description: Enable profiling in benchmarks
manual: True
default: False
library
exposed-modules:
HBF.Types
HBF.Parser
HBF.Eval
HBF.Compiler
other-modules:
Paths_hbf
build-depends:
base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, deepseq >=1.4.3.0
, filepath >=1.4.1.2
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1
if flag(dump)
ghc-options: -ddump-simpl -ddump-stg -ddump-to-file -dsuppress-idinfo -dsuppress-coercions -dsuppress-type-applications -dsuppress-uniques
if flag(profile)
ghc-options: -fprof-auto
hs-source-dirs:
src
default-language: Haskell2010
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction
executable hbf
main-is: Main.hs
other-modules:
Paths_hbf
hs-source-dirs:
src/exe/hbf
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction
build-depends:
base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, deepseq >=1.4.3.0
, filepath >=1.4.1.2
, hbf
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1
if flag(profile)
ghc-options: -fprof-auto -with-rtsopts='-p -s -h -i0.05'
default-language: Haskell2010
executable hbfc
main-is: Main.hs
other-modules:
Paths_hbf
hs-source-dirs:
src/exe/hbfc
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction
build-depends:
base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, deepseq >=1.4.3.0
, filepath >=1.4.1.2
, hbf
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1
default-language: Haskell2010
test-suite doctest
type: exitcode-stdio-1.0
main-is: doctest.hs
hs-source-dirs:
tests
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -threaded -with-rtsopts=-N
build-depends:
base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, deepseq >=1.4.3.0
, doctest
, filepath >=1.4.1.2
, hbf
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1
default-language: Haskell2010
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs:
tests
main-is: test.hs
build-depends:
HUnit >=1.3.1.0
, base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, deepseq >=1.4.3.0
, filepath >=1.4.1.2
, hbf
, hedgehog >=0.5
, hedgehog-checkers >=0.1.0.0
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, smallcheck >=1.1
, tasty >=0.11.2.1
, tasty-discover >=2.0.0
, tasty-hedgehog >=0.1.0.0
, tasty-hunit >=0.9.2
, tasty-smallcheck >=0.8
, temporary >=1.2.0.3
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -threaded -with-rtsopts=-N
other-modules:
ParserTest
CompilerTest
EvalTest
IntegrationTests
Helper
benchmark evalbench
other-modules:
Paths_hbf
hs-source-dirs:
bench
ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -threaded -with-rtsopts=-N
type: exitcode-stdio-1.0
main-is: Main.hs
default-language: Haskell2010
build-depends:
base >=4.10.0.0 && <4.13
, binary >=0.8.5.1
, bytestring >=0.10.8.0
, criterion >=1.1.4.0
, deepseq >=1.4.3.0
, filepath >=1.4.1.2
, hbf
, optparse-applicative >=0.14.0.0
, parsec >=3.1.13.0
, primitive >=0.6.2.0
, text >=1.2.2.0
, transformers >=0.5.2.0
, vector >=0.12.0.1