Hopefully this interface will provide a foundation for a high level FFI as described in #3
JSBase, JSContextGroup and JSObjectRef are implemented currently. will complete apis.
I have added some RTS support for the trampoline code gen (but in the Gen2 branch right now). I also added a higher level interface in https://github.com/ghcjs/jsc. I have added some sample code to ghcjs-hello.
Great! I am going to test it soon. I need to switch to gen2 then, right?
I am currently testing with https://github.com/ghcjs/ghc/tree/ghc-7.6 and https://github.com/ghcjs/ghcjs/tree/gen2
But I am not using the Gen2 generator yet.
There is a .travis.yml file in ghc-7.6 that should indicate how to get the source. It uses unpack.sh to get source files needed (including switching ghcjs to the gen2 branch).
Once you have the source files you should be able to use ghcjs-build.sh to build both the integrated and stand alone versions of GHCJS.
I think this works now, probably better to open new tickets for specific issues when they arise