add command-line option to GHC to dump raw parse trees of Haskell programs
As of now, GHC has no option to dump the parse tree of a given Haskell source file.
-ddump-parsed only displays the pretty-printed AST structure, and cannot be used to inspect parse trees.
An existing implementation of such a feature is present in apply-refact(https://github.com/mpickering/apply-refact) by invoking the tool as refactor --debug.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.10.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |