darcs patch: initial, very incomplete tags generator (and 16 more)

Norman Ramsey nr at eecs.harvard.edu
Sat Oct 14 18:38:57 EDT 2006


 > Hello nr,
 > 
 > Saturday, October 14, 2006, 12:30:54 AM, you wrote:
 > >   The ultimate goal is to replace hasktags with
 > >   a tags generator based on GHC-as-a-library.
 > 
 > is this working at this time? how i can download/use it?

It works, but there are two serious problems:

  1. Incorrect emacs tags file when source-line directives are used
     (ctags might be OK).

  2. Performance problems make it unusable on large programs.

The performance problems appear to be lurking behind the GHC API, and
I'm not competent to correct them, so I've asked S&S for help.  Once
that's out of the way and I can do some real testing, I'll correct the
other problems.  

If you're currently building a compiler, it's in the utils/ghctags
directory.  If not, I can put source code on the web, though I'd sort
of prefer to have the bugs fixed.

 > hasktags is over-simplified utility, having a really parsing
 > alternative to it will be great

Indeed.


Norman



More information about the Glasgow-haskell-users mailing list