[commit: ghc] master: Support registering Plugins through the GHC API (da05d79)

git at git.haskell.org git at git.haskell.org
Tue Dec 11 23:21:58 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/da05d79d03e5e03e391b381f23c46fc02957abf7/ghc

>---------------------------------------------------------------

commit da05d79d03e5e03e391b381f23c46fc02957abf7
Author: Daniel Gröber <dxld at darkboxed.org>
Date:   Tue Dec 11 13:24:12 2018 -0500

    Support registering Plugins through the GHC API
    
    This allows tooling using the GHC API to use plugins internally.
    Hopefully this will make it possible to decouple the development of
    useful plugins from (currently) kitchen-sink type tooling projects
    such as ghc-mod or HIE -- at least to some extent.
    
    Test Plan: validate
    
    Reviewers: bgamari, mpickering
    
    Subscribers: mpickering, alanz, rwbarton, carter
    
    GHC Trac Issues: #15826
    
    Differential Revision: https://phabricator.haskell.org/D5278


>---------------------------------------------------------------

da05d79d03e5e03e391b381f23c46fc02957abf7
 compiler/deSugar/Desugar.hs                        |  2 +-
 compiler/iface/MkIface.hs                          | 18 ++---
 compiler/main/DynFlags.hs                          | 19 +++--
 compiler/main/DynamicLoading.hs                    | 13 ++--
 compiler/main/Plugins.hs                           | 45 +++++++++---
 compiler/main/Plugins.hs-boot                      |  1 +
 compiler/typecheck/TcRnDriver.hs                   |  3 +-
 testsuite/tests/plugins/all.T                      |  6 ++
 testsuite/tests/plugins/static-plugins-module.hs   |  2 +
 testsuite/tests/plugins/static-plugins.hs          | 80 ++++++++++++++++++++++
 .../{plugins10.stdout => static-plugins.stdout}    | 22 +++---
 11 files changed, 166 insertions(+), 45 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc da05d79d03e5e03e391b381f23c46fc02957abf7


More information about the ghc-commits mailing list