Javatpoint Logo
Javatpoint Logo

Capabilities of CFG

There are the various capabilities of CFG:

  • Context free grammar is useful to describe most of the programming languages.
  • If the grammar is properly designed then an efficientparser can be constructed automatically.
  • Using the features of associatively & precedence information, suitable grammars for expressions can be constructed.
  • Context free grammar is capable of describing nested structures like: balanced parentheses, matching begin-end, corresponding if-then-else's & so on.

Next TopicDerivation

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA