1. Nonterminal Complexity of Weakly Conditional Grammars
- Author
-
Sherzod Turaev, Mohd Izzuddin Mohd Tamrin, and Norsaremah Salleh
- Subjects
Discrete mathematics ,Tree-adjoining grammar ,Ambiguous grammar ,Computer science ,Programming language ,Terminal and nonterminal symbols ,Noncontracting grammar ,Context-sensitive grammar ,Indexed grammar ,Mildly context-sensitive grammar formalism ,Context-free grammar ,computer.software_genre ,computer - Abstract
A weakly conditional grammar is specified as a pair K=G, G' where G is a context-free grammar, and G' is a regular grammar such that a production rule of G is only applicable to the sentential form if it belongs to the language generated by G'. The nonterminal complexity VarK of the grammar K is defined as the sum of the numbers of nonterminals of G and G'. This paper studies the nonterminal complexity of weakly conditional grammars, and it proves that every recursively enumerable language can be generated by a weakly conditional grammar with no more than ten nonterminals. Moreover, it shows that the number of nonterminals in such grammars without erasing rules leads to an infinite hierarchy of families of languages generated by weakly conditional grammars.
- Published
- 2014
- Full Text
- View/download PDF