[GHC] #9735: Template Haskell for cross compilers (port from GHCJS)
GHC
ghc-devs at haskell.org
Tue Oct 28 15:27:55 UTC 2014
#9735: Template Haskell for cross compilers (port from GHCJS)
-------------------------------------+-------------------------------------
Reporter: luite | Owner:
Type: task | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.8.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Unknown | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
GHCJS supports Template Haskell by running it outside the compiler's
process, with a different implementation of the Quasi type class. This can
be done for other cross compilers too, if GHC gets an option to serialize
Template Haskell requests and pass them to an external process.
Someone started the work on this, but I think he stopped. I still have a
document with a step by step plan to build an iOS cross compiler, with
pointers to the relevant GHC and GHCJS code.
https://github.com/ghcjs/ghcjs/wiki/Porting-GHCJS-Template-Haskell-to-GHC
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9735>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list