{"id":"N-MOUSE","url":"https://chrishayuk.com/notebook/the-port-matched-the-reference-was-wrong","currentVersion":"1.1","publication":"published","scientificStatus":"OPEN","versions":[{"version":"1.0","title":"The port matched. The reference was wrong.","abstract":"A note about finishing a Rust port of Mouse, the language Peter Grogono published in BYTE in July 1979, with a coding agent. The port matched the C interpreter it was checked against. The C carried a misprint from the printed listing and three bugs that a reader, Tom Lane, had described in BYTE in June 1980. The agent guessed the misprint and said it had not checked; it inherited the other three without comment. The corrected interpreter runs in the browser.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-MOUSE/1.0","published":"2026-11-22","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"67535d3a983d1b8d57c277b81a57a7fe9f51943d6d19bd35fc201d5daf8a651e","algorithm":"sha256","revision":{"kind":"initial","summary":"Initial publication of the note on porting Mouse and the misprint Tom Lane caught in 1980, after a fact check against the BYTE scans."},"next":"https://chrishayuk.com/records/N-MOUSE/1.1","sources":[{"title":"Peter Grogono, “Mouse: A Language for Microcomputers”, BYTE, July 1979, pp. 198–220","url":"https://archive.org/details/byte-magazine-1979-07","note":"Listing 6 is on pp. 209, 210 and 212; line 176 on p. 212; Figure 1 on p. 216."},{"title":"Tom Lane, “Comment and Correction for Mouse”, with Peter Grogono’s reply, BYTE, June 1980, pp. 238 and 240","url":"https://archive.org/details/byte-magazine-1980-06"},{"title":"chrishayuk/mouse-interpreter","url":"https://github.com/chrishayuk/mouse-interpreter","note":"The interpreter, its tests, 42 example programs, and reduced scans of both sources."},{"title":"Coding-agent session, 21 November 2026","note":"The agent’s report is quoted as written. The first completed port was rebuilt unchanged from the session transcript to confirm that it prints 33 on Lane’s test."}],"manuscript":"https://chrishayuk.com/api/record/N-MOUSE?version=1.0","citations":"https://chrishayuk.com/api/citations/N-MOUSE?version=1.0"},{"version":"1.1","title":"The port matched. The reference was wrong.","abstract":"A note about finishing a Rust port of Mouse, the language Peter Grogono published in BYTE in July 1979, with a coding agent. The port matched the C interpreter it was checked against. The C carried a misprint from the printed listing and three bugs that a reader, Tom Lane, had described in BYTE in June 1980. The agent guessed the misprint and said it had not checked; it inherited the other three without comment. The corrected interpreter runs in the browser.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-MOUSE/1.1","published":"2026-11-22","revised":"2026-11-22","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"529ce5da8e8f8f920bdc9b89aab6569cf434032d8fecbc2c1ce656907dcb6f8d","algorithm":"sha256","revision":{"kind":"correction","summary":"Two slips in the article's own programs, which an independent review by a second model found: listing 5 fails when given fewer than two numbers, and the array program on page 204 reads one full stop too many and accepts a twenty-sixth number. The examples now keep the printed prompts.","previous":"1.0"},"previous":"https://chrishayuk.com/records/N-MOUSE/1.0","sources":[{"title":"Peter Grogono, “Mouse: A Language for Microcomputers”, BYTE, July 1979, pp. 198–220","url":"https://archive.org/details/byte-magazine-1979-07","note":"Listing 6 is on pp. 209, 210 and 212; line 176 on p. 212; Figure 1 on p. 216."},{"title":"Tom Lane, “Comment and Correction for Mouse”, with Peter Grogono’s reply, BYTE, June 1980, pp. 238 and 240","url":"https://archive.org/details/byte-magazine-1980-06"},{"title":"chrishayuk/mouse-interpreter","url":"https://github.com/chrishayuk/mouse-interpreter","note":"The interpreter, its tests, 42 example programs, and reduced scans of both sources."},{"title":"Coding-agent session, 21 November 2026","note":"The agent’s report is quoted as written. The first completed port was rebuilt unchanged from the session transcript to confirm that it prints 33 on Lane’s test."}],"manuscript":"https://chrishayuk.com/api/record/N-MOUSE?version=1.1","citations":"https://chrishayuk.com/api/citations/N-MOUSE?version=1.1"}]}