Stripping Haskell comments
Kevin Glynn
glynn@info.ucl.ac.be
Mon, 18 Mar 2002 15:08:57 +0100
Doing a real job is 'hard' (e.g. nested block comments, -- may
actually start a lexeme ...)
For a simple job that does well usually see
fptools/ghc/compiler/count_lines
in the ghc distribution.
cheers
k
Nicholas Nethercote writes:
> Hi,
>
> Are there any programs to strip comments and blank lines from a Haskell
> source file, that work on normal and literate programs?
>
> Thanks.
> --
> Nick Nethercote
> njn25@cam.ac.uk
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>