@hackage language-javascript0.0.1

Parser for JavaScript

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