EbnfStudio icon indicating copy to clipboard operation
EbnfStudio copied to clipboard

Support for expanding "..."

Open shujaatak opened this issue 3 years ago • 1 comments

Let suppose one write the following:

letter ::= 'A' ... 'Z' | 'a' ... 'z'

then some feature for expanding it automatically in EbnfStudio would be so awesome!

Example:

digit ::= '0' ... '9'

expanded to:

digit ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'

shujaatak avatar Dec 13 '21 04:12 shujaatak

That looks like a typical lexer production. EbnfStudio is only a parser generator tool, useful for LL(1) grammars with LL(k) exceptions.

rochus-keller avatar Dec 13 '21 09:12 rochus-keller