00:01
We're asked to give production rules an extended bacchus in our form, or ebnf, for identifiers in the c programming language, which we first saw in exercise 33.
00:16
So recall from that exercise that in c, an identifier starts with a letter or an underscore, followed by one or more lowercase letters, uppercase letters, underscores, and digits.
00:37
So, first of all, you know, their identifier is going to start out with a letter or underscore.
00:47
So we have identifier, colon, colon, equals, and then the non -terminal letter or us, which stands for letter or underscore, followed by symbol and because we can have as many symbols as we need, symbol is followed by a star symbol or a star meta character.
01:46
Now to define what symbol is, a symbol can be a letter or an underscore or it can be a digit...