stripcomments 1.0

Thomas Hallgren
Thu, 21 Mar 2002 20:09:25 -0800


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

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!

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.