Snostorm
≈ 2 min read
Names in other languages
- DeutschSnostorm
- EnglishSnostorm
- EspañolSnostorm
- FrançaisSnostorm
- ItalianoSnostorm
- NederlandsSnostorm
- PortuguêsSnostorm
- RomânăSnostorm
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Snostorm (Snostorm3) is a version of the SNOBOL4 language with structured programming constructs added. It compensates for the near absence of structured programming constructs in SNOBOL4 by providing IF, ELSEIF, ELSE, LOOP, CASE, and PROCEDURE statements, among others. It was originally designed and implemented by Fred G. Swartz as a preprocessor for SPITBOL running under the Michigan Terminal System (MTS) at the University of Michigan Computing Center during the 1970s.
Snostorm (Snostorm3) is a version of the SNOBOL4 language with structured programming constructs added. It compensates for the near absence of structured programming constructs in SNOBOL4 by providing IF, ELSEIF, ELSE, LOOP, CASE, and PROCEDURE statements, among others. It was originally designed and implemented by Fred G. Swartz as a preprocessor for SPITBOL running under the Michigan Terminal System (MTS) at the University of Michigan Computing Center during the 1970s. ... READ OUTPUT = INPUT :F(DISPLAY) TEXT = OUTPUT NEXT TEXT CHAR = :F(READ) COUNT = COUNT + 1 :(NEXT) DISPLAY OUTPUT = LOOP LETTERS CHAR = :F(END) OUTPUT = NE(COUNT ) CH ' OCCURS ' COUNT ' TIMES' + :(LOOP) END The same program, rewritten in Snostorm. ... LOOP WHILE TEXT = INPUT OUTPUT = TEXT LOOP WHILE TEXT CHAR = COUNT = COUNT + 1 ENDLOOP ENDLOOP OUTPUT = LOOP WHILE LETTERS CHAR = IF NE(COUNT ) OUTPUT = CH ’ OCCURS ’ COUNT ’ TIMES’ ENDIF ENDLOOP END MTS source and object code for the Snostorm preprocessor, component 678 in MTS Distribution 6.0, April 1988, available from Bitsavers and the U-M's Deep Blue digital archive.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1355166489 under CC BY-SA 4.0; modifications have been made.