[GHC] #14709: Extend the plugin mechanism to access program representation

GHC ghc-devs at haskell.org
Wed Jan 24 04:21:34 UTC 2018


#14709: Extend the plugin mechanism to access program representation
-------------------------------------+-------------------------------------
        Reporter:  lazac             |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHC API           |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |  https://phabricator.haskell.org/D4342
  https://ghc.haskell.org/trac/ghc/wiki/ExtendedPluginsProposal|
-------------------------------------+-------------------------------------

Comment (by bgamari):

 The description on the wiki page, specifically of the plugin interface
 itself, seems a bit terse. Do you think you could lay out more precisely
 what these new plug-ins will be be able to do? Do you anticipate being
 able to modify the AST or is this strictly for tooling that wishes to I
 spect the AST?

 A few more words on why front-end plug-ins are insufficient would also be
 helpful; is the problem that you want your plugin to run  during the
 course of normal compilation?

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14709#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list