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
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.