Generate complete Perl Unicode aliases and wildcard candidates
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Perl
- 星标
- 64
- 派生
- 6
- 平均合并
- 5 小时 33 分钟
- 30 天内合并 PR
- 170
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fglock/PerlOnJava 的其他 Issue
-
area:cpan-port area:unicode bug
难度 2/5 1-3 小时 新手友好度 88/100
fglock/PerlOnJava#1341 ·
-
area:backend area:cpan-port bug
难度 3/5 1-2 天 新手友好度 76/100
fglock/PerlOnJava#1522 ·
-
area:backend area:io area:unicode bug
难度 4/5 3-5 天 新手友好度 52/100
fglock/PerlOnJava#1520 ·
-
area:cpan-port area:memory area:runtime bug
难度 5/5 一周以上 新手友好度 28/100
fglock/PerlOnJava#1515 ·
-
area:cpan-port area:io area:runtime bug
难度 4/5 3-5 天 新手友好度 58/100
fglock/PerlOnJava#1514 ·
查看 fglock/PerlOnJava 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
linuxmuster/sophomorix4#190 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
documentation Needs Triage
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
trizen/youtube-viewer#456 ·
-
难度 2/5 1-3 小时 新手友好度 70/100