June 10, 1988; Ralph E. Griswold
This file is in the public domain.
This progam reads an Icon program and writes each procedure to
a separate file. The output file names consist of the procedure
name with .icn appended. If the -g option is specified, any glo-
bal, link, and record declarations are written to that file. Oth-
erwise they are written in the file for the procedure that
immediately follows them.
Comments and white space between declarations are attached to
the next following declaration.
Notes:
The program only recognizes declarations that start at the
beginning of lines. Comments and interline white space between
declarations may not come out as intended.
If the -g option is not specified, any global, link, or record
declarations that follow the last procedure are discarded.
Source code |
Program Library Page |
Icon Home Page