Name: WebBits-Html
Version: 1.0
Cabal-Version: >= 1.2.3
Copyright: Copyright (c) 2007-2009 Arjun Guha and Spiridon Eliopoulos
License: LGPL
License-file: LICENSE
Author: Arjun Guha, Spiridon Eliopoulos
Maintainer: Arjun Guha <arjun@cs.brown.edu>
Homepage: http://www.cs.brown.edu/research/plt/
Stability: provisional
Category: Language
Build-Type: Custom
Synopsis: JavaScript analysis tools
Description:
WebBits is a collection of libraries for working with JavaScript embeded in
HTML files. Highlights include:
.
* @BrownPLT.JavaScript.Crawl@ returns all JavaScript in an HTML page, including
JavaScript from imported script files (@\<script src=...\>@).
.
* @BrownPLT.JavaScript.Environment@ annotates JavaScript syntax with its
static environment and returns a list of free identifiers.
.
* @BrownPLT.Html.Parser@ is a permissive HTML parser.
Library
Hs-Source-Dirs:
src
Build-Depends:
base >= 4 && < 5,
mtl >= 1.1.0.1,
parsec < 3.0.0,
pretty >= 0.1,
containers >= 0.1,
syb >= 0.1,
WebBits >= 1.0 && <= 2.0
ghc-options:
-fwarn-incomplete-patterns
Extensions:
Generics TypeSynonymInstances DeriveDataTypeable
Exposed-Modules:
BrownPLT.Html
BrownPLT.Html.Syntax
BrownPLT.Html.PermissiveParser
BrownPLT.Html.PrettyPrint
BrownPLT.Html.Instances
BrownPLT.Html.RawScript
BrownPLT.JavaScript.HtmlEmbedding
BrownPLT.JavaScript.Crawl