I've tried to build ghcjs but it seems to be somewhat difficult with all the manual steps and cabal dependencies that exist only on github. Would it be possible to remedy this with a build script?
I'm willing to contribute a Makefile if you can tell me what actually needs to be done to build this from scratch. I'd guess that other random potential contributors would be easier to entice to participate if building this would be easier.
How does that sound to you?
Sorry for the late reply, I've been busy with a major rewrite of the code generator, haven't had much time for improving the user experience :)
I think the standalone compiler should just be improved enough that installing ghcjs can be done with cabal install, without requiring difficult steps from the user. I worked on the standalone build earlier this year and i think it's almost there (proper cabal support, booting without messing with GHC source), but a few things are missing (linking the final application and cabal-dev support)
1. install source-map, ghcjs-closure and ghcjs-hterm from github (clone repositories, cabal install from directory
2. cabal install ghcjs itself (do not use cabal-dev)
3. get a copy of the ghc source code of the version you're running, run ./configure, make -j8
4. from the ghc source directory, run ghcjs-boot
steps 3 and 4 should be automated by ghcjs-boot --auto, but i haven't tested that very well. --auto should also still be improved to reuse an existing boot source tree
these instructions are a outdated now, better docs for standalone will follow
ghcjs-build fixes this now, followed by a proper hackage release soon