69.7k views
0 votes
Show the parse tree for the sentence (a b)*(c-d*e) b) List the rule numbers of the grammar rules in the sequence in which they would be applied in parsing the sentence (a b)*(c-d*e) by top-down parsing. Separate adjacent rule numebrs by a comma. Answer: c) Same as b), but assume bottom-up parsing.

1 Answer

5 votes

Answer:

Please find answer to your question in the attached picture.

Step-by-step explanation:

Show the parse tree for the sentence (a b)*(c-d*e) b) List the rule numbers of the-example-1
Show the parse tree for the sentence (a b)*(c-d*e) b) List the rule numbers of the-example-2
Show the parse tree for the sentence (a b)*(c-d*e) b) List the rule numbers of the-example-3
User MychaL
by
5.4k points