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
/
packs
/
tcll1
/
semout.icn
< prev
next >
Wrap
Text File
|
2000-07-29
|
450b
|
26 lines
# Routines to test grammars passed through the TCLL1
# parser generator.
# Link this with parseLL1 and it will write out the tokens
# and action symbols recognized by the parser.
# (written by Dr. Thomas W. Christopher)
#
procedure outToken(tok)
write(tok.type," ",tok.line," ",tok.column," ",tok.body)
return
end
procedure outAction(a)
write(a)
return
end
procedure outError(t)
write("ERROR: ",t)
return
end
procedure initSemantics()
return
end