Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon


< >

SNOBOL is a programming language created in 1962 by David J. Farber and Ralph E. Griswold.

#603on PLDB 62Years Old

Try now: Riju

SNOBOL (StriNg Oriented and symBOlic Language) is a series of computer programming languages developed between 1962 and 1967 at AT&T Bell Laboratories by David J. Farber, Ralph E. Griswold and Ivan P. Read more on Wikipedia...

Example from Riju:
OUTPUT = "Hello, world!" END
Example from hello-world:
OUTPUT = "Hello World" END
* Hello World in Snobol OUTPUT = "Hello World!"
Example from Wikipedia:
OUTPUT = "This program will ask you for personal names" OUTPUT = "until you press return without giving it one" NameCount = 0 :(GETINPUT) AGAIN NameCount = NameCount + 1 OUTPUT = "Name " NameCount ": " PersonalName GETINPUT OUTPUT = "Please give me name " NameCount + 1 PersonalName = INPUT PersonalName LEN(1) :S(AGAIN) OUTPUT = "Finished. " NameCount " names requested." END

Language features

Feature Supported Token Example
Strings "
"Hello world"
Print() Debugging OUTPUT
* A comment
Line Comments *
* A comment
Semantic Indentation X

View source

- Build the next great programming language · About · Acknowledgements · Published by Breck's Lab