Time ago YHC compiler (not longer active) got additional backend that generated JS from Yhc.Core. 
It was working quite ok. You can still find demos online.
Generating JS (high level code) from Ghc.Core feels better than from low level code of LLVM.

Is GHC.core very different from YHC.core?

Sz.

On Mon, Apr 11, 2011 at 6:02 PM, Christopher Done <chrisdone@googlemail.com> wrote:
On 11 April 2011 14:54, Sönke Hahn <shahn@cs.tu-berlin.de> wrote:
I haven't tried the tool myself, but it seems interesting to the Haskell
efforts to compile to JavaScript:

http://syntensity.blogspot.com/2011/04/emscripten-10.html 

Good grief, that sounds incredibly awesome. GHC → LLVM → JS. Get all GHC's goodies *and* not have to write JS for targeting browsers.

Very interested. I will mess with it tonight.

Cheers!

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe