home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
OL.LZH
/
PROCS.LZH
/
RECOG.ICN
< prev
next >
Wrap
Text File
|
1991-09-05
|
770b
|
31 lines
############################################################################
#
# Name: recog.icn
#
# Title: Main procedure for recognition
#
# Author: Ralph E. Griswold
#
# Date: September 2, 1991
#
############################################################################
#
# This procedure serves as a main procedure for the output of
# recognizers.
#
############################################################################
#
# See also: pargen.icn
#
############################################################################
procedure main()
init()
while line := read() do {
writes(image(line))
if line ? (goal() & pos(0)) then
write(": accepted")
else write(": rejected")
}
end