+1 vote
211 views
in Compilers & Operating Systems by

1 Answer

+1 vote
by
selected by (user.guest)
 
Best answer

Advantages and Disadvantages of Operator Precedence Parsing:

The following are the advantages of operator precedence parsing

1. It is simple and easy to implement parsing technique.

2. The operator precedence parser can be constructed by hand after understanding the grammar. It is simple to debug. 

The following are the disadvantages of operator precedence parsing:

1. It is difficult to handle the operator like ‗-‗ which can be either unary or binary and hence different precedence‘s and associativities. 

2. It can parse only a small class of grammar.

3. New addition or deletion of the rules requires the parser to be re written.

4. Too many error entries in the parsing tables.


Related questions

+1 vote
1 answer 27 views
+2 votes
1 answer 398 views
+1 vote
1 answer 97 views
+1 vote
1 answer 146 views
0 votes
1 answer 183 views
+1 vote
1 answer 183 views
+2 votes
1 answer 144 views
+1 vote
1 answer 598 views
+1 vote
1 answer 176 views
+1 vote
1 answer 13 views
+1 vote
1 answer 74 views
+1 vote
1 answer 437 views
+1 vote
1 answer 278 views
+1 vote
1 answer 1.5k views
+1 vote
1 answer 244 views
+1 vote
1 answer 130 views
+1 vote
1 answer 109 views
+1 vote
1 answer 350 views
+1 vote
1 answer 1.1k views
+1 vote
1 answer 191 views
+1 vote
1 answer 375 views
+2 votes
1 answer 1.3k views
+2 votes
1 answer 356 views
+2 votes
1 answer 506 views
0 votes
1 answer 135 views
0 votes
1 answer 90 views
0 votes
1 answer 77 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...