{"id":"N-GEORGE","url":"https://chrishayuk.com/notebook/a-handwritten-program-from-1958-runs-again","currentVersion":"1.1","publication":"published","scientificStatus":"OPEN","versions":[{"version":"1.0","title":"A handwritten program from 1958 runs again, to the last binary digit.","abstract":"A working note about rebuilding GEORGE, the General Order Generator that Charles Hamblin wrote for the English Electric DEUCE in 1957–58, from the three documents that survive: the programming manual, 52 pages of flow diagrams and 22 coding sheets. GEORGE programs are reverse Polish, with no addresses, run on a running accumulator of twelve cells. An interpreter built from the manual runs the manual’s programs, and Example 3 punches a quarter of what Simpson’s rule gives, because its coefficients are for the wrong step. Then the coding sheets, transcribed, were run as a deck of cards on a simulated DEUCE. Hamblin’s own translator runs the manual’s programs, and tracing his routines one instruction at a time brought the interpreter to the same 32-digit words as his code, for every one of 5,000 random programs. On the way it found four places where a sheet contradicts its flow diagram, and arithmetic in this version that is not what the manual says: an addition that drops a binary digit, and a multiplication that can lose the sign.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-GEORGE/1.0","published":"2026-11-23","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"73a8b359f81671a9307ec33046b01a4d42b58980381d05c3589599251a1b3069","algorithm":"sha256","revision":{"kind":"initial","summary":"First publication: GEORGE rebuilt from Hamblin's 1958 manual, Example 3's factor-of-four erratum, and his own GEORGE IA transcribed from 22 coding sheets and run on a simulated DEUCE, agreeing with the interpreter word for word, with the four sheet/flow-diagram contradictions and the limits of a reading by coding agents"},"next":"https://chrishayuk.com/records/N-GEORGE/1.1","sources":[{"title":"C. L. Hamblin, “GEORGE IA and II: A semi-translation programming scheme for DEUCE. Programming and Operation Manual”, University of New South Wales, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEProgrammingManual.pdf","note":"23 pages, typed. The running accumulator is on printed p. 2 (PDF p. 5); the comma on p. 4 (PDF p. 7); Example 3 on pp. 7-8 (PDF pp. 10-11); the twelve cells on p. 10 (PDF p. 13); the coding table, Appendix I, on p. 18 (PDF p. 21)."},{"title":"“GEORGE flow diagrams”, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEFlowCharts.pdf","note":"52 pages, handwritten DEUCE instruction listings. Relations and logic on p. 22; ] on p. 23; skips on p. 25; rep on pp. 26-27; sin and cos on p. 38."},{"title":"“UTECOM Programme GEORGE”, coding sheets, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEProgramCode.pdf","note":"22 pages, handwritten DEUCE instructions. The sin and cos coefficients are on sheet 21, DL8, track 15/13."},{"title":"David Green’s DEUCE archive, section GEORGE","url":"https://www.uraone.com/computers/deuce/deucdocs.html","note":"Scanned from the UTECOM originals and supplied by Robin Vowels. Downloaded on 22 November 2026."},{"title":"English Electric, “DEUCE Programming Manual”, May 1956; “DEUCE Logical Design Manual, Part I”, NS-y-37/11-57","url":"https://www.uraone.com/computers/deuce/deucdocs.html","note":"The simulator’s sources. The multiplier is chapter 10 of the Logical Design Manual."},{"title":"chrishayuk/george","url":"https://github.com/chrishayuk/george","note":"The interpreter, the DEUCE simulator, the transcription of the coding sheets, the word-for-word tests against Hamblin’s code, 16 example programs, a tutorial, a language server, the errata, the decisions, the reading notes and an independent review."},{"title":"Coding-agent sessions, November 2026","note":"The interpreter, the simulator, the reading of the flow diagrams and the transcription of the coding sheets were made in these sessions. The interpreter’s results can be rerun on the interactive study; those of Hamblin’s code with george deuce george."}],"manuscript":"https://chrishayuk.com/api/record/N-GEORGE?version=1.0","citations":"https://chrishayuk.com/api/citations/N-GEORGE?version=1.0"},{"version":"1.1","title":"A handwritten program from 1958 runs again, to the last binary digit.","abstract":"A working note about rebuilding GEORGE, the General Order Generator that Charles Hamblin wrote for the English Electric DEUCE in 1957–58, from the three documents that survive: the programming manual, 52 pages of flow diagrams and 22 coding sheets. GEORGE programs are reverse Polish, with no addresses, run on a running accumulator of twelve cells. An interpreter built from the manual runs the manual’s programs, and Example 3 punches a quarter of what Simpson’s rule gives, because its coefficients are for the wrong step. Then the coding sheets, transcribed, were run as a deck of cards on a simulated DEUCE. Hamblin’s own translator runs the manual’s programs, and tracing his routines one instruction at a time brought the interpreter to the same 32-digit words as his code: of 5,000 random programs, 4,993 run the same both ways in every respect, and the other 7 differ on purpose, where the manual says something his code does not do. On the way it found four places where a sheet contradicts its flow diagram, and arithmetic in this version that is not what the manual says: an addition that drops a binary digit, and a multiplication that can lose the sign.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-GEORGE/1.1","published":"2026-11-23","revised":"2026-11-23","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"aa970f7647d728186ef3c8dcd072a505dc087ba4664e3c10e4cf98e344a03716","algorithm":"sha256","revision":{"kind":"correction","summary":"After a second independent review: the random-program comparison now checks the stop each run ends on, and gives 4,993 of 5,000 the same, not 5,000 of 5,000; 0 ÷ 0 now stops as the manual says; the cases where the interpreter follows the manual over Hamblin's code are five, not two; and 'word for word' is said to mean agreement with the simulated, corrected sheets","previous":"1.0"},"previous":"https://chrishayuk.com/records/N-GEORGE/1.0","sources":[{"title":"C. L. Hamblin, “GEORGE IA and II: A semi-translation programming scheme for DEUCE. Programming and Operation Manual”, University of New South Wales, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEProgrammingManual.pdf","note":"23 pages, typed. The running accumulator is on printed p. 2 (PDF p. 5); the comma on p. 4 (PDF p. 7); Example 3 on pp. 7-8 (PDF pp. 10-11); the twelve cells on p. 10 (PDF p. 13); the coding table, Appendix I, on p. 18 (PDF p. 21)."},{"title":"“GEORGE flow diagrams”, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEFlowCharts.pdf","note":"52 pages, handwritten DEUCE instruction listings. Relations and logic on p. 22; ] on p. 23; skips on p. 25; rep on pp. 26-27; sin and cos on p. 38."},{"title":"“UTECOM Programme GEORGE”, coding sheets, c. 1958","url":"http://uraone.com/computers/deuce/GEORGEProgramCode.pdf","note":"22 pages, handwritten DEUCE instructions. The sin and cos coefficients are on sheet 21, DL8, track 15/13."},{"title":"David Green’s DEUCE archive, section GEORGE","url":"https://www.uraone.com/computers/deuce/deucdocs.html","note":"Scanned from the UTECOM originals and supplied by Robin Vowels. Downloaded on 22 November 2026."},{"title":"English Electric, “DEUCE Programming Manual”, May 1956; “DEUCE Logical Design Manual, Part I”, NS-y-37/11-57","url":"https://www.uraone.com/computers/deuce/deucdocs.html","note":"The simulator’s sources. The multiplier is chapter 10 of the Logical Design Manual."},{"title":"chrishayuk/george","url":"https://github.com/chrishayuk/george","note":"The interpreter, the DEUCE simulator, the transcription of the coding sheets, the word-for-word tests against Hamblin’s code, 16 example programs, a tutorial, a language server, the errata, the decisions, the reading notes and an independent review."},{"title":"Coding-agent sessions, November 2026","note":"The interpreter, the simulator, the reading of the flow diagrams and the transcription of the coding sheets were made in these sessions. The interpreter’s results can be rerun on the interactive study; those of Hamblin’s code with george deuce george."}],"manuscript":"https://chrishayuk.com/api/record/N-GEORGE?version=1.1","citations":"https://chrishayuk.com/api/citations/N-GEORGE?version=1.1"}]}