Re: [Haskell] hscpp

2004-09-28 Thread Malcolm Wallace
Wolfgang Jeltsch [EMAIL PROTECTED] writes:

 there was some discussion about a Haskell-friendly CPP a while ago.  What 
 happend to this project?  I desperately need such a preprocessor.

It is called cpphs, and is currently at version 0.7.  I think it
is feature-complete now, and has behaviour highly compatible with
cpp -traditional.  In particular, it avoids the problems introduced
in gcc-3.x's cpp.

http://haskell.org/cpphs/

Regards,
Malcolm
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] hscpp

2004-09-28 Thread Graham Klyne
Malcolm Wallace implemented it... I've used it and it works fine for 
me.  There's an announcement somewhere in the Haskell mailing lists.

Here it is:
  http://www.cs.york.ac.uk/fp/cpphs/
#g
--
At 23:18 27/09/04 +0200, Wolfgang Jeltsch wrote:
Hello,
there was some discussion about a Haskell-friendly CPP a while ago.  What
happend to this project?  I desperately need such a preprocessor.
CPP 3.3.4, which I use now, is not usable for me because you cannot have such
a simple thing like a \\ operator with it.  How do others solve such
problems?  I cannot believe that there isn't a better way than living with
all those terrible restrictions, using CPP imposes on you.
Wolfgang
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Graham Klyne
For email:
http://www.ninebynine.org/#Contact
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] hscpp

2004-09-28 Thread Wolfgang Jeltsch
Am Dienstag, 28. September 2004 11:51 schrieb Malcolm Wallace:
 Wolfgang Jeltsch [EMAIL PROTECTED] writes:
  there was some discussion about a Haskell-friendly CPP a while ago.  What
  happend to this project?  I desperately need such a preprocessor.

 It is called cpphs, and is currently at version 0.7.  I think it
 is feature-complete now, and has behaviour highly compatible with
 cpp -traditional.  In particular, it avoids the problems introduced
 in gcc-3.x's cpp.

Hello again,

thank you very much for writing this tool and for giving me this information.  
I downloaded it and (so far) it worked brilliantly. :-)

Is there any effort to package this as a Debian package?   Or has this already 
be done?  It would be very good if cpphs would enter the next stable Debian 
release (3.1).

 [...]

 Regards,
 Malcolm

Best regards,
Wolfgang
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] hscpp

2004-09-28 Thread Ian Lynagh
On Tue, Sep 28, 2004 at 12:53:00PM +0200, Wolfgang Jeltsch wrote:
 
 Is there any effort to package this as a Debian package?   Or has this
 already be done?

As far as I know it hasn't been done yet.

 It would be very good if cpphs would enter the next stable Debian
 release (3.1).

I'm told this is still possible, so I'll have a look at it unless
someone else says they already have or want to.


Thanks
Ian

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] hscpp

2004-09-28 Thread Wolfgang Jeltsch
Am Dienstag, 28. September 2004 16:24 schrieb Ian Lynagh:
 [...]

  It would be very good if cpphs would enter the next stable Debian
  release (3.1).

 I'm told this is still possible, so I'll have a look at it unless
 someone else says they already have or want to.

Thanks a lot.

 Thanks
 Ian

Best regards,
Wolfgang
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] hscpp

2004-09-27 Thread John Meacham
On Mon, Sep 27, 2004 at 11:18:29PM +0200, Wolfgang Jeltsch wrote:
 Hello,
 
 there was some discussion about a Haskell-friendly CPP a while ago.  What 
 happend to this project?  I desperately need such a preprocessor.
 
 CPP 3.3.4, which I use now, is not usable for me because you cannot have such 
 a simple thing like a \\ operator with it.  How do others solve such 
 problems?  I cannot believe that there isn't a better way than living with 
 all those terrible restrictions, using CPP imposes on you.

You just need to ensure that \\ does not appear at the end of a line. so
do things like

infixl 9 \\  -- Hack for CPP

and it should work. 

John

-- 
John Meacham - repetae.netjohn 
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell