Delila Program: nocomequal

nocomequal program

Documentation for the nocomequal program is below, with links to related programs in the "see also" section.

{   version = 1.24; (* of nocomequal.p 2016 Jul 15}

(* begin module describe.nocomequal *)

   nocomequal: remove comments from a program

   nocomequal(input: stdin; output: out)


   input:  a Pascal or Delila program with comments.

   output: the same program with the contents of the comments removed


   This program removes comments from a Delila or Pascal source code so that
   one can, for example, compare two outputs of dbinst.  It can also be used
   to remove comments to allow one to count the number of Delila 'get'

   Note:  Generally it is a bad idea to permanently remove comments from
   a program!

see also

   Description of what stdin means:

   Programs mentioned in the description above:

   Other comment manipulation programs:

   nocomequal removes extra lines in the code.  To keep extra lines,
   is mknocomequalequal  which generates the nocomequal.p program.


   Thomas Dana Schneider


technical notes

   Some programs have comment starts inside quotes.  nocomequal
   is now smart enough to avoid changing these.

   In an earlier version of the progrm (before 2012 Nov 14) the
   comments were left as 'nibbons' that have no contents.  This allowed
   one to see exactly where the comments were.  One can remove these
   using Unix sed:

   set asterisk = '*'
   nocomequal < commented.p |\
   sed -e 's/{}//g' | \
   sed -e "s/(\$asterisk\$asterisk)//g" | \
   cat > commentless.p

   Since most of the time one doesn't want the extra empty, the
   program was changed to remove the nibbons.

(* end module describe.nocomequal *)
{This manual page was created by makman 1.45}

{created by htmlink 1.62}
U.S. Department of Health and Human Services  |  National Institutes of Health  |  National Cancer Institute  |  | 
Policies  |  Viewing Files  |  Accessibility  |  FOIA