Question: Write a grammar in a standard Backus-Naur FormBNF (note: do not use Extended BNF) 1. The set of even negative integers (2, 4, 6, ...).
Write a grammar in a "standard Backus-Naur FormBNF" (note: do not use Extended BNF)
1. The set of even negative integers (2, 4, 6, ...). Give parse trees for 16, and 378.
2. The set ofsigned decimal numbers, withat least one digit (possibly zero) both before and after the decimal point. Give parse trees for +1.2, and 33.03
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
