New light syntax
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
- 48/100
Hướng nghiên cứu
Start by finding where the current light ELEMENT: block form is recognised — the grammar/parser classes in this C# library — and the tests that cover the light syntax, since the issue names neither. Reading those will show whether the change belongs in the tokenizer, the block parser, or both, and how optional commas interact with the existing separator rules. Done means both the colon form and the parenthesised form parse, commas are accepted but no longer required, and the existing syntax tests still pass alongside new ones for the parenthesis variant. The open question of whether to keep the old form is worth settling with a maintainer before writing code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What we have now
The light syntax is currently
ELEMENT:
element1,
element2,
...,
elementN;
What i propose
Add a parenthesis syntax to conform more to the notion of a block:
ELEMENT (
element1
element2
...
elementN
)
Also make it so that comas , are not mandatory anymore.
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 0
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 5
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 Natvs/Nt.SyntaxParser
-
Starting a new branchĐang mởgood first issue usability
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 73/100
Natvs/Nt.SyntaxParser#44 ·
-
documentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Natvs/Nt.SyntaxParser#35 ·
-
About the IMPORT instructionĐang mởbug invalid
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Natvs/Nt.SyntaxParser#29 ·
-
More pre-parsing instructionsĐ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
Natvs/Nt.SyntaxParser#28 ·
-
Comments in grammar filesĐang mởenhancement good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Natvs/Nt.SyntaxParser#15 ·
Tất cả issue của Natvs/Nt.SyntaxParser
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
a-corriger documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
DigiBanks99/menlo#640 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
Maintainer thường phản hồi trong vòng 3 ngày