feat: prototype for C source doctesting#11106
feat: prototype for C source doctesting#11106Om-A-osc wants to merge 2 commits intostdlib-js:developfrom
Conversation
|
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
|
Hello! Thank you for your contribution to stdlib. We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:
This acknowledgment confirms that you've read the guidelines, which include:
We can't review or accept contributions without this acknowledgment. Thank you for your understanding and cooperation. We look forward to reviewing your contribution! |
Signed-off-by: Om-A-osc <[email protected]>
Description
This pull request introduces a prototype for a C source doctest runner.
The goal of this draft PR is to demonstrate and validate the approach for:
// returnsannotations, providing exact source line reporting for mismatches along with suggested corrected annotation valuesThis is an experimental proof-of-concept, intended primarily for reviewers to:
Usage
You can clone this PR and try the prototype:
Run doctest for a single file:
make doctest-c-files FILES="path/to/file.c"Run doctest for multiple files using a filter:
make doctest-c SOURCES_FILTER='.*/stats/base/dists/weibull/pdf/.*'Run doctest for all C files in the repository:
make doctest-cNote: A full repository-wide run currently takes ~25–30 minutes.
Notes
...) are currently skipped, as they are illustrative examples and not meant for execution.Related Issues
No.
Questions
Other
This PR is intentionally marked as a draft and is not a final implementation.
The focus is on validating the idea and gathering early feedback before refining further.
Checklist
AI Assistance
Disclosure
N/A
@stdlib-js/reviewers