首页> 外文期刊>Journal of Logic and Algebraic Programming >Generation of abstract programming interfaces from syntax definitions
【24h】

Generation of abstract programming interfaces from syntax definitions

机译:根据语法定义生成抽象编程接口

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

摘要

This paper describes how an Abstract Programming Interface (API) and its implementation can be generated from the syntax definition of a data type. In particular we describe how a grammar (in SDF) can be used to generate a library of access functions that manipulate the parse trees of terms over this syntax. Application of this technique in the ASF+SDF Meta-Environment has resulted in the elimination of 47% of the handwritten code, thus greatly improving both maintainability of the tools and their flexibility with respect to changes in the parse tree format. Although the focus is on ATerms, the issues discussed and the techniques described are more generic and are relevant in related areas such as XML data-binding.
机译:本文介绍如何从数据类型的语法定义中生成抽象编程接口(API)及其实现。特别是,我们描述了语法(在SDF中)如何用于生成访问函数库,该函数在此语法上操纵术语的语法树。该技术在ASF + SDF元环境中的应用导致消除了47%的手写代码,从而极大地提高了工具的可维护性以及它们在解析树格式方面的灵活性。尽管重点放在ATerms上,但所讨论的问题和所描述的技术更为通用,并且与XML数据绑定等相关领域相关。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号