...
首页> 外文期刊>Science of Computer Programming >Embedding attribute grammars and their extensions using functional zippers
【24h】

Embedding attribute grammars and their extensions using functional zippers

机译:使用功能性拉链嵌入属性语法及其扩展

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

摘要

Attribute grammars are a suitable formalism to express complex software language analysis and manipulation algorithms, which rely on multiple traversals of the underlying syntax tree. Attribute grammars have been extended with mechanisms such as reference, higher-order and circular attributes. Such extensions provide a powerful modular mechanism and allow the specification of complex computations. This paper studies an elegant and simple, zipper-based embedding of attribute grammars and their extensions as first class citizens. In this setting, language specifications are defined as a set of independent, off-the-shelf components that can easily be composed into a powerful, executable language processor. Techniques to describe automatic bidirectional transformations between grammars in this setting are also described. Several real examples of language specification and processing programs have been implemented.
机译:属性语法是表达复杂软件语言分析和操纵算法的合适形式,依赖于底层语法树的多次遍历。属性语法已通过引用,高阶和循环属性等机制进行了扩展。这样的扩展提供了强大的模块化机制,并允许指定复杂的计算。本文研究了属性语法的优雅,简单,基于拉链的嵌入及其作为一等公民的扩展。在这种设置下,语言规范被定义为一组独立的,现成的组件,可以轻松地组成功能强大的可执行语言处理器。还介绍了在这种情况下描述语法之间的自动双向转换的技术。语言规范和处理程序的几个真实示例已经实现。

著录项

  • 来源
    《Science of Computer Programming》 |2016年第1期|2-28|共27页
  • 作者单位

    High-Assurance Software Laboratory (HASLAB/INESC TEC), Universidade do Minho, Braga, Portugal;

    High-Assurance Software Laboratory (HASLAB/INESC TEC), Universidade do Minho, Braga, Portugal,Reliable and Secure Computation Group ((rel)ease), Universidade da Beira Interior, Covilha, Portugal;

    High-Assurance Software Laboratory (HASLAB/INESC TEC), Universidade do Minho, Braga, Portugal;

    Department of Computer Science and Engineering, University of Minnesota, Minneapolis, USA;

    Department of Computing, Macquarie University, Sydney, Australia;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Attribute grammars; Functional programming; Functional zippers; Bidirectional transformations;

    机译:属性语法;功能编程;功能性拉链;双向转换;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号