On Sun, 2006-10-08 at 14:34 +0200, Sven Panne wrote:
> Am Freitag, 6. Oktober 2006 12:38 schrieb Simon Marlow:
> > [...]
> > The darcs repo containing David's new version of Haddock, which works via
> > the GHC API, is here:
> >
> >    http://darcs.haskell.org/SoC/haddock.ghc/
> >
> > As I understand it, it's still not completely stable, but it'll be easier
> > to work on now that the GHC changes are in the HEAD.  I'm sure David would
> > welcome any offers of help or (probably later) willing testers.
> 
> This is yet another reminder to make new releases of Alex, Happy and Haddock 
> rather soon (before anything from the SoC is merged to those tools). The 
> reason is the slighty circular dependency graph of all the tools and GHC 
> itself: Currently one needs non-released versions of the tools from darcs to 
> build a GHC RPM, so things will get a bit tricky when Haddock requires a GHC 
> API, which is only present in recent GHCs, which in turn needs... etc. etc.
> 
> Of course this is only a slight annoyance when checking out and building by 
> hand, but having designated versions of all involved tools is mandatory for 
> automated build systems, like the one for openSUSE (and probably others).

That would be very much appreciated. If you feel like making release
candidate tarballs for them all then the Gentoo Haskell packaging people
will endeavour to test them. We've already got a haddock-0.8_rc1 package
that Simon Marlow put together a month or so back but we'll need an
rc2...

One gotcha to look out for with haddock is that the tarball needs to
contain the pre-processed .hs files produced by happy and alex. At the
moment Cabal doesn't automate that at all so it needs to be done
manually. Otherwise we end up with haddock needing alex & happy. We
noticed this problem in the haddock-0.8_rc1 release.

This also reminds me: a week or so ago when I was visiting Chalmers, we
had a hacking session where we added new ByteString '%wrapper's to alex.
I'll try to tidy up the patches and send them in. I'll try and get some
performance numbers too.

Duncan
(wearing his Gentoo hat)

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

Reply via email to