【24h】

Translation and optimization for a core calculus with exceptions

机译:核心演算的翻译和优化(带例外)

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

摘要

A requirement of any source language is to be rich in features and concise to use by the programmers. As a drawback, it is often too complex to analyse, causing research studies to omit some of the fancy features. For instance, exception handling is an important aspect of programming languages that is instrumental for building robust software with good error handling capability. However, exceptions are often omitted during the initial formulation on program analysis and optimization. Moreover, when considering the traditional approach of converting programs from high level languages to machine code, the target code is meant for the machine, being too cryptic (or low level) for program analysis. Our goal is to design an intermediate, minimal but expressive, core calculus which can be easily analysed and manipulated, and to show that this calculus can handle major language features by translating a significant imperative source language into it. The translation to the core calculus enables us toeasily analyse and optimize the code, while not sacrificing the flexibility and rich characteristic of the source language.
机译:任何源语言的要求都必须具有丰富的功能,并且要简洁明了,以供程序员使用。作为缺点,它通常太复杂而无法分析,从而导致研究忽略了一些奇特的功能。例如,异常处理是编程语言的重要方面,有助于构建具有良好错误处理能力的强大软件。但是,在最初进行程序分析和优化时,通常会忽略一些例外情况。此外,当考虑将程序从高级语言转换为机器代码的传统方法时,目标代码是为机器准备的,对于程序分析而言,它太隐秘(或低级)。我们的目标是设计一种中间的,最小的但可表达的核心演算,可以轻松地对其进行分析和操作,并证明该演算可以通过将重要的命令性源语言转换成主要演算语言的特征来处理。转换为核心演算可以使我们轻松地分析和优化代码,同时又不牺牲源语言的灵活性和丰富的特性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号