mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
internal/aol/fdo reads and writes the atom streams AOL 3.0/4.0 clients and hosts exchange (all eight encoding styles, large atoms split across packets), compiles FDO91 source byte for byte as Ada32.dll does, and decompiles streams to source that compiles back to the same bytes. The atom table is ADA.BIN's, as AtomForge dumped it (MIT), generated by go run ./internal/aol/fdo/gen; eleven AOL 4.0 atoms it lacks come from the corpus. Named values are from the FDO91 manual and AtomForge. Checked against AtomForge's corpus of Ada32's output: all 1,889 forms, 74,369 single atoms and 62 more streams (44 captured from a live client) compile to the same bytes and round-trip. testdata keeps 93 forms and the live captures; FDO_CORPUS points the tests at the whole corpus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRm1WrfJdB863kw36V
390 B
390 B
From AtomForge's test corpus (atomforge-fdo-java, src/test/resources; Copyright AtomForge Contributors, MIT License: ../LICENSE.atomforge):
- golden: 93 of its golden files, FDO91 source (.txt) and the atom stream Ada32.dll compiled it to (.bin), picked to have as many different atoms as they can.
- livecapture: its 44 streams captured from a live AOL client, as source and bytes.