A Compilation and Optimization Model for Aspect-Oriented Programs

A Compilation and Optimization Model for Aspect-Oriented Programs
复制标题

DOI:
10.1007/3-540-36579-6_4
复制
发表时间:
2003-04
期刊:
--
影响因子:
--
通讯作者:
Hidehiko Masuhara;G. Kiczales;Christopher Dutchyn
Hidehiko Masuhara;G. Kiczales;Christopher Dutchyn
中科院分区:
其他
文献类型:
--
作者:
Hidehiko Masuhara;G. Kiczales;Christopher Dutchyn

文献摘要

相似文献

基于面向方面程序设计语言的操作语义,提出了一种基于语义的编译模型。使用部分求值,该模型可以解释编译过程中的几个问题,包括如何在程序文本中找到插入方面代码的位置,以及如何删除不必要的运行时检查。它还说明了在实际编译器中实现的调用上下文敏感切入点(Cflow)的优化。
This paper presents a semantics-based compilation model for an aspect-oriented programming language based on its operational semantics. Using partial evaluation, the model can explain several issues in compilation processes, including how to find places in program text to insert aspect code and how to remove unnecessary run-time checks. It also illustrates optimization of calling-context sensitive pointcuts (cflow), implemented in real compilers.