On Wed, Jun 13, 2007 at 01:44:10PM +0100, Neil Mitchell wrote:
> Hi,
> 
> I was wondering if you would be happy with the addition of a flag to
> generate Haskell Core (.hcr) files in a binary format, in addition to
> the text format currently generated? This would allow for easy parsing
> of the resultant files, something which is currently not possible.
> 
> Matt has kindly volunteered to implement this, if you would be happy
> to accept such a patch.

Why not just change the standard textual output format to something
easier to parse, like a s-expression form?  Keeping one external core
ppr in synch with GHC was hard enough (I'm told they failed for one of
the major versions); two, where one is a custom binary format, sounds
quite impractical.

Stefan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to