GHCJS now runs Template Haskell on node.js - Any interest in out of process TH for general cross compilation?

Luite Stegeman stegeman at gmail.com
Sat Jul 5 20:09:08 UTC 2014


How would you do reification with that approach?


On Sat, Jul 5, 2014 at 9:59 PM, John Meacham <john at repetae.net> wrote:

> Actually, I was looking into it a little, and template haskell could
> effectively be implemented by a pre-processor and a portable library
> that is compiler independent. If one could get ghc to spit out the
> template haskell source after it expands it then that can be fed to
> jhc as a quick first pass, but ideally the pre-processor TH would
> create programs that can be run under the target compiler. that would
> bring TH to every haskell compiler.
>
>     John
>
> On Sat, Jul 5, 2014 at 10:38 AM, Brandon Allbery <allbery.b at gmail.com>
> wrote:
> > On Sat, Jul 5, 2014 at 1:34 PM, Carter Schonwald
> > <carter.schonwald at gmail.com> wrote:
> >>
> >> does JHC support template haskell?
> >
> >
> > Pretty sure TH is too closely tied to ghc.
> >
> > --
> > brandon s allbery kf8nh                               sine nomine
> associates
> > allbery.b at gmail.com
> ballbery at sinenomine.net
> > unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
>
>
> --
> John Meacham - http://notanumber.net/
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20140705/dbafdd50/attachment.html>


More information about the Glasgow-haskell-users mailing list