Compiler Design 6th semester - BookSpar

In this grammar, the string 9-5+2 has two possible parse trees as shown in the next slide. Consider the parse trees for string 9-5+2, expression like this has more than one parse tree. The two trees for 9-5+2 correspond to the two ways of parenthesizing the expression: (9-5)+2 and 9-(5+2). ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download