alphabet ::= A-z
alphabets ::= alphabet alphabets | nothing
number ::= 0-9
numbers ::= number numbers | nothing
specialChar ::= _ | ?
specialChars ::= specialChar specialChars | nothing
identifierHead ::= specialChar | alphabet
identifierBody ::= alphabets | numbers | specialChars
identifierBodys ::= identifierBody identifierBodys | nothing
identifier ::= identifierHead identifierBodys
Last active
May 18, 2018 15:38
-
-
Save ENvironmentSet/95e2e76fb5e34b27e486f5b64bf8779c to your computer and use it in GitHub Desktop.
EBNF of identifier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment