snobol assignment for cs410w
root
I'm taking CS410w Programming Languages at una.edu We have an assignment to do in SNOBOL
CS 410 SNOBOL Programming Assignment Due October 9
Write a complete SNOBOL program which will perform the following:
Read from an input file called SNO.IN (once) and echo print with an added line number to an output file called SNO.OUT. Also, display the numbered lines on the screen as well.
Recognize words defined as containing alphabetic, hyphen, and possibly a period.
Create an index of words along with the line numbers in which they appear.
Count and print the number of abbreviations: Mr., Dr., Mrs. and Ms. appear in the file.
Count and print out the number of words containing a hyphen.
Count and print out the number of words which begin with double vowels.
Count and print out the number of sentences. Sentences are defined as sequences of words followed by either a period (With the exception of the previously listed abbreviations), an exclamation point or a question mark..