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

GHC ghc-devs at haskell.org
Sun Jan 15 19:38:14 UTC 2017


#11140: add command-line option to GHC to dump raw parse trees of Haskell programs
-------------------------------------+-------------------------------------
        Reporter:  bollu             |                Owner:  alanz
            Type:  feature request   |               Status:  patch
        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):  Phab:D2958
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Alan Zimmerman <alan.zimm@…>):

 In [changeset:"1ff3c5882427d704538250e6fdadd6f48bb08989/ghc" 1ff3c58/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1ff3c5882427d704538250e6fdadd6f48bb08989"
 Add dump-parsed-ast flag and functionality

 Summary:
 This flag causes a dump of the ParsedSource as an AST in textual form,
 similar
 to the ghc-dump-tree on hackage.

 Test Plan: ./validate

 Reviewers: mpickering, bgamari, austin

 Reviewed By: mpickering

 Subscribers: nominolo, thomie

 Differential Revision: https://phabricator.haskell.org/D2958

 GHC Trac Issues: #11140
 }}}

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


More information about the ghc-tickets mailing list