网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Left recursion
释义

Left recursion

中文百科

左递归

在计算机科学里面,左递归是一种递归的特殊状况。

在上下文无关文法内里的说法,,若一个非终端符号(non-terminal)r有任何直接的文法规则或者透过多个文法规则,推导出的句型(sentential form)其中最左边的符号 又会出现r,则我们说这个非终端符号r是左递归的。

使用类似的方式我们可以定义出某文法本身是左递归的。

英语百科

Left recursion 左递归

In the formal language theory of computer science, left recursion is a special case of recursion where a string is recognized as part of a language by the fact that it decomposes into a string from that same language (on the left) and a suffix (on the right). For instance, 1+2+3 can be recognized as a sum because it can be broken into 1+2, also a sum, and {}+3, a suitable suffix.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/22 7:57:16