File: happy.cabal

package info (click to toggle)
happy 1.18.9-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,024 kB
  • sloc: haskell: 6,327; xml: 3,388; yacc: 809; makefile: 263
file content (152 lines) | stat: -rw-r--r-- 3,673 bytes parent folder | download
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
name: happy
version: 1.18.9
license: BSD3
license-file: LICENSE
copyright: (c) Andy Gill, Simon Marlow
author: Andy Gill and Simon Marlow
maintainer: Simon Marlow <marlowsd@gmail.com>
bug-reports: mailto:marlowsd@gmail.com
stability: stable
homepage: http://www.haskell.org/happy/
synopsis: Happy is a parser generator for Haskell
category: Development
cabal-version: >= 1.2.3

-- Later, this isn't compatible with Cabal 1.2:
-- source-repository head
--   type:     darcs
--   location: http://darcs.haskell.org/happy/

build-type: Custom
extra-source-files:
	ANNOUNCE
	CHANGES
	Makefile
	README
	TODO
	doc/Makefile
	doc/aclocal.m4
	doc/config.mk.in
	doc/configure.ac
	doc/docbook-xml.mk
	doc/fptools.css
	doc/happy.1.in
	doc/happy.xml
	examples/glr/nlp/Main.lhs
	examples/glr/nlp/Makefile
	examples/glr/nlp/README
	examples/glr/nlp/English.y
	examples/glr/nlp/Hugs.lhs
	examples/glr/Makefile
	examples/glr/Makefile.defs
	examples/glr/expr-eval/Main.lhs
	examples/glr/expr-eval/Makefile
	examples/glr/expr-eval/Expr.y
	examples/glr/expr-eval/README
	examples/glr/expr-eval/Hugs.lhs
	examples/glr/expr-tree/Main.lhs
	examples/glr/expr-tree/Makefile
	examples/glr/expr-tree/Expr.y
	examples/glr/expr-tree/README
	examples/glr/expr-tree/Tree.lhs
	examples/glr/expr-tree/Hugs.lhs
	examples/glr/highly-ambiguous/Main.lhs
	examples/glr/highly-ambiguous/Makefile
	examples/glr/highly-ambiguous/Expr.y
	examples/glr/highly-ambiguous/README
	examples/glr/highly-ambiguous/Hugs.lhs
	examples/glr/hidden-leftrec/Main.lhs
	examples/glr/hidden-leftrec/Makefile
	examples/glr/hidden-leftrec/Expr.y
	examples/glr/hidden-leftrec/README
	examples/glr/hidden-leftrec/Hugs.lhs
	examples/glr/expr-monad/Main.lhs
	examples/glr/expr-monad/Makefile
	examples/glr/expr-monad/Expr.y
	examples/glr/expr-monad/README
	examples/glr/expr-monad/Hugs.lhs
	examples/glr/bio-eg/Main.lhs
	examples/glr/bio-eg/Makefile
	examples/glr/bio-eg/Bio.y
	examples/glr/bio-eg/README
	examples/glr/bio-eg/1-1200.dna
	examples/glr/bio-eg/1-600.dna
	examples/glr/common/DV_lhs
	examples/glr/common/DaVinciTypes.hs
	examples/glr/packing/Main.lhs
	examples/glr/packing/Makefile
	examples/glr/packing/Expr.y
	examples/glr/packing/README
	examples/glr/packing/Hugs.lhs
	examples/PgnParser.ly
	examples/MonadTest.ly
	examples/igloo/ParserM.hs
	examples/igloo/Makefile
	examples/igloo/Parser.y
	examples/igloo/Foo.hs
	examples/igloo/README
	examples/igloo/Lexer.hs
	examples/igloo/Lexer.x
	examples/igloo/Parser.hs
	examples/README
	examples/Calc.ly
	examples/DavesExample.ly
	examples/ErrorTest.ly
	examples/ErlParser.ly
	examples/SimonsExample.ly
	examples/LexerTest.ly
	happy.spec
	src/ARRAY-NOTES
	templates/GLR_Base.hs
	templates/GenericTemplate.hs
	templates/GLR_Lib.hs
	tests/error001.y
	tests/error001.stdout
	tests/error001.stderr
	tests/monad001.y
	tests/Makefile
	tests/TestMulti.ly
	tests/Partial.ly
	tests/precedence001.ly
	tests/TestPrecedence.ly
	tests/bogus-token.y
	tests/monad002.ly
	tests/bug001.ly
	tests/bug002.y
	tests/Test.ly
	tests/precedence002.y
	tests/test_rules.y

flag small_base
  description: Choose the new smaller, split-up base package.

executable happy
  hs-source-dirs: src
  main-is: Main.lhs

  if flag(small_base)
    build-depends: base >= 2.1, array, containers
  else
    build-depends: base >= 1.0 && < 2.1

  build-depends: base < 5, mtl >= 1.0

  extensions: CPP, MagicHash
  other-modules:
        AbsSyn
        First
        GenUtils
        Grammar
        Info
        LALR
        Lexer
        Main
        ParseMonad
        Parser
        ProduceCode
        ProduceGLRCode
        NameSet
        Target
        AttrGrammar
        AttrGrammarParser
        ParamRules