首页> 外文会议>Proceedings of the 3rd ACM SIGACT-SIGPLAN symposium on Principles on programming languages >The influence of productions on derivations and parsing (Extended Abstract)
【24h】

The influence of productions on derivations and parsing (Extended Abstract)

机译:生产对派生和解析的影响(扩展摘要)

获取原文
获取原文并翻译 | 示例

摘要

The concept of grammar forms [4,5] provides evidence that there seems to be no way to base the definitions of many grammar types used in parsing and compiling solely on the concept of productions.

rn

Strict interpretations, as introduced in [3,5], of unambiguous or LR(k) grammar forms generate unambiguous or LR(k) languages, respectively. This is not true in the LL(k) case.

rn

It is decidable whether a strict interpretation of an unambiguous grammar form is unambiguous. For any two compatible strict interpretations G1 and G2 of an unambiguous grammar form it is decidable whether L(G1)@@@@L(G2), L(G1)@@@@L(G2)&equil;&thgr;, finite, or infinite.

rn

For every grammar form F1 there exists a grammar form F2 such that the grammatical family of F1 under unrestricted interpretations is equal to the grammatical family of F2 under strict interpretations.

机译:

语法形式[4,5]的概念提供了证据,证明似乎没有办法将仅用于生成概念的语法和解析中使用的许多语法类型的定义作为基础。 rn

如[3,5]中所介绍的,对歧义或LR(k)语法形式的严格解释分别产生了歧义或LR(k)语言。在LL(k)情况下,情况并非如此。 rn

可以确定,对明确语法形式的严格解释是否明确。对于明确语法形式的任何两个兼容的严格解释G 1 和G 2 ,可以确定是否L(G 1 )@@@@ L(G 2 ),L(G 1 )@@@@ L(G 2 )&equil;&thgr ;、有限或无限。 rn

对于每个语法形式F 1 ,都存在一个语法形式F 2 ,这样F 1 在不受限制的解释下等于在严格解释下的F 2 的语法族。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号