[GHC] #11140: add command-line option to GHC to dump raw parse trees of Haskell programs

GHC ghc-devs at haskell.org
Wed May 18 10:40:19 UTC 2016


#11140: add command-line option to GHC to dump raw parse trees of Haskell programs
-------------------------------------+-------------------------------------
        Reporter:  bollu             |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  7.10.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:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 That is true but by them stages in the compilation pipeline you don't care
 about what the raw format looks like. When modifying the parser  you need
 to know the precise structure of the AST rather than some pretty printed
 version produced by `Outputtable`.

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


More information about the ghc-tickets mailing list