-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathWebBits.cabal
72 lines (68 loc) · 2.84 KB
/
WebBits.cabal
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
Name: WebBits
Version: 2.3
Cabal-Version: >= 1.10
Copyright: Copyright (c) 2007-2011 Brown University, Claudiu Saftoiu, Arjun Guha, Spiridon Eliopoulos, Copyright (c) 2012 Arjun Guha and Andrey Chudnov
License: BSD3
License-file: LICENSE
Author: Arjun Guha, Claudiu Saftoiu, Spiridon Eliopoulos and Andrey Chudnov
Maintainer: Andrey Chudnov <[email protected]>
Homepage: http://github.com/brownplt/webbits
Bug-reports: http://github.com/brownplt/webbits/issues
Stability: provisional
Tested-with: GHC==7.0.4, GHC==7.4.1
Category: Language
Build-Type: Simple
Synopsis: JavaScript analysis tools
Description: WebBits is a collection of libraries for working with JavaScript, contains a parser, a pretty-printer and a lexical environment analyser. The original author of the package is the PLT group of Brown University (http:\/\/www.cs.brown.edu\/research\/plt\/). Changes since version 2.2: 1) the representation of ForInInit has been patched -- now it's in line with the spec and accepts a left-value instead of a "no-var" identifier; 2) an additional check while parsing TryStmt -- now it's inline with the spec; 3) an additional check while parsing LabeledStmt -- now it's inline with the spec; 4) added an analysis to infer the label sets of statements -- useful when building control-flow graphs; 5) parser now checks for duplicate @default@ clauses in switch statements.
Source-repository head
type: git
location: git://github.com/brownplt/webbits.git
Source-repository this
type: git
location: git://github.com/brownplt/webbits.git
tag: WebBits-2.3
Library
Hs-Source-Dirs:
src
Build-Depends:
base >= 4 && < 5,
mtl >= 1.1.0.1,
parsec < 3.2.0,
pretty >= 0.1,
containers >= 0.1,
syb >= 0.1,
uniplate >= 1.6 && <1.7,
data-default >= 0.4 && <0.5
ghc-options:
-fwarn-incomplete-patterns
Exposed-Modules:
BrownPLT.JavaScript
BrownPLT.JavaScript.Lexer
BrownPLT.JavaScript.Parser
BrownPLT.JavaScript.PrettyPrint
BrownPLT.JavaScript.Syntax
BrownPLT.JavaScript.Syntax.Annotations
BrownPLT.JavaScript.Analysis.Environment
BrownPLT.JavaScript.Analysis.LabelSets
Default-Extensions:
DeriveDataTypeable, ScopedTypeVariables, DeriveFunctor, DeriveFoldable, DeriveTraversable, FlexibleContexts
Default-Language: Haskell2010
Test-Suite unittest
Hs-Source-Dirs: src
Type: exitcode-stdio-1.0
Main-Is: UnitTest.hs
Build-Depends:
base >= 4 && < 5,
mtl >= 1.1.0.1,
parsec < 3.2.0,
pretty >= 0.1,
containers >= 0.1,
syb >= 0.1,
directory,
filepath,
HUnit,
data-default >=0.4 && <0.5
Default-Extensions: DeriveDataTypeable, ScopedTypeVariables, DeriveFunctor, DeriveFoldable, DeriveTraversable, FlexibleContexts
Default-Language: Haskell2010
ghc-options:
-fwarn-incomplete-patterns