Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Generate complete Perl Unicode aliases and wildcard candidates

未关闭
#1,487 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
java, perl
领域
compilers

调研方向

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fglock/PerlOnJava 的其他 Issue

查看 fglock/PerlOnJava 的全部 Issue

相似的 Issue

更多 Perl Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。