Comments in grammar files
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
- 35/100
Hướng nghiên cứu
The payload names no source files, only Grammar.md for documentation and a test suite to add. Start by reading Grammar.md and the existing grammar parser to see where terminal sets, rules and pre-parsing instructions are read. Settle the comment syntax first, since the proposed *, ** and '* escape rules are not yet agreed. Done means comments parse at every listed position, with one test per position and a Grammar.md section.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
There are currently no ways of writing comment in grammar files.
Here is an idea of where to insert comments
- On every new line
- After terminal or non terminal sets
- After a rule or regular expression ending
; - After a pre-parsing instruction
There should also be a possibility to write comments on several lines. Here is what I propose to do so:
- Use symbol
*at any of the previously cited emplacement to start a one line comment - Use symbol
**at the start of a new line and at the end of a comment to enable multiline comments - Use escape character
'*inside a comment to insert the character*.
Don't forget to
- Add tests, one for all comments positions (see above).
- Add comments documentation in Grammar.md.
- 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
-
New light syntaxĐang mởgood first issue usability
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Natvs/Nt.SyntaxParser#45 ·
-
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 ·
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