forked from Feldspar/feldspar-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeldspar-compiler.cabal
173 lines (146 loc) · 4.99 KB
/
feldspar-compiler.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
name: feldspar-compiler
version: 0.6.1.0
cabal-version: >= 1.14
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2013 Emil Axelsson, Peter Jonsson,
Anders Persson, Josef Svenningsson
Copyright (c) 2012 Emil Axelsson, Gergely Dévai,
Anders Persson, Josef Svenningsson
Copyright (c) 2009-2011, ERICSSON AB
author: Feldspar group,
Eotvos Lorand University Faculty of Informatics
maintainer: deva@inf.elte.hu
stability: experimental
homepage: http://feldspar.github.com
bug-reports: https://github.com/feldspar/feldspar-compiler/issues
synopsis: Compiler for the Feldspar language
description: Feldspar (**F**unctional **E**mbedded **L**anguage for **DSP**
and **PAR**allelism) is an embedded DSL for describing digital
signal processing algorithms.
This library (FeldsparCompiler) contains a prototype compiler
that supports C code generation from programs written in this
language both according to ANSI C and also targeted to a real
DSP HW.
category: Compiler
tested-with: GHC==7.6.1, GHC==7.4.2
source-repository head
type: git
location: git://github.com/Feldspar/feldspar-compiler.git
library
hs-source-dirs: lib
exposed-modules:
Feldspar.Compiler.Imperative.Representation
Feldspar.Compiler.Imperative.FromCore
Feldspar.Compiler.Imperative.FromCore.Array
Feldspar.Compiler.Imperative.FromCore.Binding
Feldspar.Compiler.Imperative.FromCore.Condition
Feldspar.Compiler.Imperative.FromCore.ConditionM
Feldspar.Compiler.Imperative.FromCore.Elements
Feldspar.Compiler.Imperative.FromCore.Error
Feldspar.Compiler.Imperative.FromCore.Future
Feldspar.Compiler.Imperative.FromCore.Interpretation
Feldspar.Compiler.Imperative.FromCore.Literal
Feldspar.Compiler.Imperative.FromCore.Loop
Feldspar.Compiler.Imperative.FromCore.Mutable
Feldspar.Compiler.Imperative.FromCore.MutableToPure
Feldspar.Compiler.Imperative.FromCore.NoInline
Feldspar.Compiler.Imperative.FromCore.Par
Feldspar.Compiler.Imperative.FromCore.Primitive
Feldspar.Compiler.Imperative.FromCore.SizeProp
Feldspar.Compiler.Imperative.FromCore.SourceInfo
Feldspar.Compiler.Imperative.FromCore.Tuple
Feldspar.Compiler.Imperative.FromCore.FFI
Feldspar.Compiler.Imperative.FromCore.Save
Feldspar.Compiler.Imperative.FromCore.Switch
Feldspar.Compiler.Imperative.Frontend
Feldspar.Compiler.Imperative.TransformationInstance
Feldspar.Compiler.Imperative.Plugin.IVars
Feldspar.Compiler.Backend.C.CodeGeneration
Feldspar.Compiler.Backend.C.Plugin.Rule
Feldspar.Compiler.Backend.C.Library
Feldspar.Compiler.Backend.C.Options
Feldspar.Compiler.Backend.C.Platforms
Feldspar.Compiler.Frontend.Interactive.Interface
Feldspar.Compiler.Compiler
Feldspar.Compiler.Error
Feldspar.Compiler.Internal
Feldspar.Compiler
Feldspar.Transformation
Feldspar.Transformation.Framework
Feldspar.Runtime
default-language: Haskell2010
build-depends:
base == 4.*,
syntactic,
feldspar-language >= 0.6.1 && < 0.7,
mtl,
pretty,
filepath,
containers
default-extensions:
include-dirs:
./lib/Feldspar/C
c-sources:
lib/Feldspar/C/feldspar_c99.c
lib/Feldspar/C/ivar.c
lib/Feldspar/C/taskpool.c
cc-options: -std=c99 -Wall
if os(linux)
extra-libraries: gcc_s
install-includes:
feldspar_array.h
feldspar_c99.h
feldspar_c99.c
feldspar_tic64x.h
feldspar_tic64x.c
feldspar_future.h
log.h
ivar.h
ivar.c
taskpool.h
taskpool.c
ghc-options: -fcontext-stack=100
cpp-options: -DRELEASE
-- executable feldspar
-- hs-source-dirs: src
-- main-is : Feldspar/Compiler/Frontend/CommandLine/Main.hs
-- default-language: Haskell2010
-- other-modules:
-- Feldspar.Compiler.Frontend.CommandLine.NameExtractor
-- Feldspar.Compiler.Frontend.CommandLine.API.Library
-- Feldspar.Compiler.Frontend.CommandLine.API.Constants
-- Feldspar.Compiler.Frontend.CommandLine.API.Options
-- Feldspar.Compiler.Frontend.CommandLine.API
-- build-depends:
-- feldspar-language,
-- feldspar-compiler,
-- mtl,
-- base,
-- hint,
-- process,
-- filepath,
-- directory,
-- ansi-terminal,
-- MonadCatchIO-mtl,
-- haskell-src-exts >= 1.14
-- default-extensions:
-- ghc-options: -fcontext-stack=100
-- cpp-options: -DRELEASE
test-suite regression
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: RegressionTests.hs
default-language: Haskell2010
build-depends:
feldspar-language,
feldspar-compiler,
mtl,
base,
process,
bytestring >= 0.9 && < 0.11,
tasty >= 0.3,
tasty-golden >= 2.0,
tasty-quickcheck >= 0.3,
QuickCheck >= 2.5 && < 3.0