A MoonBit-native document-to-Markdown converter with multi-format parsing, metadata, assets, batch conversion, and validation tooling
| Format | Current status | Scope |
|---|---|---|
| XLSX | H2++ complete / H3++ evidence-backed | native overlap corpus; lightweight formula evaluator v1, merged-cell boundary, typed cells, sheet state |
| HTML / HTM | H2++ complete / H3++ evidence-backed | lightweight safe parser; no browser-grade parsing, JS, CSS layout, or remote fetch |
| ZIP | H2++ complete / H3++ evidence-backed | safe container conversion; nested dispatch and asset remap; no nested archive recursion |
| EPUB | H2++ complete / H3++ evidence-backed | ZIP + OPF + spine + nav/NCX + XHTML chapters; no DRM/CSS/JS/remote fetch |
| DOCX | H2++ complete / H3++ evidence-backed | Word document structure recovery; not a Word layout engine |
| PPTX | H2++ complete / H3++ evidence-backed | presentation information structure recovery; not a PowerPoint layout engine |
| H2++ complete for native text-PDF scope / H3++ evidence-backed | native text-PDF only; no default OCR/scanned-PDF claim; no full PDF layout engine | |
| CSV / TSV / JSON / YAML / XML / Markdown / TXT | stable structured/text paths | conservative boundaries documented in support docs; not all families are second-round sealed |
| Check | Result |
|---|---|
| moon test | 1295 passed, 0 failed |
| Main process samples | 346 passed, 0 failed |
| Metadata sidecars | 82 passed, 0 failed |
| Asset checks | 42 passed, 0 failed |
| Benchmark smoke | 96 samples, 0 failures |
| Batch profile | 56 runs, 0 failures |
| MarkItDown compare | 94 runs, 0 failures |
moon build --target native./_build/native/debug/build/cli/cli.exe normal <input> [output]./_build/native/debug/build/cli/cli.exe normal --with-metadata <input> <output.md>./_build/native/debug/build/cli/cli.exe batch <input_dir> <output_dir>
./_build/native/debug/build/cli/cli.exe batch --with-metadata <input_dir> <output_dir>./_build/native/debug/build/cli/cli.exe debug --json <input>
./_build/native/debug/build/cli/cli.exe debug --with-ir --with-metadata-summary --with-normalization <input>
./_build/native/debug/build/cli/cli.exe debug <all|extract|raw|pipeline> <input> [output]
./_build/native/debug/build/cli/cli.exe ocr <input> [output]moon run cli -- normal <input> [output]moon build --target native
moon check
moon test
./samples/check.sh
./samples/scripts/bench_smoke.sh --kind smoke./samples/check_main_process.sh
./samples/check_metadata.sh
./samples/check_assets.sh
./samples/scripts/check_cli_contract.sh
./samples/scripts/check_batch_contract.sh
./samples/scripts/check_corpus_manifest.shmoon build --target native
./samples/scripts/bench_smoke.sh --kind smoke
./samples/scripts/bench_compare_markitdown.sh --iterations 1 --warmup 0 --corpus samples/benchmark/compare_corpus.tsv
./samples/scripts/bench_batch_profile.sh --formats xlsx,html,zip,epub,docx,pptx,pdf --counts 1,3 --iterations 1 --warmup 0 --memory autoInstall
Download zipA MoonBit-native document-to-Markdown converter with multi-format parsing, metadata, assets, batch conversion, and validation tooling