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 / TXT | stable structured/text paths | conservative boundaries documented in support docs; Markdown is handled separately as a lightweight scanner candidate |
| XML | source-preserving converter path + parser foundation candidate | source-preserving converter output today; doc_parse/xml is now an XML parser foundation candidate |
| Format / case | markitdown-mb | Microsoft MarkItDown 0.1.5 | Ratio |
|---|---|---|---|
| XLSX formula cached values | 10 ms | 425 ms | ~42x |
| DOCX nested lists mixed | 13 ms | 471 ms | ~36x |
| PPTX title bullets | 12 ms | 476 ms | ~40x |
| PDF URI link basic | 10 ms | 426 ms | ~43x |
| HTML figure + figcaption image | 10 ms | 442 ms | ~44x |
| EPUB nav TOC basic | 12 ms | 448 ms | ~37x |
moon build --target native./_build/native/release/build/cli/cli.exe normal <input> [output]./_build/native/release/build/cli/cli.exe normal --with-metadata <input> <output.md>
./_build/native/release/build/cli/cli.exe batch <input_dir> <output_dir>
./_build/native/release/build/cli/cli.exe debug --json <input>
./_build/native/release/build/cli/cli.exe ocr <input> [output]moon fmt
moon info
moon check
moon test
./samples/check.sh
./samples/bench.sh --suite smoke --kind smoke./samples/bench.sh --suite doc-parse --kind library --iterations 10 --warmup 2
./samples/bench.sh --suite product-path --kind stage --iterations 10 --warmup 2
./samples/bench.sh --suite cold-start --kind cli --iterations 50 --warmup 5Install
Download zipA MoonBit-native document-to-Markdown converter with multi-format parsing, metadata, assets, batch conversion, and validation tooling