Changes between Version 7 and Version 8 of RemoteGHCi


Ignore:
Timestamp:
Jun 22, 2016 11:31:45 AM (10 months ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RemoteGHCi

    v7 v8  
    22
    33Patches to implement this: Phab:D1562, Phab:D1747, Phab:D1748
     4
     5Remote GHCi was first available in GHC 8.0.1.  Implementation notes: [wiki:Commentary/Compiler/ExternalInterpreter]
    46
    57This is a design page for implementing GHCi and Template Haskell by running the interpreted code in a separate process from GHC itself. 
     
    3840== Implementation
    3941
    40 Main pieces:
    41 
    42 * A server binary, implementing a message-passing protocol
    43 * A library, implementing a message type and some utilities for communication, imported by both GHC and the server
    44 * GHC must start up the server and shut it down appropriately, and communicate with it via messages to implement GHCi and Template Haskell functionality.
    45 
    46 Main functionality areas:
    47 
    48 * Running interpreted code
    49 * Running Template Haskell code (implementing the `Quasi` monad via message-passing)
    50 * The GHCi debugger: breakpoints and inspecting runtime expressions
     42See [wiki:Commentary/Compiler/ExternalInterpreter]
    5143
    5244== Template Haskell in stage1