[GHC] #14709: Extend the plugin mechanism to access program representation
GHC
ghc-devs at haskell.org
Mon Jan 29 21:08:54 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):
First: thanks, lazac, for the patch. GHC's plugin framework has long been
waiting for someone to flesh it out and this patch looks like a great step
in that direction. However, GHC's plugin interfaces are part of the
compiler's public interface and as such will be supported for the
foreseeable future. Consequently, we want to be careful that we don't end
up introducing an interface that we will later come to regret.
I discussed your patch with the Simons this morning and there was a
general consensus that the proposal and the Haskell tooling community
(some of whom have yet to comment here) would both benefit immensely from
having the design in written form as a [[https://github.com/ghc-proposals
/ghc-proposals|formal proposal]]. This would allow us to collect enough
use-cases to better evaluate your proposed interfaces. I would be happy to
lend a hand in developing, proof-reading, or otherwise facilitating this
proposal if you like to help.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14709#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list