GHCJS now runs Template Haskell on node.js - Any interest in out of process TH for general cross compilation?
stegeman at gmail.com
Fri Jul 4 11:03:35 UTC 2014
On Thu, Jul 3, 2014 at 6:18 PM, Simon Peyton Jones <simonpj at microsoft.com>
> I lack the bandwidth to respond at any technical depth, but I’d like to
> make encouraging noises. If you can figure out a way to make GHC do these
> things without making the compiler terribly complicated and making
> maintaining it harder, then I’m open to your proposals.
I think most of the communication code could go into a separate executable
that can be built by the user for the target-specific communication. The
GHC API facing part of the implementation in GHCJS is under 300 lines and
that includes some non-exported code duplicated from GHC, so I'm reasonably
optimistic that it can be done without too much impact.
Unfortunately I won't have much time in the near future, since a GHCJS
release is well overdue (mostly because I keep adding features like
this...) and I want to focus on that first, but getting it ready before
7.10 should be doable (especially if other people want to help!)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs