首页> 外文会议>International Computer Science Symposium in Russia >On the Transformation of LL(k)-linear Grammars to LL(1)-linear
【24h】

On the Transformation of LL(k)-linear Grammars to LL(1)-linear

机译:关于LL(k)线性语法到LL(1)线性的变换

获取原文

摘要

It is proved that every LL(k)-linear grammar can be transformed to an equivalent LL(1)-linear grammar. The transformation incurs a blow-up in the number of nonterminal symbols by a factor of m~(2k-O(1)) where m is the size of the alphabet. A close lower bound is established: for certain LL(k)-linear grammars with n nonterminal symbols, every equivalent LL(l)-linear grammar must have at least n·(m- 1)~(2k-O(log k) nonterminal symbols.
机译:证明了每个LL(k)线性语法都可以转换为等效的LL(1)线性语法。变换导致非终结符号数量激增m〜(2k-O(1)),其中m是字母的大小。建立了一个接近的下界:对于具有n个非终结符的某些LL(k)线性语法,每个等效的LL(l)线性语法必须至少具有n·(m-1)〜(2k-O(log k)非终结符。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号