home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / CMTCONVR.TXT < prev    next >
Text File  |  1997-07-05  |  1KB  |  24 lines

  1. +++Date last modified: 05-Jul-1997
  2.  
  3. This is the new C++ release of my comment utilities, a C version of which was
  4. already in a previous SNIPPETS release. There is not much documentation -- I
  5. hope the code speaks for itself.
  6.  
  7. The "heart" of the program is implemented as a finite state machine which 
  8. parses the source files and also is an abstract base class for all the 
  9. utilities.
  10.  
  11. There are four utilities:
  12.   CMTCONVR - comment converter: converts C++ comments to C comments.
  13.   CMTCOUNT - comment counter: checks the balance of /* */ and counts
  14.              commented lines.
  15.   CMTREMOV - comment remover: removes comments from a source file
  16.              (output file contains plain code)
  17.   CMTXTRAC - comment extractor: extracts comments from source file
  18.              (output file contains all comments)
  19.  
  20. The package contains also a test file, CMTTESTS.C which has a bunch of
  21. different styles of commenting -- some of which are quite perverse :-)
  22.  
  23.         // Albert                      email: jla@to.icl.fi
  24.