WebBits-Html

JavaScript analysis tools

http://www.cs.brown.edu/research/plt/

Latest on Hackage:1.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

LicenseRef-LGPL licensed by Arjun Guha, Spiridon Eliopoulos
Maintained by Arjun Guha

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.