RE: --show-iface grammar?

2006-08-01 Thread Simon Peyton-Jones
to:[EMAIL PROTECTED] | On Behalf Of Neil Mitchell | Sent: 31 July 2006 23:25 | To: David House | Cc: glasgow-haskell-users@haskell.org | Subject: Re: --show-iface grammar? | | Hi David, | | For a while hoogle used to parse iface files with some Perl, its in | the hoogle repo under data/hihoo.

Re: --show-iface grammar?

2006-07-31 Thread Neil Mitchell
Hi David, For a while hoogle used to parse iface files with some Perl, its in the hoogle repo under data/hihoo. It was particularly unreliable, but might give some insights... And there probably shouldn't be one, if people want it then use the GHC API. Rather than defining a weak text format, we

--show-iface grammar?

2006-07-31 Thread David House
Hi list. Is there a document anywhere describing the grammar of the --show-iface output? Should there be one? This seems like a fairly complicated output, and parsing it could be very useful for tools that, e.g., need to know the strictness of various functions. Thanks in advance. -- -David Hou