forked from mainland/language-c-quote
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlanguage-c-quote.cabal
96 lines (84 loc) · 2.68 KB
/
language-c-quote.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
name: language-c-quote
version: 0.11
cabal-version: >= 1.10
license: BSD3
license-file: LICENSE
copyright: (c) 2006-2011 Harvard University
(c) 2011-2013 Geoffrey Mainland
(c) 2013 Manuel M. T. Chakravarty
(c) 2013-2015 Drexel University
author: Geoffrey Mainland <[email protected]>
maintainer: Geoffrey Mainland <[email protected]>
stability: alpha
homepage: http://www.cs.drexel.edu/~mainland/
category: Language
synopsis: C/CUDA/OpenCL/Objective-C quasiquoting library.
tested-with: GHC==7.4.2, GHC==7.6.3, GHC==7.8.3
description:
This package provides a general parser for the C language, including most GCC
extensions and some CUDA and OpenCL extensions as well as the entire Objective-C
language.
build-type: Custom
extra-source-files:
tests/unit/Objc.hs
library
default-language: Haskell98
build-depends:
array >= 0.2 && < 0.6,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11,
containers >= 0.4 && < 0.6,
exception-mtl >= 0.3 && < 0.5,
exception-transformers >= 0.3 && < 0.5,
filepath >= 1.2 && < 1.5,
haskell-src-meta >= 0.4 && < 0.7,
mainland-pretty >= 0.4 && < 0.5,
mtl >= 2.0 && < 3,
srcloc >= 0.4 && < 0.6,
syb >= 0.3 && < 0.6,
symbol >= 0.1 && < 0.3,
template-haskell
if impl(ghc < 7.4)
build-tools:
alex,
happy
if impl(ghc >= 7.4)
build-tools:
alex >=3,
happy
exposed-modules:
Language.C
Language.C.Parser
Language.C.Parser.Lexer
Language.C.Parser.Monad
Language.C.Parser.Parser
Language.C.Parser.Tokens
Language.C.Pretty
Language.C.Quote
Language.C.Quote.Base
Language.C.Quote.C
Language.C.Quote.CUDA
Language.C.Quote.GCC
Language.C.Quote.ObjC
Language.C.Quote.OpenCL
Language.C.Smart
Language.C.Syntax
ghc-options: -Wall
test-suite unit
type: exitcode-stdio-1.0
hs-source-dirs: tests/unit
main-is: Main.hs
default-language: Haskell98
build-depends:
HUnit >= 1.2 && < 1.3,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11,
language-c-quote,
mainland-pretty >= 0.4 && < 0.5,
srcloc >= 0.4 && < 0.6,
symbol >= 0.1 && < 0.3,
test-framework >= 0.8 && < 0.9,
test-framework-hunit >= 0.3 && < 0.4
source-repository head
type: git
location: git://github.com/mainland/language-c-quote.git