Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 79 lines (72 sloc) 3.374 kb
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
Name: language-javascript
Version: 0.5.4
Synopsis: Parser for JavaScript
Description: Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.
                     .
                     Note: Version 0.5.0 breaks compatibility with prior versions, the AST has been reworked to allow
                     round trip processing of JavaScript.
Homepage: https://github.com/alanz/language-javascript
License: BSD3
License-file: LICENSE
Author: Alan Zimmerman
Maintainer: alan.zimm@gmail.com
Copyright: (c) 2010,2011,2012 Alan Zimmerman
Category: Language
Build-type: Simple
homepage: http://github.com/alanz/language-javascript
bug-reports: http://github.com/alanz//language-javascript/issues
Extra-source-files: README
                     .ghci
                     buildall.sh
                     test/Unicode.js
                     test/k.js
                     test/unicode.txt
                     runalex.sh
                     src-dev/Language/JavaScript/Parser/Lexer.x

-- Version requirement upped for test support in later Cabal
Cabal-version: >= 1.9.2


Library
  Build-depends: base >= 4 && < 5
                   , array >= 0.3 && < 0.5
                   , mtl >= 1.1 && < 2.9
                   , containers >= 0.2 && < 0.5
                   , utf8-light >= 0.4 && < 1.0
                   -- For the round trip output
                   , blaze-builder >= 0.2 && < 1
                   , bytestring >= 0.9.1 && < 1
                   , utf8-string >= 0.3.7 && < 1
  build-tools: happy >= 1.18.5
  hs-source-dirs: src
  Exposed-modules: Language.JavaScript.Parser
                       Language.JavaScript.Parser.Parser
                       Language.JavaScript.Parser.Lexer
                       Language.JavaScript.Parser.Grammar5
                       Language.JavaScript.Parser.AST
                       Language.JavaScript.Pretty.Printer
                       Language.JavaScript.Parser.SrcLocation
  Other-modules: Language.JavaScript.Parser.LexerUtils
                       Language.JavaScript.Parser.ParseError
                       Language.JavaScript.Parser.ParserMonad
                       Language.JavaScript.Parser.StringEscape
                       Language.JavaScript.Parser.Token
  Build-tools: happy
  ghc-options: -Wall

Test-Suite test-language-javascript
  Type: exitcode-stdio-1.0
  Main-is: runtests.hs
  build-depends: base, Cabal >= 1.9.2
                 , QuickCheck >= 2 && < 3
                 , HUnit
                 , test-framework-hunit
                 , test-framework
                 , array >= 0.3 && < 0.5
                 , utf8-light >= 0.4 && < 1.0
                 , containers >= 0.2 && < 0.5
                 , mtl >= 1.1 && < 2.9
                 , utf8-string >= 0.3.7 && < 1
                 , bytestring >= 0.9.1 && < 1
                 , blaze-builder >= 0.2 && < 1
  hs-source-dirs: . src ./dist/build


source-repository head
  type: git
  location: git://github.com/alanz/language-javascript.git
Something went wrong with that request. Please try again.