[GHC] #13101: Enable GHC to be loaded into GHCi

GHC ghc-devs at haskell.org
Tue Jan 10 18:33:05 UTC 2017


#13101: Enable GHC to be loaded into GHCi
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 It would be very helpful for development to be able to load GHC itself
 into GHCi. In principle this shouldn't be so hard since GHC is just
 another Haskell program. However, in practice there are a number of
 modules which use unboxed tuples, which the interpreter does not support.
 However, it should be possible to the convince GHC to use object code for
 just these modules and interpret the rest. I have a few attempts at this
 here (https://gist.github.com/bgamari/bd53e4fd6f3323599387ffc7b11d1a1e).

 See the following related mailing list threads,

  * https://mail.haskell.org/pipermail/ghc-devs/2017-January/013545.html
  * https://mail.haskell.org/pipermail/ghc-devs/2016-March/011555.html

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13101>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list