首页> 外文会议>ACM SIGPLAN-SIGACT symposium on Principles of programming languages >Incremental evaluation for attribute grammars with application to syntax-directed editors
【24h】

Incremental evaluation for attribute grammars with application to syntax-directed editors

机译:属性语法的增量评估,并应用于语法指导的编辑器

获取原文

摘要

A syntax-directed editor is a tool for structured program development. Such an editor can enforce syntactic correctness incrementally by restricting editing operations to legitimate modifications of the program's context-free derivation tree. However, not all language features can be described by the context-free formalism. To build editors that enforce non-context-free correctness, a more powerful specification technique is needed. In this paper we discuss the advantages of attribute grammars as a specification technique for a syntax-directed editing system. We also present an efficient algorithm for incrementally evaluating attributes as a program tree is derived.
机译:语法导向的编辑器是用于结构化程序开发的工具。这样的编辑器可以通过将编辑操作限制为对程序的上下文无关的派生树的合法修改来逐步增强语法正确性。但是,并非所有语言功能都可以通过上下文无关的形式主义来描述。为了构建强制非上下文无关性的编辑器,需要一种更强大的规范技术。在本文中,我们讨论了属性语法作为一种语法指导的编辑系统的规范化技术的优点。我们还提出了一种高效的算法,用于在派生程序树时逐步评估属性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号