Mon, 14 Aug 2000 17:05:07 +1000, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> pisze:

> > I think it should be simple (probably just one small Main.hs),

Indeed, prototypic 4kB of Main.hs plus 1kB of a C template works well
for numeric constants, numeric types, struct fields and #includes.
I used Parsec. But the library is a bit larger than C2HS.

> So, maybe you can briefly comment on whether your current code
> stays within Haskell 98 or not.

It only relies on multiparametric type classes.

Of course it uses primitive ghc operations that it is a wrapper for,
and libraries like CTypes, or PrelIOBase for exception constructors.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK


Reply via email to