Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

.ets (ArkTS) files have no AST extractor — HarmonyOS sources silently absent from the graph

Đang mở
#3,752 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

Start at the AST extraction pass and the existing TypeScript extractor, then check how .ets extensions are classified and dispatched. Use the tree-sitter TypeScript grammar coverage described in the issue, including ArkTS decorators and structs, and compare extraction on a HarmonyOS sample. Done means .ets files contribute AST nodes or the REPORT explicitly records unsupported extensions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Same class as #1689 (.r), different language: .ets (ArkTS, HarmonyOS) is classified as code by detect but has no AST extractor.

Repro (graphify 0.x via uv, 2026-09-23):

  1. Point graphify at a repo containing .ets sources (e.g. a HarmonyOS host app: ArkTS UI + NAPI glue).
  2. Run the AST extraction pass.

Measured: 20 .ets files detected as code, all skipped:

warning: 20 file(s) are classified as code but graphify has no AST extractor for their language, so they contributed nothing to the graph: .ets (20). Please open an issue to request support for these (#1689).

The final graph (5,285 nodes over a ~537-file curated corpus) has zero nodes from the HarmonyOS host — a whole platform missing from an architecture analysis, with only a warning line to show for it.

Ask: an ArkTS extractor. ArkTS is a TypeScript derivative (HarmonyOS); the TS tree-sitter grammar covers most of it — .ets may be as simple as mapping onto the existing TS extractor, with a fallback for ArkTS-specific decorators/structs (struct Foo {\@State ...\}). If full support is far off, consider emitting the missing-extension list in the REPORT (not only stderr) so 'graph is complete' claims stay honest.

Ngôn ngữ chính
Python
Star
124k
Fork
11.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Graphify-Labs/graphify

Tất cả issue của Graphify-Labs/graphify

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.