File: alex.cabal

package info (click to toggle)
cabal-debian 5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,040 kB
  • sloc: haskell: 5,571; sh: 138; makefile: 91
file content (102 lines) | stat: -rw-r--r-- 2,076 bytes parent folder | download | duplicates (7)
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
name: alex
version: 3.0.2
license: BSD3
license-file: LICENSE
copyright: (c) Chis Dornan, Simon Marlow
author: Chris Dornan and Simon Marlow
maintainer: Simon Marlow <marlowsd@gmail.com>
bug-reports: mailto:marlowsd@gmail.com
stability: stable
homepage: http://www.haskell.org/alex/
synopsis: Alex is a tool for generating lexical analysers in Haskell
category: Development
cabal-version: >= 1.6
build-type: Custom

extra-source-files:
	ANNOUNCE
	README
	TODO
	alex.spec
	doc/Makefile
	doc/aclocal.m4
	doc/alex.1.in
	doc/alex.xml
	doc/config.mk.in
	doc/configure.ac
	doc/docbook-xml.mk
	doc/fptools.css
	examples/Makefile
	examples/Tokens.x
	examples/Tokens_gscan.x
	examples/Tokens_posn.x
	examples/examples.x
	examples/haskell.x
	examples/lit.x
	examples/pp.x
	examples/state.x
	examples/tiny.y
	examples/tkns.hs
	examples/words.x
	examples/words_monad.x
	examples/words_posn.x
	src/Parser.y
	src/Scan.hs
	src/ghc_hooks.c
	templates/GenericTemplate.hs
	templates/Makefile
	templates/wrappers.hs
	tests/Makefile
	tests/simple.x
	tests/tokens.x
	tests/tokens_gscan.x
	tests/tokens_posn.x
        tests/tokens_bytestring.x
        tests/tokens_posn_bytestring.x
        tests/tokens_strict_bytestring.x
        tests/unicode.x

source-repository head
    type:     git
    location: https://github.com/simonmar/alex.git

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

executable alex
  hs-source-dirs: src
  main-is: Main.hs

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

  build-depends: base < 5
  -- build-depends: Ranged-sets
  build-depends: QuickCheck >=2

  extensions: CPP
  ghc-options: -Wall -rtsopts
  other-modules:
        AbsSyn
        CharSet
        DFA
        DFAMin
        DFS
        Info
        Main
        Map
        NFA
        Output
        Parser
        ParseMonad
        Scan
        Set
        Sort
        Util
        UTF8
        Data.Ranged
        Data.Ranged.Boundaries
        Data.Ranged.RangedSet
        Data.Ranged.Ranges