[commit: ghc] master: Frontend plugins. (a3c2a26)

git at git.haskell.org git at git.haskell.org
Sat Dec 12 08:38:11 UTC 2015


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

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

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

commit a3c2a26b3af034f09c960b2dad38f73be7e3a655
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Thu Dec 10 20:41:53 2015 -0800

    Frontend plugins.
    
    Summary:
    Frontend plugins enable users to write plugins to replace
    GHC major modes.  E.g. instead of saying
    
        ghc --make A B C
    
    a user can now say
    
        ghc --frontend GHC.Frontend.Shake A B C
    
    which might provide an alternative implementation of a multi-module
    build.  For more details, see the manual entry.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Test Plan: validate
    
    Reviewers: simonmar, bgamari, austin, simonpj
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1598
    
    GHC Trac Issues: #11194


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

a3c2a26b3af034f09c960b2dad38f73be7e3a655
 compiler/main/DynFlags.hs                 |  6 ++++
 compiler/main/DynamicLoading.hs           | 19 +++++++----
 compiler/main/Plugins.hs                  | 10 ++++++
 compiler/prelude/PrelNames.hs             |  6 +++-
 docs/users_guide/extending_ghc.rst        | 50 +++++++++++++++++++++++++++++
 ghc/Main.hs                               | 27 ++++++++++++++++
 testsuite/.gitignore                      |  1 +
 testsuite/tests/plugins/FrontendPlugin.hs | 52 +++++++++++++++++++++++++++++++
 testsuite/tests/plugins/Makefile          |  7 +++++
 testsuite/tests/plugins/all.T             |  3 ++
 testsuite/tests/plugins/frontend01.hs     |  1 +
 testsuite/tests/plugins/frontend01.stdout |  4 +++
 12 files changed, 179 insertions(+), 7 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 a3c2a26b3af034f09c960b2dad38f73be7e3a655


More information about the ghc-commits mailing list