SNOBOL is a historical programming language created in 1962.

57Years Old 1,985Users 0Jobs

Example code from the Hello World Collection:

* Hello World in Snobol

        OUTPUT = "Hello World!"

Example code 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
Edit

Last updated February 11th, 2019