The language-javascript package

[Tags:bsd3, library]

Parses Javascript into an Abstract Syntax Tree (AST). Initially intended as frontend to hjsmin.


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.5.11, 0.5.12, 0.5.13, 0.5.13.1, 0.5.13.2, 0.5.13.3, 0.5.13.4, 0.5.14.0, 0.5.14.1, 0.5.14.2, 0.5.14.3, 0.5.14.4, 0.5.14.5, 0.5.14.6, 0.5.14.7, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4
Dependencies array (>=0.3 && <0.5), base (==4.*), containers (>=0.2 && <0.5), HUnit, mtl (>=1.1 && <2), QuickCheck (==2.*), test-framework, test-framework-hunit [details]
License BSD3
Copyright (c) 2010 Alan Zimmerman
Author Alan Zimmerman
Maintainer alan.zimm@gmail.com
Stability Unknown
Category Language
Home page http://github.com/alanz/language-javascript
Bug tracker http://github.com/alanz//language-javascript/issues
Source repository head: git clone git://github.com/alanz/language-javascript.git
Uploaded Mon Dec 20 11:36:12 UTC 2010 by AlanZimmerman
Distributions Arch:0.6.0.4, Debian:0.5.14.2, Fedora:0.5.13, FreeBSD:0.5.14.2, LTSHaskell:0.5.14.7, NixOS:0.6.0.4, Stackage:0.6.0.4
Downloads 31857 total (108 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
buildtestsBuild the executable to run unit testsDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for language-javascript

Readme for language-javascript-0.0.1

Parser for JavaScript
---------------------

Based (loosely) on language-python

How to build
------------

Library:

cabal clean && cabal configure && cabal build

Tests:

cabal clean && cabal configure -fbuildtests && cabal build

Running the tests

./dist/build/runtests/runtests


To debug the grammar

happy -iparse.txt -g -a  -d src/Language/JavaScript/Parser/Grammar.y 

This generates src/Language/JavaScript/Parser/Grammar.hs, delete this
when done with the debug version