Comments in grammar files
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C#
- Sterne
- 0
- Forks
- 0
- Ø Merge
- 3 T. 4 Std.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Natvs/Nt.SyntaxParser
-
New light syntaxOffengood first issue usability
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
Natvs/Nt.SyntaxParser#45 ·
-
Starting a new branchOffengood first issue usability
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 73/100
Natvs/Nt.SyntaxParser#44 ·
-
documentation
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
Natvs/Nt.SyntaxParser#35 ·
-
bug invalid
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
Natvs/Nt.SyntaxParser#29 ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
Natvs/Nt.SyntaxParser#28 ·
Alle Issues in Natvs/Nt.SyntaxParser
Ähnliche Issues
-
[中] 更新器下载缓存从不清理Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NimblePros/eShopOnWeb#333 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100