Allow multidimensional arrays
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the referenced pydsdl grammar.parsimonious section at lines 32–41 and the DSDL rules describing implicit field sizes and array syntax. Trace how the PEG grammar represents arrays and determine how multidimensional arrays can be expressed without left recursion. Done means the syntax is specified and supports the required alignment guarantees.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Multidimensional arrays are currently prohibited. They were avoided mostly due to the issues with byte alignment in variable-length arrays where the width of the length prefix is not a multiple of 8 bits. Since in UAVCAN v1 we require that implicit fields be always standard-size (8/16/32/64), it is now possible to allow multidimensional arrays without sacrificing data alignment.
One issue that has to be considered is how to introduce multidimensional arrays into the grammar while avoiding left recursion. This is because the DSDL syntax is defined through a PEG grammar which does not allow left recursion.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 1
- Fork
- 0
- 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
- Đọ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 OpenCyphal/dsdl_specification
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenCyphal/dsdl_specification#2 · 2 bình luận ·
-
Explicit structuringĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
DSDL enumeration typeĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Fixed-point scalar typesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
OpenCyphal/dsdl_specification#6 · 1 bình luận ·
Tất cả issue của OpenCyphal/dsdl_specification
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
CanadaHonk/porffor#452 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
JakeChampion/lang#14392 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
JPHutchins/dynamic-call-tree-resolution#349 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
swc-project/swc-ai-issues#114 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
fable-compiler/Fable#5280 ·
Maintainer thường phản hồi trong vòng 1 ngày