A MoonBit-native document-to-Markdown converter with multi-format parsing, metadata, assets, batch conversion, and validation tooling
InputSource
-> FormatDetector
-> ParserRegistry
-> ParseResult
-> runtime / IRInput lowering
-> pipeline passes
-> RenderInput
-> Renderer
-> Markdown / debug JSON| Format | CLI speedup vs markitdown |
|---|---|
| docx | 88.09x |
| xlsx | 30.75x |
| epub | 18.07x |
| 30.60x |
moon build cli --target native./_build/native/debug/build/cli/cli.exe --help./_build/native/debug/build/cli/cli.exe normal samples/main_process/txt/markdown/txt_plain.txt .tmp/manual/out.md./_build/native/debug/build/cli/cli.exe normal samples/main_process/pdf/markdown/root_native_text_baseline.pdf .tmp/manual/pdf.mdbrew install tesseract
brew install tesseract-langmoon fmt
moon info
moon check
moon build
moon test
bash samples/check.sh
bash samples/check.sh --check-inventory
bash samples/helpers/contracts/check_root_contracts.shbash samples/check_quality.sh
bash samples/check_quality.sh --format pdfmoon build --target native --release --package ZSeanYves/markitdown/cli
moon build --target native --release --package ZSeanYves/markitdown/bench/runner
_build/native/release/build/bench/runner/runner.exe doctor
_build/native/release/build/bench/runner/runner.exe run --preset official-internal
_build/native/release/build/bench/runner/runner.exe run --preset official-compare --markitdown-path /path/to/markitdown
_build/native/release/build/bench/runner/runner.exe run --scenario compare.official_compare --bench-id docx_medium_golden_v1 --markitdown-path /path/to/markitdown
_build/native/release/build/bench/runner/runner.exe run --scenario compare.official_compare --bench-id xlsx_medium_regional_1971_2020_v1 --markitdown-path /path/to/markitdown
_build/native/release/build/bench/runner/runner.exe run --scenario compare.official_compare --bench-id epub_medium_alice_v1,pdf_medium_nist_800_207_v1 --markitdown-path /path/to/markitdown
_build/native/release/build/bench/runner/runner.exe run --scenario compare.official_compare --bench-id json_medium_spdx_licenses_v1 --markitdown-path /path/to/markitdown| Package | Role |
|---|---|
| cli | main product command-line entrypoint |
| input | input loading plus format detection |
| parser | ParserMode, ParseContext, ParserRegistry, ParseResult |
| format_readers | low-level reader foundations that do not render Markdown |
| formats | registry-facing parser layer for product formats |
| container | shared container policy strings and path-safety helpers |
| runtime | parse-result lowering and child-dispatch helpers |
| pipeline | CoreIRBuilder and IR pass pipeline |
| render | Renderer implementations such as Markdown and debug JSON |
| convert | top-level conversion orchestration |
| core | canonical Core IR, diagnostics, source refs, and assets |
Install
Download zipA MoonBit-native document-to-Markdown converter with multi-format parsing, metadata, assets, batch conversion, and validation tooling