
#8624: -ddump-splices-file -------------------------------------+------------------------------------ Reporter: GregWeber | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by goldfire): I think the first step would be to write up a concrete proposal for the new feature on a wiki page. A few questions I have that would need to be answered: * If the source file is a .lhs file, is the output .lhs.th? * Can a user alter the extension? * Can a user alter the directory where this file is created? Then, for implementing it, I would start by looking at !DynFlags and then poking around to see how -ddump-splices works. I imagine it wouldn't be difficult just to redirect the -ddump-splices output to a file. Caveat: I haven't done anything quite like this to GHC, so my suggestions may be wrong. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8624#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler