CHRIS HAY / LANING AND ZIERLER / INTERACTIVE STUDY
A computer withina computer. Written for MIT’s Whirlwind I by J. H. Laning Jr. and N. Zierler. Working by May 1953. Described in January 1954. Running here.
You typed ordinary algebra on a Flexowriter, which punched it on paper tape: y = -6.3a, with a comma at the end of every equation. The tape was translated into Whirlwind’s instructions and run, and the delayed printer typed the answers. Choose a tape from the manual, change it, and feed it. Then try 1976-knuth-tpk , Knuth and Trabb Pardo’s example program in the language, and look at +0 and −0 .
02 / THE TAPE / HOVER OVER ANY CHARACTER
Type x^2 for x², F^2(x) for F²(x), the sine, and x|5 for a superscript variable. A space between two digits multiplies.
The page Translation Trace Cost +0 and −0 Check
Press FEED THE TAPE. The tape is read, translated into blocks of orders on the drum, and run; the printer types what PRINT asks for.
INTERACTIVE STUDY / RUNS IN YOUR BROWSER
Nothing on this page is a recording. The system is a Rust program compiled to WebAssembly for WASI, and each tape is fed in your browser; nothing you type is sent anywhere. It was written from the programmer’s manual, Engineering Memorandum E-364 of January 1954; the translator itself has not been found. The manual’s rules are followed as written, including the slash (a/b/c is ac over b), the space between digits that multiplies, the four parentheses, and eight digits to a printed number. What the manual leaves open is this reconstruction’s choice: the sign of a computed zero, the arrangement of Gill’s method, the function routines, the rounding, and the wording of the post-mortem. The translation’s orders are a small stack code, not Whirlwind’s. Nothing is timed. The manual prints almost none of its programs’ output, so these pages are checked against mathematics, not against Whirlwind: the equations of page 18 against sin and cos, the table of page 11 against cos.
Sources J. H. LANING JR. AND N. ZIERLER, “A PROGRAM FOR TRANSLATION OF MATHEMATICAL EQUATIONS FOR WHIRLWIND I”, ENGINEERING MEMORANDUM E-364, MIT INSTRUMENTATION LABORATORY, JANUARY 1954 PROJECT WHIRLWIND SUMMARY REPORT NO. 37, FIRST QUARTER 1954 “DIGITAL COMPUTERS: ADVANCED CODING TECHNIQUES”, MIT SUMMER SESSION 1954, LECTURE 13 D. E. KNUTH AND L. TRABB PARDO, “THE EARLY DEVELOPMENT OF PROGRAMMING LANGUAGES”, STANFORD, 1976 INTERPRETER GITHUB.COM/CHRISHAYUK/LANING-ZIERLER