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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA