Projects / StripCmt

StripCmt

StripCmt is a simple little filter for removing comments from C, C++, and Java source code. It can function as a FIFO filter or work as a normal commandline utility. It's written in C.

Tags
Licenses

Recent releases

  •  17 Aug 2000 02:02

    Release Notes: A parse bug that would print two asterisks if one was found inside a quoted string was fixed.

    •  18 Mar 2000 01:23

      Release Notes: A fix for a very bad parser bug.

      •  12 Sep 1999 11:36

        Release Notes: Rewrote the parser and fixed a few very bad bugs in the process. Anyone who actually uses StripCmt now (all 2 of you) should immediately upgrade if you haven't done so.

        Recent comments

        18 Apr 2002 16:19 lucasgonze

        Re: Why?

        > Is there any reason to remove comments
        > from a source
        > code of a compiled language?


        Personally I stumbled on stripcmt just now while I was looking for something just like it. I have a bunch of C++ that is a mix of ascii and wide (japanese) characters. The wide chars are killing the C++ lexer, but luckily they're all in the comments, so...

        Just goes to show there's a use for every obscure thing in the universe.

        17 Aug 2000 02:15 stesch

        Why?
        Is there any reason to remove comments from a source
        code of a compiled language?

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.