This programming language may be used to instruct a computer to perform a task.
SNOBOL4 (StriNg Oriented and symBOlic Language) is a language for text processing, pattern matching, and much more, first designed and implemented at Bell Telephone Laboratories, Inc. (BTL) in the 1970's.
SNOBOL4, while known primarily as a string language excels at any task involving symbolic manipulations. It provides run time typing, garbage collection, user data types, on the fly compilation. The language has a simple and highly orthogonal syntax, making it easy to learn.
A later implementation, developed by Robert B. K. Dewar and called "SPITBOL", added several major enhancements to the language, which include providing several structured programming type concepts but without requiring traditional keywords. These so-called "SPITBOL extensions" have since been retrofitted into most modern implementations of SNOBOL4 as well.
The use of the code() built-in function (which takes source code as input and returns executable code) combined with user-defined datatypes (implemented using the data() built-in function), provides the ability to rather easily implement many object-oriented techniques, including what are essentially constructors and methods (although this terminology evolved after SNOBOL4 and SPITBOL).
CSnobol4 sources and Win32 binary
Above also included in Rafal M. Sulejman's TkS*LIDE SNOBOL4 IDE
This category has the following 3 subcategories, out of 3 total.
Pages in category "SNOBOL4"
The following 130 pages are in this category, out of 130 total.
- Shell one-liner
- Short-circuit evaluation
- Sieve of Eratosthenes
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Insertion sort
- Split a character string based on change of character
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length
- String matching
- String prepend
- Strip a set of characters from a string
- Strip block comments
- Strip whitespace from a string/Top and tail
- Substring/Top and tail
- Sum and product of an array
- Sum of squares
- Sum of the digits of n is substring of n
- System time