
#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 alanz): Status report. Using Phab:D297 applied to head, [https://github.com/alanz/ghc- exactprint/tree/ghc-7.9 ghc-exactprint] is able to fully reproduce the module header and exports of a haskell source file. Working with the annotations feels natural, and it works. Also, there has been no feedback, adverse or otherwise on wether this is the right approach. Given that HaRe will be the primary user initially, I would be happy to go ahead with this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9628#comment:34 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler