stripcomments 1.0

Thomas Hallgren [email protected]
Thu, 21 Mar 2002 20:09:25 -0800


Hi,

There now is a program that strips comments and blank lines properly. 
You can get the Haskell source code from:

    http://www.cse.ogi.edu/~hallgren/stripcomments/

How hard it is to do a real job of course depends on what you start 
from. I happened to have a lexer for Haskell, that was really easy to 
reuse for this purpose!

Regards,
Thomas Hallgren

Nicholas Nethercote wrote:

>On Mon, 18 Mar 2002, Kevin Glynn wrote:
>
>> > Are there any programs to strip comments and blank lines from a Haskell
>> > source file, that work on normal and literate programs?
>>
>>Doing a real job is 'hard' 
>>
>I'm surprised there aren't programs out there that do this properly.
>