Skip to content

Advance native Joni numeric, class-range, and branch-reset parity - #1086

Draft
fglock wants to merge 10 commits into
fix/phase36-dynamic-integration-p2from
fix/phase36-worker-batch-p2
Draft

Advance native Joni numeric, class-range, and branch-reset parity#1086
fglock wants to merge 10 commits into
fix/phase36-dynamic-integration-p2from
fix/phase36-worker-batch-p2

Conversation

@fglock

@fglock fglock commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • move bounded numeric and braced backreference parsing into Joni internals
  • implement Perl false and non-ASCII unfinished character-class range behavior
  • bind branch-reset named calls and conditions to their physical definitions
  • refresh the Phase 36 document with forward-only execution steps

Validation

  • make passes at 648d14588 (Joni suite, five unit shards, packaging, shadow JAR)
  • exact perl5_t/t/re/regexp.t: 2074/2210, up from 2017/2210 at the stacked base
  • 57 identities fixed; zero newly failing identities

This is stacked on PR #1085. It remains draft while successor migration lanes
continue in parallel.

fglock and others added 10 commits August 19, 2026 22:27
Map Perl non-ASCII unfinished ranges such as /[\xdf-/i to the native
Invalid [] range diagnostic while preserving the ordinary unmatched class
behavior for ASCII ranges. Add focused regression coverage.

Generated with Codex (https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Detect decimal overflow without wrapped integers, parse Perl numeric braced
backreferences directly, reject nonexistent decimal references, and guard
analyser capture-node lookups. Add focused Joni and Perl boundary coverage.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Pass Perl brace backreferences directly to the bounded Joni lexer instead of
rewriting them as named backreferences, and retain Perl diagnostic wording for
invalid numeric references.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Treat class endpoints around a hyphen as Perl's literal-hyphen union instead
of a Joni range error, while retaining existing behavior for other syntaxes.

Generated with Codex (https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Return after parsing a braced numeric or named backreference so the lexer does
not continue into unrelated token handling. This incorporates the final delta
from the validated POJ5 numeric-backreference delivery.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Replace stale completed next steps with the current forward-only integration,
semantic completion, scaffold removal, and final acceptance sequence. Record
only the numeric-backreference and class-range slices supported by completed
focused and differential gates.

Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <codex@openai.com>
Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <noreply@openai.com>
Generated with [Codex](https://openai.com/codex)

Co-Authored-By: Codex <noreply@openai.com>
Record the validated 2074/2210 zero-introduction boundary and replace the
completed worker-batch step with the active successor lanes.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
Leave the backtracking-visible state phase open until the active capture
lifetime and publication work is integrated and validated.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
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