home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
historic
/
v941.tgz
/
icon.v941src.tar
/
icon.v941src
/
ipl
/
progs
/
procwrap.icn
< prev
next >
Wrap
Text File
|
2000-07-29
|
860b
|
37 lines
############################################################################
#
# File: procwrap.icn
#
# Subject: Program to produce Icon procedure wrappers
#
# Author: Ralph E. Griswold
#
# Date: September 29, 1994
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# This little program takes procedure names from standard input and
# writes minimal procedure declarations for them. For example, the
# input line
#
# wrapper
#
# produces
#
# procedure wrapper()
# end
#
# This program is useful when you have a lot of procedures to write.
#
############################################################################
procedure main()
while write("procedure ", read(), "()\nend\n")
end