
#15826: Allow registering (Source)Plugins through the GHC API -------------------------------------+------------------------------------- Reporter: DanielG | Owner: DanielG Type: feature request | Status: new Priority: normal | Milestone: Component: GHC API | Version: 8.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D5278 Wiki Page: | -------------------------------------+------------------------------------- Comment (by DanielG): I guess "plugin" is the wrong term here, so that might be causing some confusion. The whole point of this endeavor is to be able to use plugins already compiled into the programm calling the GHC API, without loading anything dynamically, so recompilation checking simply isn't needed here. The idea is that since GHC now has plugin support lots of people will build interresintg plugins and I'd like to be able to use these in tooling projects without mucking about with having to `cabal install` them at runtime. So instead I figure since plugins are just regular packages/modules why not just link against them at build time? If I just wanted to just load some (dynamically) loaded plugins through the GHC API you are right, what I'm doing wouldn't make much sense. That just not the use-case though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15826#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler