[GHC] #14018: Expose more pipeline functionality to GHC API

GHC ghc-devs at haskell.org
Sun Jul 23 13:32:38 UTC 2017


#14018: Expose more pipeline functionality to GHC API
-------------------------------------+-------------------------------------
           Reporter:  literon        |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.2.1-rc2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 There's many useful functionality in non-exposed modules. For example,
 `ghc/Main.hs` contains `doMake` [0], which is a one-shop stop for
 compiling all (non-Haskell + Haskell) source files. Now a GHC API client
 has to replicate much of this logic to get GHC-alike behavior.

 Similarly for `parseModeFlags`. Or is the intent here to encourage using
 of Frontend plugins instead of relying on these internals?

 [0]:
 http://stuff.codereview.me/#ghc/ghc/Main.hs?corpus=ghc-8.2.1-rc2&signature&line=696

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


More information about the ghc-tickets mailing list