Splice: Aspects That Analyze Programs

S Mcdirmid, Wc Hsieh

GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING 2004, PROCEEDINGS(2004)

引用 3|浏览18
暂无评分
摘要
This paper describes Splice, a system for writing aspects that perform static program analyses to direct program modifications. The power of an inter-procedural data-flow analysis enables an aspect to examine the flow of data around a program execution point when it determines what code to add or change at that point. For example, an aspect can change the target set of an iteration based on how elements are skipped during the iteration. Splice aspects are written in a rule-based logic programming language with features that help aspect programmers express analyses. We show how a prototype of Splice is used to write two useful aspects in the areas of domain-specific optimization and synchronization.
更多
查看译文
关键词
data flow,data flow analysis,rule based,program analysis
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要