Skip to content

Pass structured binding output to the Builder adapter - #531

Merged
charliermarsh merged 2 commits into
mainfrom
charlie/codex-structured-binding-output
Sep 10, 2026
Merged

Pass structured binding output to the Builder adapter#531
charliermarsh merged 2 commits into
mainfrom
charlie/codex-structured-binding-output

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

The Builder adapter located its generated declarations by slicing a banner and raw-line suffix out of a source string. We expose banner, declarations, and raw lines as separate parts and use those parts directly for formatting. Existing string-returning APIs and Bindings struct-literal inference remain compatible.

Binding, adapter, and native formatting tests pass. Regression coverage exercises multiline and Unicode raw lines, alternate banners, and existing source field inference.

@charliermarsh
charliermarsh merged commit 50e0958 into main Sep 10, 2026
29 checks passed
@charliermarsh
charliermarsh deleted the charlie/codex-structured-binding-output branch September 10, 2026 21:53
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