在数学、逻辑和计算机科学中,递归语言或递回语言是也叫做可判定语言或图灵可判定语言的形式语言类型。所有递归语言的类经常被称为 R。这种语言类型在乔姆斯基层级中没有定义。
·递归语言(recursive language):可以判断输入字符串是否符合语法,是不是某种语言的句子。则称该语言可递归。
基于2350个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
And this too is where the power of recursion comes in in a programming language.
这也是在编程语言中,对递归很有影响的一点。
And you'll find in the end that recursion is a feature of a language, it allows you to map some very obvious concepts like the phonebook tearing in half and half and half and half to actual code without it using some arbitrary human contrived framework like a for loop or a while loop which are much more stilted mechanisms.
最后你会发现递归是某种语言的一种特征,你可以用它将一些非常明显的思想,比如将电话簿划分为一半又一半,映射为实际代码,而不必使用那些人为框架,像for循环,while循环之类的,那是很呆板的机制。
应用推荐