Today I Learned

Some of the things I've learned every day since Oct 10, 2016

22: Derivations in Context-Free Grammars

derivation of a string (in a context-free grammar) is a sequence of strings, beginning with a start string and ending with the string in question, and with each intermediate string in the sequence being the result of applying the transformation rules of the grammar to the one before it.

A derivation of a string within a grammar can be seen as a proof that the string belongs to that grammar’s language.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: