Computer Science Fundamentals Algorithms Subjective
Feb 26, 2013

What are the disadvantages of operator precedence parsing?

Detailed Explanation

  •                      It is hard to handle tokens like the minus sign, which has two different precedences.

 

  •                            Since the relationship between a grammar for the language being parsed and the operator – precedence parser itself is tenuous, one cannot always be sure the parser accepts exactly the desired language.

 

  •                            Only a small class of grammars can be parsed using operator precedence techniques.

 

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback