Skip to content

split _autoconf_impl into small piece functions#90

Draft
comicfans wants to merge 2 commits intoperiareon:mainfrom
comicfans:reuse_autoconf_impl
Draft

split _autoconf_impl into small piece functions#90
comicfans wants to merge 2 commits intoperiareon:mainfrom
comicfans:reuse_autoconf_impl

Conversation

@comicfans
Copy link
Contributor

This attempts to refactor _autoconf_impl to improve reusability for similar functionality (e.g., future Meson integration).

Currently, _autoconf_impl:

  • Parses checks JSON into structured data and collects check/define info
  • Handles duplicate/conflict detection
  • Prepares args/input/output for checker_bin

Changes in this PR:

  • Extract the main loop into a helper function
  • Consolidate preparation results into a single reusable structure

This allows the preparation step to be reused, e.g., as a basis for eval_expr.

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