Changes between Version 4 and Version 5 of Commentary/Compiler/ExternalInterpreter


Ignore:
Timestamp:
Jun 23, 2016 8:12:37 AM (3 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/ExternalInterpreter

    v4 v5  
    6060
    6161The set of operations that TH code can perform is defined by the `Quasi` class in [https://phabricator.haskell.org/diffusion/GHC/browse/master/libraries/template-haskell/Language/Haskell/TH/Syntax.hs Language.Haskell.TH.Syntax].  Under `-fexternal-interpreter`, each of these operations results in a message sent back from `iserv` to GHC, and a response to the message sent from GHC back to `iserv`.  The `iserv` side of this communication is in [https://phabricator.haskell.org/diffusion/GHC/browse/master/libraries/ghci/GHCi/TH.hs GHCi.TH], and the GHC side is in `runRemoteTH` in [https://phabricator.haskell.org/diffusion/GHC/browse/master/compiler%2Ftypecheck%2FTcSplice.hs TcSplice.hs].
     62
     63For more details, see `Note [Remote Template Haskell]` in [https://phabricator.haskell.org/diffusion/GHC/browse/master/libraries%2Fghci%2FGHCi%2FTH.hs | libraries/ghci/GHCi/TH.hs]
     64