WIP: complete native Joni dynamic regex execution - #1085
Open
fglock wants to merge 11 commits into
Open
Conversation
Emit Perl's native sequence diagnostic when inline option modifiers end before a closing parenthesis or scoped-group colon. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Emit Perl's native sequence diagnostic when a regex comment group reaches the end of the pattern without its closing parenthesis. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Emit Perl's native incomplete-sequence diagnostic when a pattern ends immediately after the group-effect prefix. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Treat an empty star group as an unknown verb pattern, matching Perl's native diagnostic instead of reporting an unknown control construct. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Update the Phase 36 current-position summary after the focused Perl, direct-Joni, runtime, and imported-regexp gates passed. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Route runtime (??{...}) execution exclusively through the structured native
Joni callout path. Remove the obsolete marker, deferred warning/error cache
split, and constant-inlining fallback while retaining syntax-only validation
for raw executable source.
Add a system-Perl contract and direct Joni coverage for nested alternatives,
captures, modifiers, callback state, modes, recursion, and commit ordering.
Generated with [Codex](https://openai.com/codex)
Co-Authored-By: Codex <codex@openai.com>
Track aggregate mutations made by native regex code blocks so ordinary backtracking restores them while scalar assignments retain Perl semantics. Commit callback state when destructive control verbs cut the active path, including across dynamic regex continuations, while MARK still unwinds. Generated with [Codex](https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Mark runtime dynamic patterns and adapter retirement complete after the native continuation and callback unwind gates passed. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Keep ordinary callback aggregate side effects from abandoned alternatives when another branch succeeds, while restoring all plain-block aggregate mutations when the complete match fails. Preserve per-path local-scope unwind and commit mutations cut by destructive control verbs. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Describe aggregate rollback at the complete-match boundary and preserve the distinct successful-alternative and destructive-control outcomes. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Lock in Perl's distinction between callback mutation commits for destructive control verbs and ordinary rollback after MARK followed by failure. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
fglock
marked this pull request as ready for review
August 19, 2026 20:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
regexp.tgates remove the targeted identities with zero introductionsmakepassed all 17 tasksregexp.t: 2017/2210, complete, with the identical frozen failure/TODO identity set and zero introductionsmakepassed all 17 tasksStatus
WIP: worker deliveries for branch-reset captures, numeric backreferences, and extended classes are still in progress and will be integrated in follow-up updates.