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
/
gener.icn
< prev
next >
Wrap
Text File
|
2000-07-29
|
995b
|
40 lines
############################################################################
#
# File: gener.icn
#
# Subject: Program to generate sequence from Icon expression
#
# Author: Ralph E. Griswold
#
# Date: January 21, 1999
#
############################################################################
#
# This file is in the public domain.
#
############################################################################
#
# This program takes an Icon expression is given on the command line, and
# writes its results to standard output. Watch for syntactic problems.
#
############################################################################
#
# Requires: system(), pipes
#
############################################################################
#
# Links: exprfile
#
############################################################################
link exprfile
procedure main(args)
local input
input := exprfile(args[1], "seqfncs")
while write(read(input))
end