Repository navigation
mcpplibs.mwrap.md4c 0.5.3: MD4C as C++23 modules (md4c-m) - #578
Merged
Merged
Conversation
… as C++23 modules) Descriptor pkgs/mwrap/md4c.lua (form A, the immutable mwrap-0.5.3 release asset), consumer tests/mwrap/md4c-render (parse with callbacks, render GFM HTML), the installed-template check in validate.yml, and the plan.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the mwrap identity
mcpplibs.mwrap.md4c0.5.3 from mcpplibs/md4c-m (releasemwrap-0.5.3).Form: A, an external mwrap module repo. The parser is
compat.md4c0.5.3. Upstream's second library, md4c-html, is vendored byte for byte by the wrapper, so nothing is linked twice.Modules:
mcpplibs.mwrap.md4c: all of<md4c.h>;.html:md_html;.macros: the 23 flag macros as constexpr.An export audit checks the modules against both headers.
md4c-m CI (all required): Linux GCC 16.1 and LLVM 23.1.3, macOS LLVM, Windows LLVM. It runs gtest suites, the export audit, and upstream's own
run-testsuite.pyover all 11 suites (808 examples, CommonMark 0.31.2 at 652/652). A separate job scaffolds the template as an installed package.Here, with mcpp 2026.10.26.1 and GLOBAL:
tests/run_members.sh md4c-render→test result ok;check_installed_template.py --package mcpplibs.mwrap.md4c@0.5.3→ "Verified real indexed archive installation and unmodified template consumer";mcpp xpkg parseand the Lua lint checks pass.Mirror: GitHub URL only (no
mcpp-resaccess); a maintainer can add the GitCode mirror with identical bytes.Autoupdate: follows the
mwrap-${version}tags.Plan:
.agents/docs/2026-10-27-add-md4c-mwrap-plan.md.