Skip to content

feat(regex): route alpha assertions through native Joni - #1063

Draft
fglock wants to merge 1 commit into
integration/phase36-conditional-latestfrom
fix/phase36-native-alpha-routing
Draft

feat(regex): route alpha assertions through native Joni#1063
fglock wants to merge 1 commit into
integration/phase36-conditional-latestfrom
fix/phase36-native-alpha-routing

Conversation

@fglock

@fglock fglock commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • parse short and long Perl alpha assertions natively in forked Joni
  • support alpha assertions as conditional predicates
  • route alpha assertions to Joni and delete the Java preprocessor rewrite
  • document the as-implemented native forms

Validation

  • make: green, 17/17 tasks, no warning scan matches
  • system Perl focused oracle: 19/19
  • auto/Joni × JVM/interpreter focused matrix: 19/19 in every cell
  • imported alpha_assertions.t: zero numbered ok losses against the exact parent in all four cells
  • passing assertion gains: +11 auto JVM, +7 Joni JVM, +11 auto interpreter, +103 Joni interpreter

Stack

This PR is based on the canonical conditional integration head from PR #1060.
The remaining (*ACCEPT)-inside-lookbehind failures are being fixed in a
separate non-overlapping matcher-state slice.

Teach the forked parser the long Perl alpha-assertion spellings and allow
alpha assertions as conditional predicates. Route these constructs directly
to Joni and remove their Java preprocessor rewrite.

The focused oracle passes 19/19 in all matcher and execution combinations.
The imported alpha corpus has no numbered assertion losses against its exact
parent and gains passing assertions in every cell.

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