...
首页> 外文期刊>IEEE Transactions on Software Engineering >Interface compilation: steps toward compiling program interfaces aslanguages
【24h】

Interface compilation: steps toward compiling program interfaces aslanguages

机译:接口编译:迈向编译程序接口语言的步骤

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

摘要

Interfaces-the collection of procedures and data structures thatndefine a library, a subsystem, a module-are syntactically poornprogramming languages. They have state (defined both by the interface'sndata structures and internally), operations on this state (defined bynthe interface's procedures), and semantics associated with thesenoperations. Given a way to incorporate interface semantics intoncompilation, interfaces can be compiled in the same manner asntraditional languages such as ANSI C or FORTRAN. The article makes twoncontributions. First, it proposes and explores the metaphor of interfacencompilation, and provides the beginnings of a programming methodologynfor exploiting it. Second, it presents MAGIK, a system built to supportninterface compilation. Using MAGIK, software developers can buildnoptimizers and checkers for their interface languages, and have thesenextensions incorporated into compilation, with a corresponding gain innefficiency and safety. This organization contrasts with traditionalncompilation, which relegates programmers to the role of passivenconsumers, rather than active exploiters of a compiler'sntransformational abilities
机译:接口(定义库,子系统,模块的过程和数据结构的集合)在语法上不适合编程语言。它们具有状态(由接口的n数据结构和内部定义),对该状态的操作(由接口的过程定义)以及与该操作关联的语义。给定一种合并接口语义的非编译方式,可以以与传统语言(如ANSI C或FORTRAN)相同的方式来编译接口。本文做出了两个贡献。首先,它提出并探讨了接口编译的隐喻,并提供了一种用于开发该接口的编程方法。其次,它介绍了MAGIK,这是一个为支持接口编译而构建的系统。使用MAGIK,软件开发人员可以为其界面语言构建优化器和检查器,并将其扩展名合并到编译中,从而带来效率低下和安全性高的问题。该组织与传统的n编译形成对比,传统的n编译使程序员降级为被动n消费者的角色,而不是主动使用n编译器n转换能力的开发人员

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号