New light syntax
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C#
- 星號
- 0
- 分支
- 0
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 5
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Natvs/Nt.SyntaxParser 的其他 Issue
-
good first issue usability
難度 3/5 半天 新手友好度 73/100
Natvs/Nt.SyntaxParser#44 ·
-
documentation
難度 3/5 1-2 天 新手友好度 55/100
Natvs/Nt.SyntaxParser#35 ·
-
bug invalid
難度 5/5 一週以上 新手友好度 20/100
Natvs/Nt.SyntaxParser#29 ·
-
enhancement
難度 5/5 一週以上 新手友好度 20/100
Natvs/Nt.SyntaxParser#28 ·
-
enhancement good first issue
難度 4/5 3-5 天 新手友好度 35/100
Natvs/Nt.SyntaxParser#15 ·
查看 Natvs/Nt.SyntaxParser 的全部 Issue
相似的 Issue
-
[中] 更新器下载缓存从不清理未關閉
難度 2/5 1-3 小時 新手友好度 72/100
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
NimblePros/eShopOnWeb#333 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 62/100