
31 Jul
2011
31 Jul
'11
4:33 p.m.
I m not GHC developer but wouldn't JVM LLVM backend be sufficient? Since new GHC AFAIK uses LLVM then it would allow compiling Haskell to LLVM and LLVM to JVM.
The hard part wouldn't be the code generation, but the interop with the class libraries, finding a workable way to use Java classes from Haskell and exporting Haskell code masquerading as Java classes. Regards, Niklas