From 3ce342f3644d86d68870da9d4a636b6cac6010d6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Sep 2026 20:04:55 -0400 Subject: Gleam: ocda-read, byte for byte the D reader's ocda-lib read, installed also as ocda-read: the modes the Gleam readers had (the summary, --tree/--outline, --languages, --files, --report-unknown), over the library, in src/read/, which is where Gleam must put it. A D-only mode asked of it says so. Its output is the D ocda-read's. For that the D reader's closing hint no longer lists its modes, which this one has fewer of: both say that --help lists them. Checked over the document sample set, on the .ssp and the .ocda.db: D == Gleam byte for byte in all five modes, 36 of 36. And the same from the .ssp, the .ocda.db and the .zip (a .sisupod unwrapped, the Gleam library having no zstd): the summary, --tree and --report-unknown 36 of 36; --languages of a database == of its pod 27 of 27, and of a single-language .ssp == its database; --files answers for a database and says why not for the others, in the same words in both languages. (assisted by Claude-Code) --- dlang/src/read/main.d | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dlang/src') diff --git a/dlang/src/read/main.d b/dlang/src/read/main.d index 7128b4c..4cca541 100644 --- a/dlang/src/read/main.d +++ b/dlang/src/read/main.d @@ -190,9 +190,7 @@ int main(string[] args) { if (!do_tree && !do_html && !do_llm_text && !do_llm_jsonl && !do_images && !do_verify && !do_report_unknown && !do_validate && !do_languages && !do_files) { - writeln("\nUse --tree, --html, --llm-text, --llm-jsonl, --images," - ~ " --verify --image-dir=, --languages, --files," - ~ " --report-unknown or --validate to produce output."); + writeln("\n(this is the summary: --help lists the modes, each adding its output)"); } return (_verify_failures > 0 || _validation_findings > 0) ? 1 : 0; -- cgit v1.2.3