首页> 外文会议>24th annual ACM conference on object oriented programming, systems, languages and applications 2009 >Enhancing Source-Level Programming Tools with An Awareness of Transparent Program Transformations
【24h】

Enhancing Source-Level Programming Tools with An Awareness of Transparent Program Transformations

机译:具有透明程序转换意识的增强源代码级编程工具

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

摘要

Programs written in managed languages are compiled to a platform-independent intermediate representation, such as Java bytecode. The relative high level of Java bytecode has engendered a widespread practice of changing the bytecode directly, without modifying the maintained version of the source code. This practice, called bytecode engineering or enhancement, has become indispensable in transparently introducing various concerns, including persistence, distribution, and security. For example, transparent persistence architectures help avoid the entanglement of business and persistence logic in the source code by changing the bytecode directly to synchronize objects with stable storage. With functionality added directly at the bytecode level, the source code reflects only partial semantics of the program. Specifically, the programmer can neither ascertain the program's runtime behavior by browsing its source code, nor map the runtime behavior back to the original source code.rnThis paper presents an approach that improves the utility of source-level programming tools by providing enhancement specifications written in a domain-specific language. By interpreting the specifications, a source-level programming tool can gain an awareness of the bytecode enhancements and improve its precision and usability. We demonstrate the applicability of our approach by making a source code editor and a symbolic debugger enhancements-aware.
机译:用托管语言编写的程序被编译为独立于平台的中间表示形式,例如Java字节码。 Java字节码的相对较高级别导致了广泛的做法,即无需修改源代码的维护版本即可直接更改字节码。这种做法被称为字节码工程或增强,在透明地引入各种问题(包括持久性,分布和安全性)时已变得不可或缺。例如,透明的持久性体系结构可通过直接更改字节码以使对象与稳定的存储同步来避免源代码中业务和持久性逻辑的纠缠。通过直接在字节码级别添加功能,源代码仅反映程序的部分语义。具体地说,程序员既无法通过浏览其源代码来确定程序的运行时行为,也无法将运行时行为映射回原始源代码。本文提出了一种方法,该方法通过提供编写的增强规范来提高源级编程工具的实用性。特定领域的语言。通过解释规范,源代码级的编程工具可以了解字节码的增强功能,并提高其精度和可用性。我们通过意识到源代码编辑器和符号调试器增强功能,证明了我们方法的适用性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号