Generate complete Perl Unicode aliases and wildcard candidates
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
The issue involves the Unicode data import and table generation system in PerlOnJava. Start by examining the current property lookup and wildcard resolution code, likely in modules handling Unicode property matching. Review the generator scripts that create tables from PropValueAliases.txt. The goal is to extend these tables to include all Perl aliases and use them for wildcard enumeration. 'Done' means all tests in the Unicode property UAT pass, and the generator validation checks are implemented.
Written by the indexing model from the issue text.
Description
Problem
PerlOnJava imports current Perl Unicode data, but several generated tables expose only the subset required for direct property lookup. Callers that need value enumeration, especially \p{Property=:\A...\z:} wildcards, can fall back to ICU aliases. ICU may be older than the imported Perl UCD and does not necessarily contain Perl's complete short-alias surface.
The recent Block failures demonstrate the gap: Bengali_Sup, Misc_Arrows_Ext, and Music_Sup are current Perl PropValueAliases.txt aliases, but wildcard matching did not consistently enumerate them.
Proposed work
- Make each generated enumerated-property table expose canonical values and every Perl value alias from the same source data.
- Generate wildcard candidate lists from those aliases, and route wildcard resolution through them ahead of ICU.
- Add generator validation that every accepted alias reaches a generated value set and that aliases are unambiguous.
- Add focused generated-data tests for direct aliases, loose aliases, and anchored wildcards.
- Record which Perl-specific behavior remains handwritten: property grammar, warning categories and wording, case-fold policy, and diagnostics.
Acceptance criteria
- No UCD-version-dependent property lookup or wildcard path uses ICU as its authority when an imported Perl table is available.
- Refreshing imported Unicode data updates value aliases and wildcard coverage without hand-maintained lists.
- Generator checks fail clearly on missing, duplicate, or unreachable aliases.
- The Unicode property UAT remains green for generated direct and wildcard aliases.
- Dominant language
- Perl
- Stars
- 64
- Forks
- 6
- Avg merge
- 5h 11m
- Merged PRs (30d)
- 168
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
fglock/PerlOnJava#1341 ·
-
area:backend area:runtime enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
fglock/PerlOnJava#1494 ·
-
area:backend area:runtime enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
fglock/PerlOnJava#1492 ·
-
area:parser bug
Difficulty 3/5 1-2 days Newbie friendliness 65/100
fglock/PerlOnJava#1491 ·
-
area:backend area:cpan-port area:runtime bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
fglock/PerlOnJava#1482 · 1 comment ·
All issues in fglock/PerlOnJava
Similar issues
-
documentation Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eolang.sty#159 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 · 4 comments ·
-
1.severity: security
Difficulty 2/5 1-3 hours Newbie friendliness 68/100