[C2hs] c2hs + language.c

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Jan 24 13:44:06 EST 2009

On Sat, 2009-01-24 at 16:57 +0000, Duncan Coutts wrote:
> On Wed, 2008-08-20 at 20:49 +0200, Benedikt Huber wrote:
> > Hello !
> > 
> > I've set up a branch of c2hs using Language.C's parser and pretty  
> > printer.
> > 
> >  > http://code.haskell.org/~bhuber/c2hs
> > 
> > The branch also fixes a couple of bugs (#6,#8,#9,#12) and, as a small  
> > bonus, implements "enum define" hooks (Bug #5).
> I've pulled the changes and I'm just trying to get some tests running.
> You added ./tests/bugs/call_capital/ but I can't seem to make it work.
> It's looking for a "capital.h" but there's no such file.
> Can you think of any other good test cases to give us some confidence?
> I'd use gtk2hs but of course it is still using it's own c2hs fork.
> I did manage to test cairo as that's using the normal c2hs, at least
> with patches to cabalise it. That produced identical results (except for
> numbering C2HS_COND_SENTRY_'s from 0 rather than 1).

The packages on Hackage that declare that they use c2hs also continue to
work fine (there may be others that use it but do not declare the fact).

So, Benedikt, you wrote all the new code for this release, what code
name do you want to give it? :-)

There have been some odd ones:
0.7.10	Afterthought
0.8.3	Gentle Moon
0.9.0	Blue Ginger
0.11.5	Powder Snow
0.10.17 Altocumulus Stratiformis Perlucidus Undulatus
0.12.0	Springtime
0.13.6  Pressing Forward
0.14.6	Travelling Lightly
0.15.0  Rainy Days

I'll try and fix #11 while we're at it.


More information about the C2hs mailing list