Generate complete Perl Unicode aliases and wildcard candidates
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Perl
- Star
- 64
- Fork
- 6
- Merge trung bình
- 5 giờ 38 phút
- Pull request đã merge (30 ngày)
- 170
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
fglock/PerlOnJava#1341 ·
-
area:backend area:runtime bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
fglock/PerlOnJava#1511 ·
-
area:backend area:cpan-port bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
fglock/PerlOnJava#1508 · 1 bình luận ·
-
Port IPC::SysV (low priority) Đang mởarea:cpan-port area:platform enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
fglock/PerlOnJava#1507 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
fglock/PerlOnJava#1506 ·
Tất cả issue của fglock/PerlOnJava
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
documentation Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
trizen/youtube-viewer#456 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
connectivity Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100