Home > Computers > Computer Science > Theoretical > Formal Language Theory > Context Free Languages
A context-free grammar (CFG) is a formal grammar in which every production rule is of the form V → w where V is a non-terminal symbol and w is a string consisting of terminals and/or non-terminals. The term "context-free" comes from the fact that the non-terminal V can always be replaced by w, regardless of the context in which it occurs. Context free languages are also those which are accepted by finite state automata.
http://en.wikipedia.org/wiki/Context-free_grammar
A Wikipedia article that defines context free grammars and uses them to generate context free languages.
http://eli-project.sourceforge.net/elionline/syntax_1.html
An article defining the grammar and how Binary Normal Form (BNF) is used to parse words in a context free language. An example shows how operator precedence is preserved in a context free grammar.
http://www.cs.ucr.edu/~jiang/cs215/tao-new.pdf#search="context sensitive languages compilers"
A survey article on formal systems that define families of formal languages arising in many computer science applications with primary focus on context-free languages.
http://people.umass.edu/partee/726_04/lectures/Lecture%2014%20PDAs%20and%20CFGs.pdf#search="pushdown automata"
Lecture notes defining context free grammars and closure and decidability properties of context free languages. There is a short section showing that natural languages are not context free.
Home > Computers > Computer Science > Theoretical > Formal Language Theory > Context Free Languages
Thanks to DMOZ, which built a great web directory for nearly two decades and freely shared it with the web. About us