Talk:Recursive grammar
Appearance
![]() | This article was nominated for deletion on 29 March 2013 (UTC). The result of the discussion was speedy keep. |
![]() | This article is rated Stub-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||
|
erhm
[edit]Another more obvious meaning would be for recursive instead of recursively enumerable languages. The current def is not actually cited. JMP EAX (talk) 09:23, 17 August 2014 (UTC)
What does it mean "if it contains production rules that are recursive"? Is S -> aSa recursive? Perhaps so. What about the grammar with two rules A -> aB and B -> Aa? JMP EAX (talk) 09:38, 17 August 2014 (UTC)
Also, the concept of leftmost derivation is not well defined above CFGs. JMP EAX (talk) 09:33, 17 August 2014 (UTC)
I see the this is another article "saved" at AfD by doing partial string matches versus random sources. JMP EAX (talk) 10:13, 17 August 2014 (UTC)
- I first found the article when a wrong link in the Template:Formal languages and grammars had to be fixed: in line "Type-0, col. "Grammars", recursive grammar had to be corrected to unrestricted grammar; cf. Template_talk:Formal_languages_and_grammars#Removing "recursive grammar".
- I considered to suggest the article recursive grammar for deletion, but changed my mind as it is of somewhat use at the lower end of the language hierarchy (cf. bottom line of the template, non-recursive grammar redirects to recursive grammar).
- To define non-recursion formally, a strict partial order on the set of non-terminals would be required such that in each rule, each non-terminal on the lhs is strictly larger than each one on its rhs. Maybe, however, that notion doesn't make sense for grammars beyond context-free ones. - Jochen Burghardt (talk) 12:22, 17 August 2014 (UTC)
- Except we want a reliable source to actually give this def and call it this, otherwise it's WP:OR. JMP EAX (talk) 13:40, 17 August 2014 (UTC)