The SNOBOL Programming Language
Free
resources updated everyday:
XXXLINKSXX
SNOBOL, which is the acronym for String-Oriented Symbolic Language, was invented in 1962 by Bell Labs. SNOBOL then progressed until it reached it's finally implementation in 1967 called SNOBOL4. SNOBOL4 was implemented using string macros. This realized a virtual machine so that it could be implemented on a variety of different machines.
Significant Language Features
- String Manipulation Operations- has several of these operations which allow a string to be tested for contents and make replacements in the string.
- Pattern Matching- involves examining substrings, for the occurrences of specified substrings. Substrings are also known as patterns.
- Dynamically typed- SNOBOL4 has no type declarations and no restrictions on the data type of the value of any variable.
- Interpretive language - The compiler translates the program into a notation that the interpreter can easily execute.
Areas of Application
SNOBOL4 is use primarly as a research tool rather then for commercial applications.
- Analysis of Literature
- Analysis of Music
- Computer experts using it for database programs.
Sample Program
Source Code: (Hello world!)
OUTPUT = 'Hello World!'
END
This program was complied and tested using Vanilla SNOBOL from Catspaw, Inc.
This program demonstrates the text output function of the SNOBOL4 programming language by displaying the message "Hello world!".
|