Question: 1) Write a grammar using BNF whose language consists of all even integers, e.g., 0, 2, 4, 24, 36, 578, etceteras. 2) Write a

1) Write a grammar using BNF whose language consists of all even integers, e.g., 0, 2, 4, 24, 36, 578, etceteras. 2) Write a grammar whose language is the set of all characters strings consisting of the letters of the alphabet, digits, and the period such that the string begins with a letter and ends with a period ("."). Use BNF. Example: AB12.3f.CD.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
