diff options
author | Boldizsar Nemeth <nboldi@elte.hu> | 2018-06-02 19:08:40 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-06-02 23:20:47 -0400 |
commit | c2783ccf545faabd21a234a4dfc569cd856082b9 (patch) | |
tree | 506fa03c577a381a4bb9c74e9f9749723b3928a3 /testsuite/tests/plugins/plugins11.hs | |
parent | 727256680c8547282bda09dffefba01f9db98d1e (diff) | |
download | haskell-c2783ccf545faabd21a234a4dfc569cd856082b9.tar.gz |
Extended the plugin system to run plugins on more representations
Extend GHC plugins to access parsed, type checked representation,
interfaces that are loaded. And splices that are evaluated. The goal is
to enable development tools to access the GHC representation in the
pre-existing build environment.
See the full proposal here:
https://ghc.haskell.org/trac/ghc/wiki/ExtendedPluginsProposal
Reviewers: goldfire, bgamari, ezyang, angerman, mpickering
Reviewed By: mpickering
Subscribers: ezyang, angerman, mpickering, ulysses4ever, rwbarton, thomie, carter
GHC Trac Issues: #14709
Differential Revision: https://phabricator.haskell.org/D4342
Diffstat (limited to 'testsuite/tests/plugins/plugins11.hs')
-rw-r--r-- | testsuite/tests/plugins/plugins11.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/plugins11.hs b/testsuite/tests/plugins/plugins11.hs new file mode 100644 index 0000000000..f714472a07 --- /dev/null +++ b/testsuite/tests/plugins/plugins11.hs @@ -0,0 +1,2 @@ +{-# OPTIONS_GHC -fplugin Simple.SourcePlugin #-} +module A where |