[GHC] #11140: add command-line option to GHC to dump raw parse trees of Haskell programs
GHC
ghc-devs at haskell.org
Thu Dec 10 18:31:23 UTC 2015
#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: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* type: bug => feature request
Comment:
See the description of #11024 for example output.
irc confo:
* rwbarton > I think this is going to be kind of a messy continuum between
representing all the data in the AST and producing output that's at all
comprehensible to a human
* mpickering > rwbarton: we have some code in ghc-exactprint which dumps
the while AST and it has been very useful for us fwiw
* mpickering > it's useful when you want to check what exact SrcSpan
something has for example
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11140#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list