PRINT, BCD and expanded oracle validation, 20 November 2026¶
Historical record of the preceding fidelity-bcd milestone. The subsequent
word-machine validation supersedes its open
numerical, physical-addressing and SAP/BSS status; earlier review evidence is
retained below.
Completed three items: PRINT column/basic carriage behaviour, original-compiler corpus expansion, and actual Hollerith BCD storage. Full numerical compatibility is not claimed.
446 local checks pass. A mechanical audit confirms 83 changed local PRINT goldens differ only by the added first blank. The two exceptions are
holarr.out(packed BCD gives 294.6) andtape.out(X control emits FF). FORTRAN 0’s sharedparenexpectation was split; its output did not change.Kernel smoke checks, 22 VS Code tests and the FORTRAN collection’s Sphinx
-Wbuild pass.Focused ASan/UBSan runs pass for carriage, scalar/array BCD and a 120-character literal with 20 payload words plus its terminator.
18 oracle harness checks pass. The 13 original-compiler decks produce 24 dialect comparisons: 17 exact, seven fingerprinted numerical differences. Strict mode fails those seven. No PRINT-column allowance remains.
The new carriage case matches Sim704 with every LF/FF/VT and blank record preserved. Physical carriage tape configuration remains out of scope.
The native Hollerith memory examine verifies 11 words including multiword payload, padding and all-ones terminators. Local tests cover integer binary transport, numeric overwrite, unsupported characters and undefined extra array cells. Scalar literals longer than six characters are now accepted.
Both the original MatInv and our independent inversion reproduce all 25 CHM scan values in Sim704. Native i704 differs in 24/25 values. Its source and binary are unchanged; the cause of the full discrepancy is not established.
Nine corpus cases agree between emulators in nonblank lines; four new cases explicitly differ. Those raw negative results remain in the manifests.
The new numerical discrepancies cover high-precision decimal output/zero rendering, underflow, library results, accumulated matrix error and E output of an unnormalised BCD word. Exact local-output fingerprints record their present state without using a tolerance. These are unfinished compatibility items, not seven passing comparisons.
The Hollerith array view remains a local linear-storage extension. Original FORTRAN array indexing does not follow a literal’s ascending physical words; physical addressing, static literal mutation and BSS/SAP calls remain future work. Basic word packing is independently validated without making that claim.
References and reproduction: oracle README, corpus manifest, CHM manifest, and the CHM scan, page 5. Historical sources, compiler listings for historical decks and manuals stay outside the repository.
Independent review¶
Fable 5.2 reviewed the supplied evidence packet, and Codex reviewed the runtime. Direct original captures and sanitizer checks supplemented those two reviews.
Fable’s findings were reconciled as follows:
append_outenforces 120 characters including the control column beforecarriageis called. Added regressions accept 120 and reject 121; no truncating bound was added to mask an overlong record.Audited all changed local goldens mechanically: 83 exact column additions, with only the two named intentional exceptions above.
FORTRAN 0 list output cannot mix with formatted PRINT. PUNCH flushes the buffer. Diagnostics are on stderr; their order relative to stdout is not printer semantics. The batch printer’s delayed visibility before an interactive READ is now explicit in the dialect notes.
read_cellalready checksc->modebefore the raw-word branch. Direct integer field access outside that branch consists of stores; those stores clearraw_ok. Numeric overwrite is covered byholwords.A final all-blank record contains no pending ink. A separate original run of
printblank.freturned exactlyABCplus CR/LF, confirming the local fixture. The additional capture is retained outside the repository.Nonstandard control characters and nonconfigured channels are explicitly labelled unvalidated host-text mappings; arbitrary carriage-tape geometry is not claimed.
BCD bit evidence is the original’s native memory examine and the local packing unit checks against independently transcribed octal constants. End-to-end binary I/O is checked through decimal output. Only the padded-G line differs in the five-line Hollerith oracle; we do not infer general word-level equality from rounded decimal output.
Native memory consoles are now mandatory checksummed artifacts. Historical manifests no longer copy current numerical-allowance policy. Renamed the former rejection fixture to
holscalar.fnow that long scalar literals are accepted. The integer transport case is the oracle’sIWORDcall.
Codex raised trailing PRINT blanks being omitted. This is intentional and
already documented: Sim704 trims the physical line after its last ink. A
separate original run of FORMAT(1H ,3HAB ) produced exactly AB plus
CR/LF, confirming that choice (capture retained outside the repository). No runtime change was needed for that finding.
A staged index export builds and passes the offline target without reading historical assets. All committed raw printer bytes and capture-script hashes survive checkout. Both final capture manifests match the captured scripts.
The seven numerical differences remain prioritised work, tracked separately from the completed corpus expansion. Current priorities are in the roadmap.