home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progpas
/
epb15.arj
/
POSTER
< prev
Wrap
Text File
|
1991-11-08
|
3KB
|
61 lines
>>>file/ibm_pc_b 2071 ibmbin-request@crdgw1.crd.ge.com(22742)7Nov91 09:06
TITLE: v15i142: epb15, Pascal source beautifier (part 01/01)
+Message-ID : <5287@sixhub.UUCP>
+From : ibmbin-request@crdgw1.crd.ge.com
Checksum: 4108640683 (Verify with "brik -cv")
X-Submissions-to: ibmbin@crdgw1.crd.ge.com
X-Questions-to: ibmbin-request@crdgw1.crd.ge.com
Posting-number: Volume 15, Issue 142
Submitted-by: edlee@chinet.chi.il.us (Ed Lee)
Archive-name: epb15/part01
EPB (Ed's Pascal Beautifier) is a beautifier for Pascal which will
reformat a source into Ed's idea of a beautiful program. Source
included.
________________________________________________________________
Submission comments:
EPB v1.5 is a Turbo Pascal v4.0 source file beautifier that requires
about 150 KB of free memory to run. EPB filters Pascal source code so
that it looks more like Modula source code. EPB also performs partial
indenting around certain pascal tokens such as the comma, assignment
operator, and parentheses based on rules that I will not elaborate
here. These are obligatory features of the program, and there are some
optional features as well. EPB can filter out comments from a source
file; set all variable, constant, and label identifiers to lower case;
or perform a search and replace while ignoring comments and quotes (a
feature that is useful for globally renaming variables).
EPB is flexible in its input and output. Input can come from the
standard input stream or a disk file and output can go to to the
standard output stream or a disk file. When no extension is specified
for a filename, ".PAS" is assumed to be the file's extension unless the
filename ends with a period, such as, "JUSTTHIS.". If the same name is
specified for both the input and output files, EPB physically renames
the input file so that its extension is ".BAK".
One of the simplest ways to invoke EPB from a command line is to type
the following:
EPB filename
where the filename is the name of a Pascal source file. In this case,
the filename is interpreted by EPB to be the name of both the input and
output files. You can type EPB on the command line by itself to make a
help screen appear.
DISCLAIMER: Use EPB at your own risk. The author will not be liable
for any damages that result from the use or misuse of EPB. The EPB
program and this documentation are copyright 1991 by Edward Lee, all
rights reserved.
-Ed L
edlee@chinet.chi.il.us