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

Crystal language support

Đang mở
#1,958 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
tooling

Hướng nghiên cứu

Start with PR #1458, which implements the requested Crystal support, and read the repository's language validation methodology. Check how the PR handles Crystal grammar, symbols, imports, and cross-file calls, then review its validation on Kemal, LavinMQ, and crystal-lang/crystal. Done means Crystal projects are indexed and the stated validation passes.

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

Mô tả

Crystal (.cr) is not indexed today, so a Crystal project gets no graph at all.

Crystal is a statically typed, compiled language with Ruby-like syntax, used for web frameworks (Kemal, Lucky, Amber), servers such as LavinMQ, and the Crystal compiler itself (~2,400 files).

PR #1458 implements it:

  • vendored ABI-15 grammar from crystal-lang-tools/tree-sitter-crystal (MIT) — no npm/wasm package exists
  • modules, classes, structs, enums, lib/fun C bindings, macros, type aliases, require imports
  • getter/setter/property accessor macros as properties (how a Crystal type declares most of its attributes)
  • inheritance, include/extend mixins, and call edges — including parenthesis-less calls and Receiver.method — resolved across files
  • validated on kemal, lavinmq and crystal-lang/crystal, with a with/without-codegraph agent A/B per the repo's language validation methodology

Opening this issue so the language request has a place to be tracked independently of the PR.

Ngôn ngữ chính
C
Star
73.2k
Fork
4.7k
Merge trung bình
11 giờ 28 phút
Pull request đã merge (30 ngày)
596

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 colbymchenry/codegraph

Tất cả issue của colbymchenry/codegraph

Issue tương tự

Thêm issue về C

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.