Skip to content

[codex] Add C parser planning roadmap - #10

Closed
saidctb wants to merge 6 commits into
mainfrom
c-parser/main
Closed

[codex] Add C parser planning roadmap#10
saidctb wants to merge 6 commits into
mainfrom
c-parser/main

Conversation

@saidctb

@saidctb saidctb commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the initial C parser planning documentation under docs/c_parser/ on the isolated c-parser/main integration branch.

This includes:

  • C parser architecture plan based on the existing Fortran parser architecture
  • CLI workflow plan with explicit early --language c --parse mode
  • future C parser reference document
  • detailed phase-by-phase implementation checklist
  • clarified parser-first model policy for C-specific facts in c_parser/models.py
  • clarified preprocessing policy: raw-source parsing first, compiler-assisted preprocessing for macro-heavy APIs later
  • clarified callback/function-pointer readiness policy requiring user-supplied .pyi callback policy before wrapping

Branch Strategy

This PR targets main only to make the planning branch visible on GitHub. The C parser implementation itself should remain isolated on c-parser/main until mature and stable. Future work should branch from and merge back into c-parser/main, not directly into project main.

Validation

  • git diff --check passed
  • Docs-only change; no parser logic, CLI logic, fixtures, or generated goldens were added
  • Existing Fortran parser behavior is untouched

@saidctb saidctb closed this May 20, 2026
@saidctb

saidctb commented May 20, 2026

Copy link
Copy Markdown
Contributor Author

Closed because C parser work must not target project main. The pushed planning branch remains available as c-parser/main, and future C parser PRs should target c-parser/main only.

@codecov

codecov Bot commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
py312 93.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant