[GHC] #9628: Add Annotations to the AST to simplify source to source conversions
GHC
ghc-devs at haskell.org
Fri Oct 10 18:17:41 UTC 2014
#9628: Add Annotations to the AST to simplify source to source conversions
-------------------------------------+-------------------------------------
Reporter: alanz | Owner: alanz
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.9
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: D297 |
-------------------------------------+-------------------------------------
Comment (by NeilMitchell):
Why does the user require consulting parser.y.pp? Things like the Let
constructor obviously have a Let keyword and an In keyword. Things like
instance declaration obviously have Instance and Where. They seem fairly
predictable, and if you do want to comment it, that could be as short as
"-- instance ... [where]". Or do you have in mind nodes which wouldn't be
as clear, or places where the thing you are indexing isn't so obviously a
keyword?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9628#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list