closed EBNF sequence

–1 vote
asked Nov 4, 2022 in Wanted features by Todd Musheno (2,680 points)
closed Nov 9, 2022 by Todd Musheno
https://www.plantuml.com/plantuml/uml/SoWkIImgIKtAI-DAoKpFB2bMi5MeLZ9GKgXHK39KghNcSaZDIm590m00

I think the use of {} is incorrect...

The top arrow skipping the elements should not be there...

{} should be interpreated as 1 or more... zero or more would just be an optional sequence [{x}]... I hope that makes sense.
closed with the note: My mistake

1 Answer

0 votes
answered Nov 4, 2022 by plantuml (294,660 points)

Are you sure? It looks like {} means zero_or_more (see https://matt.might.net/articles/grammars-bnf-ebnf/ for example).

For one_or_more, you can use this notation.

commented Nov 8, 2022 by Todd Musheno (2,680 points)
No I am not 100%... will research when I have time
commented Nov 9, 2022 by Todd Musheno (2,680 points)
Never mind you are correct
...