hjs: Javascript Parser

[ bsd3, compilers-interpreters, library, program ] [ Propose Tags ]

A Javascript parser and interpreter. Works as per ECMA-262 plus some parts of JS >=1.5.

[Skip to Readme]
Versions [faq] 0.1, 0.2, 0.2.1
Dependencies base, mtl, parsec (>=2.0), regex-compat (>=0.71) [details]
License BSD-3-Clause
Copyright Mark Wassell 2007
Author Mark Wassell<mwassell@bigpond.net.au>
Maintainer mwassell@bigpond.net.au
Category Compilers/Interpreters
Home page http://www.haskell.org/haskellwiki/Libraries_and_tools/HJS
Uploaded by MarkWassell at 2007-03-25T03:36:14Z
Distributions NixOS:0.2.1
Executables hjs
Downloads 2366 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-01-04 [all 7 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hjs-0.2

[back to package description]
HJS - Haskell JavaScript 

Many examples in the testsuite taken from http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference

This is a development version; don't expect everything to work and to be clear.

Documentation can be found at http://www.haskell.org/haskellwiki/Libraries_and_tools/HJS


runhaskell.exe Setup.hs configure
runhaskell.exe Setup.hs build

Quick test after build:

dist\build\hjs\hjs.exe .\testsuite\0_helloworld.js

To package up for Hackage (sdist doesn't work)

tar cvf hjs-0.2.tar hjs-0.2
gzip hjs-0.2.tar