词条 | Snostorm |
释义 |
Features addedAdded features include logical operators, control structures including procedures, initialization blocks, enhanced comments, and listing control.[1] The grammar includes these added constructs:[1]
In addition MTS Snostorm provided options for prettyprinting and for debugging with the Spitbol compiler. The syntax of Snostorm is largely insensitive to spaces and newlines, but not entirely so because of its dependence upon SNOBOL4 for execution. ExampleA SNOBOL4 program as given in The SNOBOL4 Programming Language by Griswold, Poage, and Polonsky[2] followed by the same program rewritten in Snostorm.[1] * The original SNOBOL4 program. ... READ OUTPUT = INPUT :F(DISPLAY) TEXT = OUTPUT NEXT TEXT CHAR = :F(READ) COUNT * The same program, rewritten in Snostorm. ... LOOP WHILE TEXT = INPUT OUTPUT = TEXT LOOP WHILE TEXT CHAR = COUNT UseIn addition to its use at the eight to fifteen sites that ran the Michigan Terminal System,[1] a Snostorm3 compiler existed at University College London (UCL) from 1982 to 1984 and worked by compiling Snostorm3 into SNOBOL4, which could then be executed using the SNOBOL4 interpreter or by using a SPITBOL compiler to create an executable.{{citation needed |date=September 2014}} References1. ^1 2 3 4 [https://books.google.com/books?id=WxVXAAAAMAAJ&pg=PA114&lpg=PA114&dq=snostorm+preprocessor&source=bl&ots=H5fdaCJj5n&sig=xvuW41x302-Je8xI1q8SbMSTM4Y&hl=en&sa=X&ei=E4f3U5jaOaLFigLOyYD4DQ&redir_esc=y#v=onepage&q=snostorm%20preprocessor&f=false "SNOSTORM"], MTS Volume 9: SNOBOL4 in MTS, Computing Center, University of Michigan, June 1979, pages 99-120. Retrieved 1 September 2014. 2. ^Griswold, Ralph E., J. F. Poage, and I. P. Polonsky (1968). The SNOBOL4 Programming Language. Englewood Cliffs, NJ: Prentice Hall, {{ISBN|0-13-815373-6}}. External links
3 : Text-oriented programming languages|SNOBOL programming language family|University of Michigan |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。