Construct a phrase-structure grammar for the set of all


Question: a) Construct a phrase-structure grammar for the set of all fractions of the form a/b, where a is a signed integer in decimal notation and b is a positive integer.

b) What is the Backus-Naur form for this grammar?

c) Construct a derivation tree for +311/17 in this grammar.

Solution Preview :

Prepared by a verified Expert
Theory of Computation: Construct a phrase-structure grammar for the set of all
Reference No:- TGS02372741

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)