summaryrefslogtreecommitdiff
path: root/language-ecmascript.cabal
blob: 975995ba666fe22e780f8cba3d2711a4b315c7dc (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
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
Name:           language-ecmascript
Version:        0.16
Cabal-Version:	>= 1.10
Copyright:      (c) 2007-2012 Brown University, (c) 2008-2010 Claudiu Saftoiu,
                (c) 2012-2014 Stevens Institute of Technology
License:        BSD3
License-file:   LICENSE
Author:         Andrey Chudnov, Arjun Guha, Spiridon Aristides Eliopoulos,
                Joe Gibbs Politz, Claudiu Saftoiu
Maintainer:     Andrey Chudnov <oss@chudnov.com>
Homepage:       http://github.com/jswebtools/language-ecmascript
Bug-reports:    http://github.com/jswebtools/language-ecmascript/issues
Stability:      experimental
Tested-with:    GHC==7.6.3
Extra-Source-Files: test/parse-pretty/*.js, test/diff/left/*.js, test/diff/right/*.js, test/diff/expects/*.diff, CHANGELOG
Category:       Language
Build-Type:     Simple
Synopsis:       JavaScript parser and pretty-printer library
Description:
  Tools for working with ECMAScript 3 (popularly known as JavaScript). 
  Includes a parser, pretty-printer, tools for working with source tree
  annotations and an arbitrary instance. See CHANGELOG for a summary of
  changes.

Source-repository head
   type: git
   location: git://github.com/jswebtools/language-ecmascript.git

Source-repository this
   type: git
   location: git://github.com/jswebtools/language-ecmascript.git
   tag: 0.16

Library
  Hs-Source-Dirs:
    src
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 1 && < 3,
    parsec > 3 && < 3.2.0,
    wl-pprint == 1.*,
    containers == 0.*,
    uniplate >= 1.6 && <1.7,
    data-default-class >= 0.0.1 && < 0.1,
    QuickCheck >= 2.5 && < 3,
    template-haskell >= 2.8 && < 2.9,
    Diff == 0.3.*,
    testing-feat >= 0.4 && < 0.5
  ghc-options:
    -fwarn-incomplete-patterns
  Exposed-Modules:
    Language.ECMAScript3 
    Language.ECMAScript3.Lexer 
    Language.ECMAScript3.Parser
    Language.ECMAScript3.PrettyPrint
    Language.ECMAScript3.Syntax
    Language.ECMAScript3.Syntax.Annotations
    Language.ECMAScript3.Syntax.Arbitrary
    Language.ECMAScript3.Syntax.QuasiQuote
    Language.ECMAScript3.Analysis.Environment
    Language.ECMAScript3.Analysis.LabelSets
    Language.ECMAScript3.SourceDiff
  Other-Modules:
    Language.ECMAScript3.Parser.Type
    Language.ECMAScript3.Parser.State
  Default-Extensions:
    DeriveDataTypeable, ScopedTypeVariables, DeriveFunctor, DeriveFoldable, DeriveTraversable, FlexibleContexts
  Default-Language: Haskell2010

Test-Suite test
  Hs-Source-Dirs: test
  Type: exitcode-stdio-1.0
  Main-Is: TestMain.hs
  Other-Modules:
    Test.Diff
    Test.Unit
    Test.Pretty
    Test.Arbitrary
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 1 && < 3,
    parsec >= 3 && < 3.2.0,
    wl-pprint == 1.*,
    containers == 0.*,
    directory >= 1.2 && < 1.3,
    filepath >= 1.3 && < 1.4,
    HUnit >= 1.2 && < 1.3,
    QuickCheck >= 2.5 && < 3,
    data-default-class >= 0.0.1 && < 0.1,
    test-framework >= 0.8 && < 0.9,
    test-framework-hunit >= 0.3.0 && < 0.4,
    test-framework-quickcheck2 >= 0.3.0.1 && < 0.4,
    uniplate >= 1.6 && <1.7,
    Diff == 0.3.*,
    language-ecmascript
  Default-Extensions: DeriveDataTypeable, ScopedTypeVariables, DeriveFunctor, DeriveFoldable, DeriveTraversable, FlexibleContexts
  Default-Language: Haskell2010
  ghc-options:
    -fwarn-incomplete-patterns