New light syntax
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 5
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Natvs/Nt.SyntaxParser
-
good first issue usability
Difficulty 3/5 Half a day Newbie friendliness 73/100
Natvs/Nt.SyntaxParser#44 ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Natvs/Nt.SyntaxParser#35 ·
-
bug invalid
Difficulty 5/5 Over a week Newbie friendliness 20/100
Natvs/Nt.SyntaxParser#29 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
Natvs/Nt.SyntaxParser#28 ·
-
enhancement good first issue
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Natvs/Nt.SyntaxParser#15 ·
All issues in Natvs/Nt.SyntaxParser
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Natvs/Nt.Automaton#33 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
a-corriger documentation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
christian-raj/S-Aloha#312 ·
-
ready-for-agent tech-debt
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
DigiBanks99/menlo#640 ·
Maintainers usually reply within 1 day
-
ci
Difficulty 1/5 Under an hour Newbie friendliness 62/100
OpenTabletDriver/OpenTabletDriver#5283 ·
Maintainers usually reply within 3 days