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 > [EMAIL PROTECTED] > > _______________________________________________ > Haskell-Cafe mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
