Skip to content

Simplify positional binding in parse-opts*#202

Merged
borkdude merged 1 commit into
mainfrom
simplify-3-no-reinjection
Jul 13, 2026
Merged

Simplify positional binding in parse-opts*#202
borkdude merged 1 commit into
mainfrom
simplify-3-no-reinjection

Conversation

@borkdude

Copy link
Copy Markdown
Contributor

No description provided.

…stream

Replaces the args->opts interleave/re-injection mechanism (and squint's Injected wrapper) with direct binding: leading args bind pairwise before the loop, trailing args bind per token at the trailing-args rule. Verified against main on a 15k-case differential corpus: the single behavior change is that an option token can no longer occupy a positional slot (it used to leave the key with a phantom implicit true).
@borkdude borkdude changed the title Simplify positional binding in parse-opts*" Simplify positional binding in parse-opts* Jul 13, 2026
@borkdude
borkdude merged commit a43d66f into main Jul 13, 2026
26 checks passed
@borkdude
borkdude deleted the simplify-3-no-reinjection branch July 13, 2026 11:40
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