summaryrefslogtreecommitdiff
path: root/regexqq.cabal
blob: bad21ccaeadaac0229e704e248b09a7c592c0066 (plain)
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
name:               regexqq
version:            0.6
cabal-version:      >= 1.2
build-type:         Simple
license:            BSD3
license-file:       LICENSE
category:           Text
author:             Matt Morrow
copyright:          Matt Morrow
maintainer:         Matt Morrow <mjm2002@gmail.com>
homepage:           http://code.haskell.org/~morrow/code/haskell/regexqq
stability:          unstable
synopsis:           A quasiquoter for PCRE regexes.
description:        A quasiquoter for Text.Regex.PCRE regexes.
                    This makes use of a new GHC extension known as QuasiQuotes.
                    QuasiQuotes do not appear in ghc until 6.9, BUT there is a
                    patch for ghc-6.8.3 which adds quasiquote functionality. A
                    patched version of ghc-6.8.3, made possible by audreyt's patch, is at
                    <http://code.haskell.org/~morrow/quasiquotes/ghc-6.8.3_QQ-0.2.tar.bz2>.
                    An example of the use of @regexqq@ is located at
                    <http://code.haskell.org/~morrow/quasiquotes/regexqq.txt>.
                    Haddock docs are at
                    <http://code.haskell.org/~morrow/quasiquotes/regexqq/docs/>.

library
  build-depends:    base, bytestring, template-haskell >= 2.2, pcre-light
  extensions:       TemplateHaskell
  ghc-options:      -O2 -fglasgow-exts
  hs-source-dirs:   .
  exposed-modules:  Text.Regex.PCRE.QQ