summaryrefslogtreecommitdiff
path: root/language-ecmascript.cabal
blob: 23e7556fa730b75a4de3e24b3b8f11f630419756 (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
100
101
102
103
104
105
106
107
108
109
110
Name:           language-ecmascript
Version:        0.19
Cabal-Version:	>= 1.12
Copyright:      (c) 2007-2012 Brown University, (c) 2008-2010 Claudiu Saftoiu,
                (c) 2012-2015 Stevens Institute of Technology, (c) 2016 Eyal Lotem, (c) 2016-2018 Andrey Chudnov
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==8.2.2
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. The package follows the Haskell Package Versioning Policy since version 0.17.0.1.

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.19

Library
  Hs-Source-Dirs:
    src
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 1 && < 3,
    parsec > 3 && < 3.2.0,
    ansi-wl-pprint >= 0.6 && < 1,
    containers == 0.*,
    uniplate >= 1.6 && <1.7,
    data-default-class >= 0.0.1 && < 0.2,
    QuickCheck >= 2.5 && < 3,
    template-haskell >= 2.7 && < 3,
    Diff == 0.3.*,
    charset >= 0.3
  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.CodeGen
    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: src test
  Type: exitcode-stdio-1.0
  Main-Is: TestMain.hs
  Other-Modules:
    Language.ECMAScript3.Lexer                                        
    Language.ECMAScript3.Parser                                       
    Language.ECMAScript3.Parser.State                                 
    Language.ECMAScript3.Parser.Type                                  
    Language.ECMAScript3.PrettyPrint                                  
    Language.ECMAScript3.SourceDiff                                   
    Language.ECMAScript3.Syntax                                       
    Language.ECMAScript3.Syntax.Annotations  
    Language.ECMAScript3.Syntax.Arbitrary
    Test.Diff
    Test.Unit
    Test.Pretty
    Test.Arbitrary
  Build-Depends:
    base >= 4 && < 5,
    mtl >= 1 && < 3,
    parsec >= 3 && < 3.2.0,
    ansi-wl-pprint >= 0.6 && < 1,
    charset >= 0.3,
    containers == 0.*,
    directory >= 1.2 && < 1.4,
    filepath >= 1.3 && < 1.5,
    HUnit >= 1.2 && < 1.7,
    QuickCheck >= 2.5 && < 3,
    data-default-class >= 0.0.1 && < 0.2,
    testing-feat >= 0.4.0.2 && < 1.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