[GHC] #14443: Add a plugin phase that allows users to modify HsSyn before the desugarer

GHC ghc-devs at haskell.org
Thu Nov 16 13:31:49 UTC 2017


#14443: Add a plugin phase that allows users to modify HsSyn before the desugarer
-------------------------------------+-------------------------------------
        Reporter:  ocharles          |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      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:                    |
-------------------------------------+-------------------------------------

Comment (by Shayan-Najd):

 That's similar to what
 [https://ghc.haskell.org/trac/ghc/wiki/NativeMetaprogramming| native
 metaprogramming] would eventually allow you to do.
 Meanwhile, can't you already do this with Template Haskell (with a bit of
 more syntactic noise)?

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


More information about the ghc-tickets mailing list