~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


SNOBOL - Wikipedia

<<Up     Contents

SNOBOL

SNOBOL4 (StriNg Oriented symBOlic Language number 4) is the fourth and final incarnation of a series of special purpose programming languages for character string manipulation. These languages were developed between 1962 and 1967 at AT&T Bell Laboratories by David J. Farber[?], Ralph E. Griswold[?] and Ivan P. Polonsky[?].

The SNOBOL4 language supports a number of built-in data types, such as integers and limited precision real numbers, strings, patterns, arrays, and tables[?], and also allows the programmer to define additional data types and new functions. It stands apart from the mainstream programming languages of that time by having patterns as a first-class data type (i.e. a data type whose values can be manipulated in all ways permitted to any other data type in the programming language) and by providing operators for pattern concatenation and alternation. Strings generated during execution can be treated as programs and executed.

A SNOBOL4 pattern can be very simple or extremely complex. A simple pattern is just a text string (e.g. "ABCD"), but a complex pattern may be a large structure describing, for example, the complete grammar of a computer language.

SNOBOL provides the programmer with a rich assortment of features including some rather exotic ones. As a result it is possible to use SNOBOL as if it were an object-oriented language, a logical programming language, a functional language or a standard imperative language by changing the set of features used to write a program.

It is normally implemented as an interpreter because of the difficulty in implementing some of its very high-level features, but there is a compiler, SPITBOL, which provides nearly all the facilities that the interpreter provides.

In the 1970s and 1980s, SNOBOL4 was widely used as a text manipulation language in the humanities. In recent years, its popularity has faded as newer and more efficient languages such as Awk and Perl have made string manipulation by means of regular expressions popular. SNOBOL 4 is now a special interest language used mainly by enthusiasts. The Icon programming language is a descendant of SNOBOL4.

Further Reading

External Links


An earlier version (http://www.nupedia.com/article/210/) of this article was posted on Nupedia.

wikipedia.org dumped 2003-03-17 with terodump




 
 
13 ct pink red gemmy banded RHODOCHROSITE Gorgeous gemstone tongue freeform 14 mm Single gem piece
 13 ct pink red my banded RHODOCHROSITE Gorgeous tongue freeform 14 mm Single piece 
 
7 carat RARE yellow orange CLINOHUMITE gem stone crystal cabbing lapidary cabochon rough 1 gram C
 7 carat RARE yellow orange CLINOHUMITE crystal cabbing lapidary cabochon 1 gram C 
 
14 gram red blue gold PIETERSITE gem stone Tumbled cab cabbing rough raw gemstone 73 carat PRETTY
 14 gram red blue gold PIETERSITE Tumbled cab cabbing raw 73 carat PRETTY 
 
50 cts Neon Blue Green APATITES gem stones Jewelry rough tumbled polished gemstones lots 10 grams
 50 cts Neon Blue Green APATITES Jewelry tumbled polished lots 10 grams 
 
25 carats CHRYSOBERYL gems stones Facet uncut raw rough gemstones crystals lot 1 to 2 ct jewels Nice
 25 carats CHRYSOBERYL uncut raw crystals lot 1 to 2 ct jewels Nice