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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!