[C2hs] anyone interested in developing a Language.C library?

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri Apr 20 20:39:04 EDT 2007


chak:
> Duncan Coutts wrote:
> >If anyone is interested in developing a Language.C library, I've just
> >completed a full C parser which we're using in c2hs.
> >
> >It covers all of C99 and all of the GNU C extensions that I have found
> >used in practise, including the __attribute__ annotations. It can
> >successfully parse the whole Linux kernel and all of the C files in all
> >the system packages on my Gentoo installation.
> 
> Great work!
> 
> Using this as a basis for a Language.C would be a really worthwile project.
> 

I think people should be very interested in this.

The ability to easily manipulate and generate C would quickly insert
Haskell into another useful niche. There must *surely* be real money 
in writing nice Haskell programs that optimise/analyse/refactor/generate
C code...

-- Don


More information about the Libraries mailing list